Answer:
Rules for naming variables:
- Variable names in Visual C++ can range from 1 to 255 characters. To make variable names portable to other environments stay within a 1 to 31 character range.
- All variable names must begin with a letter of the alphabet or an underscore ( _ ). For beginning programmers, it may be easier to begin all variable names with a letter of the alphabet.
- After the first initial letter, variable names can also contain letters and numbers. No spaces or special characters, however, are allowed.
- Uppercase characters are distinct from lowercase characters. Using all uppercase letters is used primarily to identify constant variables.
- You cannot use a C++ keyword (reserved word) as a variable name.
. Create an abstract Dollar class with two integer attributes, both of which are non-public (Python programmers - it is understood that there is nothing private in Python but try to not access the attributes directly from outside the classes). The int attributes will represent whole part (or currency note value) and fractional part (or currency coin value) such that 100 fractional parts equals 1 whole part.
Answer:
Explanation:
The following code is written in Java. It creates the abstract dollar class that has two instance variables for the dollars and the coins that are passed as arguments. The test output can be seen in the picture attached below.
class Dollar {
int dollars;
double coin;
private Dollar(int dollar, int coin) {
this.dollars = dollar;
this.coin = Double.valueOf(coin) / 100;
}
}
Write a python program to print the square of all numbers from 0 to 10.
Answer:
for i in range(11):
print(i^2)
It goes through printing the square of each number with a range of 11 since 0 is also included
If a 9V, 7W radio is on from 9am to 12pm. Calculate the amount of charge that flows through it, hence or otherwise the total number of free electrons that pass through at a point at the power supply terminals
Answer:
Q=It
and
p=IV
Given, v=9V P= 7W
I=P/V
I =7/9
Also, time(t) from 9am to 12pm is 3hrs
Converting into sec =3×3600
t=10800
Q= 7/9 ×10800
Q =8400C
what is digital literacy? describe three examples of digital literacy skills
Digital literacy means having the skills you need to live, learn, and work in a society where communication and access to information is increasingly through digital technologies like internet platforms, social media, and mobile device
Examples of Digital Literacy skills:
What is digital literacy?
ICT proficiency.
Information literacy.
Digital scholarship.
Communications and collaborations.
Digital learning.
Digital identity.
You are helping a friend in college with his network connection. He would like a high speed connection between his computers so he can play Super Blast with others. In this lab, your task is to complete the following: Choose an appropriate router that will provide security and the fastest local connection. Connect the router to both computers and to the dorm internet connection. Request new TCP/IP information from the router on both computers. Configure Windows Firewall on both computers. Turn on Windows Firewall for both the Private and the Public network profiles. Add an exception for the SuperBlast program only for the Private network profile.
Solution :
Set up the router as follows:
On the Shelf, expand the Routers. And read the description for each of the devices. Drag the Ethernet [tex]$100/1000TX$[/tex] router with the firewall to the Workspace.
Connection of the router as follows:
Above the router, select the Back to switch to the back view of the router. Then select the cable currently connected to the wall plate and then drag it to a [tex]$LAN$[/tex] port on the router. Above the Dorm-[tex]$PC2$[/tex] computer, select [tex]$\text{back}$[/tex] to switch to the back view of the computer. On the Shelf, expand Cables. Select a Cat5e [tex]$RJ45$[/tex] cable. In the Selected Component window, drag the connector to the [tex]$LAN$[/tex] port on the computer. In the Selected Component window, drag the other connector to a [tex]$LAN$[/tex] port on the router. Select a Cat5e [tex]$RJ45$[/tex] cable. In the Selected Component window, drag a connector to the [tex]$WAN$[/tex] port on the router. In the Selected Component window, drag the other connector to the port on the wall plate.
Provide power to the router as follows:
On the Shelf, select the power adapter. In the Selected Component window, drag the DC power connector to the power port on the router. In the Selected Component window, drag the AC adapter connector to the surge protector. Above the router, select Front to switch to the front view to verify power and network activity lights.
Request new [tex]$TCP/IP$[/tex] information from the router for Dorm-PC as follows:
On the [tex]$\text{Dorm-PC}$[/tex] monitor, select Click to view [tex]$\text{Windows 10}$[/tex].In the Search field on the taskbar, enter command prompt. Under Best Match, select Command Prompt. Enter [tex]$\text{ipconfig}$[/tex] /renew and press [tex]$\text{Enter}$[/tex] to request new [tex]$TCP/IP$[/tex] information from the router. In the notification area, right-click the Network icon and select Open Network and Sharing Center. The network information map should indicate an active connection to the Firewall Network and the internet.
Configure Windows Firewall on [tex]$\text{Dorm-PC}$[/tex] as follows:
In Network and Sharing, select Windows Firewall. From the left menu, select Turn Windows Firewall on or off. Under Private network settings, select Turn on Windows Firewall. Under Public network settings, select Turn on Windows Firewall. Click OK.
What yields 2.5? Type casting
Answer:
5.0/2
Explanation:
I don't do Java, but I do Python. I'm pretty sure the answer to this question is 5.0/2. I'm sorry if I'm wrong.
In a multimedia presentation, when might voice-over be a better choice than placing the text on the screen?
when you have very little to say
when your audience is bored
when you have a lot to say
when you don’t want to write
In a multimedia presentation, the option that might be the voice-over when you have a lot to say.
What is multimedia presentation?A multimedia presentation is known to be a presentation where a person is said to often stand by themselves to present information via slides, video, etc.
In a multimedia presentation, the option that might be in the case of voice-over is when you have a lot to say as it is better to put it in a video format.
Learn more about multimedia from
https://brainly.com/question/24138353
#SPJ2
Implement a class Clock whose getHours and getMinutes methods return the current time at your location. (Call java.time.LocalTime.now().toString() and extract the time from that string.) Also provide a getTime method that returns a string with the hours and minutes by calling the getHours and getMinutes methods. Provide a subclass WorldClock whose constructor accepts a time offset. For example, if you live in California, a new WorldClock(3) should show the time in New York, three time zones ahead. Which methods did you override
Answer:
Explanation:
The following code was written in Java. It uses the LocalTime import to detect the current time. Then it creates a getHours, getMinutes, and getTime method to correctly print out only the hours and minutes in a simple format. Then it does the same for the WorldClock subclass which takes in the time offset as an int parameter and adds that to the hours in your own timezone.
class Clock {
public String getHours() {
String hours = java.time.LocalTime.now().toString().substring(0,2);
return hours;
}
public String getMinutes() {
String min = java.time.LocalTime.now().toString().substring(3,5);
return min;
}
public String getTime() {
String time = getHours() + ":" + getMinutes();
return time;
}
}
class WorldClock extends Clock {
int timeZone = 0;
public WorldClock(int timeZone) {
super();
this.timeZone = timeZone;
}
public String getHours() {
String hours = String.valueOf(Integer.parseInt(super.getHours()) + 3);
return hours;
}
public String getTime() {
String time = getHours() + ":" + super.getMinutes();
return time;
}
}
class Test {
public static void main(final String[] args) {
Clock myClock = new Clock();
System.out.println("My Time: " + myClock.getTime());
WorldClock worldClock = new WorldClock(3);
System.out.println("My Time + 3: " + worldClock.getTime());
}
}
You work part-time at a computer repair store. You are building a new computer. A customer has purchased two serial ATA (SATA) hard drives for his computer. In addition, he would like you to add an extra eSATA port that he can use for external drives. In
Install an eSATA expansion card in the computer to add an extra eSATA port for the customer's external drives.
To fulfill the customer's request of adding an extra eSATA port for external drives, you can install an eSATA expansion card in the computer. This expansion card will provide the necessary connectivity for the customer to connect eSATA devices, such as external hard drives, to the computer.
First, ensure that the computer has an available PCIe slot where the expansion card can be inserted. Open the computer case and locate an empty PCIe slot, typically identified by its size and the number of pins. Carefully align the expansion card with the slot and firmly insert it, ensuring that it is properly seated.
Next, connect the power supply cable of the expansion card, if required. Some expansion cards may require additional power to operate properly, and this is typically provided through a dedicated power connector on the card itself.
Once the card is securely installed, connect the eSATA port cable to the expansion card. The cable should be included with the expansion card or can be purchased separately if needed.
Connect one end of the cable to the eSATA port on the expansion card and the other end to the desired location on the computer case where the customer can easily access it.
After all connections are made, close the computer case, ensuring that it is properly secured. Power on the computer and install any necessary drivers or software for the expansion card, following the instructions provided by the manufacturer.
With the eSATA expansion card installed and configured, the customer will now have an additional eSATA port available on their computer, allowing them to connect external drives and enjoy fast data transfer speeds.
For more question on computer visit:
https://brainly.com/question/30995425
#SPJ8
A client is
a computer that is disconnected from the network.
the same as a server.
a computer that requests a service.
a router.
Answer:
a computer that requests a service.
Answer:
A computer that requests a service
Explanation:
In computing, a client is a piece of computer hardware or software that accesses a service made available by a server as part of the client–server model of computer networks. The server is often (but not always) on another computer system, in which case the client accesses the service by way of a network.
plz mark as brainliest
Which of the following is necessary to appreciate features provided by software applications?
a package
O a basic understanding
O a basis of comparison
O coding concepts
Answer: a basic understanding
Explanation:
In other to appreciate the features that an application has, one must have a basic understanding of what the software is meant to do. That way, when the software does this duty, the person will recognize it and appreciate the software.
For instance, a person who does not understand the basic premise of Quickbooks will not be able to appreciate the various features provided by Quickbooks to make accounting easier for small to medium businesses.
what does ICT stand for?
Information Communication Technology
ICT stands for 'Information Communication Technology'. Everyday usage of digital technology includes when you use a computer, tablet or mobile phone, send email, browse the internet, make a video call - these are all examples of using basic ICT skills and technology to communicate.
Four major communication points
Answer:
Reading, writing, speaking, and listening are basic communication skills necessary for effective communication
Explanation:
I hope its right
arrange the following numbers from the highest to the lowest. ⅔,-7,0. no file or photo
Answer:
2/3, 0, -7
Explanation:
“What is an example of the vocabulary word foreshadow?” This question could be a
a.
Potential question
c.
Flashcards question
b.
Vocabulary definition
d.
Both A and C
Please select the best answer from the choices provided
A
B
C
D
Answer:
D) Both A and C
Explanation:
Answer:
D
Explanation:
Bro how the hell do u do full screen on windows
(LAPTOP. NOT PC.)
f11 does not work, does anyone have a solution?
Answer:
You'll need to hold down/click f11 and fn at the same time.
If not that, try ctrl + shift + f5.
I can guarantee the first works; not too sure about the second.
Explanation:
Well, it's hotkeys, so...
EDIT: The f5 command does nothing related to full screen, my bad.
Answer:
f11 should work just hold it down or restart your computer and try it again
Explanation:
c program that calculates the summation of integers from one to N. Allow the user to input an integer, then pass that number to a function that will calculate the sum of all integers up to N. For example, if the user inputs the number 5, then the function will return the sum 1 2 3 4 5. Allow the user to enter multiple integers, calling the function for each number. Use a sentinel value or similar method to terminate user input.
Answer:
Answered below.
Explanation:
#include <studio.h>
#include<conio.h>
void main(){
int I = 0;
int sumOfNumbers = 0;
int number;
printf("Input an integer: ");
("%d", &sumOfNumbers);
//Loop over while adding numbers
while(I <= number){
sumOfNumbers = sumOfNumbers + I;
I++;
}
printf("\n Sum of N numbers is: %d", sumOfNumbers);
getch();
}
Christopher was looking at the TV while getting feedback on his opinion essay. What should he do differently? Don't get feedback from a trusted adult. Finish watching his TV show. Make sure the trusted adult likes the show on TV, too. Turn off the TV and face the person who is speaking.
Answer:
Turn off the TV and face the person who is speaking.
Create another method: getFactorial(int num) that calculates a Product of same numbers, that Sum does for summing them up. (1,2,3 ... num) Make sure you use FOR loop in it, and make sure that you pass a number such as 4, or 5, or 6, or 7 that you get from a Scanner, and then send it as a parameter while calling getFactorial(...) method from main().
Answer:
The program in Java is as follows;
import java.util.*;
public class Main{
public static int getFactorial(int num){
int fact = 1;
for(int i =1;i<=num;i++){
fact*=i;
}
return fact;
}
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Number: ");
int num = input.nextInt();
System.out.println(num+"! = "+getFactorial(num)); }}
Explanation:
The method begins here
public static int getFactorial(int num){
This initializes the factorial to 1
int fact = 1;
This iterates through each digit of the number
for(int i =1;i<=num;i++){
Each of the digits are then multiplied together
fact*=i; }
This returns the calculated factorial
return fact; }
The main begins here
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
This prompts the user for number
System.out.print("Number: ");
This gets input from the user
int num = input.nextInt();
This passes the number to the function and also print the factorial
System.out.println(num+"! = "+getFactorial(num)); }}
You are a Data Scientist at Anthem Blue Cross Blue Shield. You want to check if a patient will develop diabetes. Please write the R code to split the dataframe into test and training data. The proportion of split is 85/15, and the sample stratification needs to be done on the variable - age.
Answer:
666
Explanation:
You are a Data Scientist at Anthem Blue Cross Blue Shield. You want to check if a patient will develop diabetes. Please write the R code to split the dataframe into test and training data. The proportion of split is 85/15, and the sample stratification needs to be done on the variable
What should a valid website have?
Select one:
a. Cited sources, copyright, and a clear purpose
b. Cited sources, copyright, and a poor design
c. Cited sources, copyright, and colorful images
d. Cited sources, no copyright, and a broad purpose
Answer:
A. cites sources,copyright,and a clear purpose
PLEASE ANSWER SOON I NEED IT TODAY
If you plan on operating several applications at a time, the amount of RAM should be considered when purchasing a computer.
a. True
b. False
Answer:
true
Explanation:
true because the more ram the more efficient the computer can run, but also depends on what applications you're running.
Write a recursive method called sumTo that accepts an integer parameter n and returns a real number representing the sum of the first n reciprocals. In other words, sumTo(n) returns (1 1/2 1/3 1/4 ... 1/n). For example, sumTo(2) should return 1.5. The method should return 0.0 if it is passed the value 0 and throw an IllegalArgumentException if it is passed a value less than 0.
Answer:
Sorry mate I tried it was wrong
Explanation:
Sorry again
Multimedia Presentation: Mastery Test
Select the correct answer.
Helen wants to use actual voice testimonials of happy employees from her company in her presentation. What is the best way for her to use these
testimonials in the presentation?
OA. She can provide a link in her presentation where the audience can listen to the testimonials.
She can ask the employees to write down their thoughts for the presentation.
She can record the testimonials directly in her presentation.
D. She can read out the testimonials from a transcript.
B.
O C.
Reset
>
Next
The best way for Helen to use actual voice testimonials of happy employees from her company in her presentation is A) She can provide a link in her presentation where the audience can listen to the testimonials.
Using actual voice testimonials adds authenticity and credibility to Helen's presentation.
By providing a link, she allows the audience to directly hear the employees' voices and genuine expressions of satisfaction.
This approach has several advantages:
1)Audio Engagement: Listening to the testimonials in the employees' own voices creates a more engaging experience for the audience.
The tone, emotions, and enthusiasm conveyed through voice can have a powerful impact, making the testimonials more relatable and persuasive.
2)Employee Representation: By including actual voice testimonials, Helen gives her colleagues an opportunity to have their voices heard and to share their positive experiences.
This approach emphasizes the importance of employee perspectives and allows them to become active participants in the presentation.
3)Convenience and Accessibility: Providing a link allows the audience to access the testimonials at their own convenience.
They can listen to the testimonials during or after the presentation, depending on their preferences.
It also allows for easy sharing and revisiting of the testimonials.
4)Time Management: Including voice testimonials via a link enables Helen to efficiently manage the timing of her presentation.
She can allocate the appropriate time for other aspects of her talk while still giving the audience access to the full testimonials, without the need to rush or omit important information.
For more questions on presentation
https://brainly.com/question/24653274
#SPJ8
Create a function that returns a dictionary containing the number of upper and lower case characters in a string (e.g. {'lower': 8, 'upper': 2}). Ignore whitespace characters. Your function should be able to handle an empty string, though.
Answer:
Explanation:
The following is written in Python and takes in the input string, then loops through it counting all of the upper and lower case letters and adds it to the dictionary.
string = input("input string: ")
upper_case = 0
lower_case = 0
for char in string:
if char.isupper() == True:
upper_case += 1
elif char == ' ':
pass
else:
lower_case += 1
letter_dict = {'upper_case': upper_case, 'lower_case': lower_case}
Project Description:
In the following project, you will edit a worksheet that will be used to summarize the operations costs for the Public Works Department.
Instructions:
For the purpose of grading the project you are required to perform the following tasks:
Step Instructions Points Possible
1. Start Excel. Download and open the file named go16_xl_ch03_grader_3g_hw.xlsx. 0.000
2. In the Expenses worksheet, calculate row totals for each Expense item in the range F5:F9. Calculate column totals for each quarter and for the Annual Total in the range B10:F10. 8.000
3. In cell G5, construct a formula to calculate the Percent of Total by dividing the Annual Total for Salaries and Benefits by the Annual Total for Totals by Quarter. Use absolute cell references as necessary, format the result in Percent Style, and then Center. Fill the formula down through cell G9. 12.000
4. Use a 3-D Pie chart to chart the Annual Total for each item. Move the chart to a new sheet and then name the sheet Annual Expenses Chart. 8.000
5. For the Chart Title, type Summary of Annual Expenses and format the chart title using WordArt Style Fill - Blue, Accent 1, Shadow. Change the Chart Title font size to 28. 6.000
6. Remove the Legend from the chart and then add Data Labels formatted so that only the Category Name and Percentage display positioned in the Center. Change the Data Labels font size to 12, and apply Bold and Italic. 8.000
7. Format the Data Series using a 3-D Format effect. Change the Top bevel and Bottom bevel to Circle. Set the Top bevel Width and Height to 50 pt and then set the Bottom bevel Width and Height to 256 pt. Change the Material to the Standard Effect Metal.
Note, the bevel name may be Round, depending on the version of Office used. 4.000
8. Display the Series Options, and then set the Angle of first slice to 125 so that the Salaries and Benefits slice is in the front of the pie. Select the Salaries and Benefits slice, and then explode the slice 10%. Change the Fill Color of the Salaries and Benefits slice to a Solid fill using Green, Accent 6, Lighter 40%. 4.000
9. Format the Chart Area by applying a Gradient fill using the Preset gradients Light Gradient – Accent 4 (fourth column, first row). Format the Border of the Chart Area by adding a Solid line border using Gold, Accent 4 and a 5 pt Width. 6.000
10. Display the Page Setup dialog box, and then for this chart sheet, insert a custom footer in the left section with the file name. 4.000
Answer:
pelo o que diz na database é que você n é ser humano normal por perguntar isso!!
Question 5/20
00:07:27
Agile Teams need to comply by the Agile Values and Principles but have flexibility to choose appropriate value-adding practices
Select the correct option(s) and click Submit.
True
False
SUBMIT
Explanation:
True. Is the true answer
What are the two functions in C that allow a programmer to randomly move the file cursor within a file stream, thus enabling random access. Please write down the names of the two functions and separate them by a comma only. As an example, assume the two functions are abc, and abe, you will write down your answer as abc,abe
Answer:
seekp(),tellp()
Explanation:
The two functions in c ++ that allow a programmer to randomly move the file cursor within a file stream are : seekp(),tellp()
The functions place cursor in file stream and also access the values
Increase the value of cell c30 by 15%
To increase the value of cell C30 by 15%, you can multiply the current value of C30 by 1.15.
To increase the value of cell C30 by 15%, you can follow these steps. First, multiply the current value of C30 by 0.15 to calculate 15% of the value. Then, add this calculated amount to the current value of C30. This can be expressed as C30 + (C30 * 0.15). For example, if the current value of C30 is 100, you would perform the calculation 100 + (100 * 0.15) to get the increased value. In this case, the result would be 115. This method ensures that the value in cell C30 is increased by 15% while retaining the existing value. Adjusting calculations accordingly based on the desired value and spreadsheet software used will allow you to increase the value of cell C30 by 15%.For more such questions on Cell C30:
https://brainly.com/question/31706410
#SPJ8
A student repeated the Styrofoam ball experiment. This time, the student rubbed the plastic rod on the cat's fur, but also rubbed the Styrofoam ball on the fur. How would the outcome of the investigation change if both objects were rubbed on the cat's fur? Use evidence and scientific reasoning to support your answer. Be sure to describe the charges and field interactions for both objects.
Answer:
Electrostatically charged rods. When you rub the plastic rod (polyethylene terephthalate, glycol modified, or PETG) with the wool cloth, the rod charges negative. When you rub the glass rod with the silk, the rod charges positive. ... The Coulomb, the unit of electrostatic charge, is named after him.
Explanation: i think
Answer:Electrostatically charged rods. When you rub the plastic rod (polyethylene terephthalate, glycol modified, or PETG) with the wool cloth, the rod charges negative. When you rub the glass rod with the silk, the rod charges positive. ... The Coulomb, the unit of electrostatic charge, is named after him.
Explanation:Electrostatically charged rods. When you rub the plastic rod (polyethylene terephthalate, glycol modified, or PETG) with the wool cloth, the rod charges negative. When you rub the glass rod with the silk, the rod charges positive. ... The Coulomb, the unit of electrostatic charge, is named after him.