Answer:
A register
Explanation:
Registers are small memory used to store data or values and supply them to the processor as and when needed. These register hold the data temporarily and hold small units of program instructions. So whenever the CPU wants to work on data they have to be made available through the registers. Even after a arithmetic operation the registers serve as buckets for holding the value.
There are different types of registers such as register A, B, C etc and these registers lie in close proximity to the CPU so that we could provide the data immediately and much faster when asked by the CPU.
Therefore we can say that registers are used to temporarily hold small units of program instructions and data immediately before, during, and after execution by the central processing unit (CPU).
What is a project?
riddle
what day of the week does not end in y
Answer:
lol is it tomorrow
Explanation:
In the video game Animal Crossing: New Horizons, villagers are organized by Personality and Hobby.
The 8 Personalities are:
Normal
Lazy
Sisterly
Snooty
Cranky
Jock
Peppy
Smug
The 6 Hobbies are:
Education
Fashion
Fitness
Music
Nature
Playing
Create a program that allows the user to create their own Animal Crossing villager. The user should be able to enter a name, after which the program will choose a random Hobby and Personality for the villager:
"Please enter a Villager Name:
>> Betsy
Betsy is Snooty and into Nature"
The program should store both the Hobbies and Personalities in lists, and when creating a villager it should randomly choose from each list for the personality.
Requirements:
· Both Personalities and Hobbies must be stored in lists
· You must generate a different random number to determine the hobby and personality (that is, don't generate 1 random number and use it for both lists, as that prevents many combinations)
· In randomizing, you should make sure that all combinations are possible (that is, make sure you don't accidentally leave out a personality or hobby from random generation)
· The program shouldn't crash
The video game program is an illustration of randomization and lists
Randomization involves generating random numbers or selecting random optionsLists are variables that hold multiple valuesThe video game programThe video game program written in Python, where comments are used to explain each action is as follows:
#This imports the random package
import random
#This creates a list for personalities
Personality = ["Normal","Lazy","Sisterly","Snooty","Cranky","Jock","Peppy","Smug"]
#This creates a list for hobbies
Hobbies = ["Education","Fashion","Fitness","Music","Nature","Playing"]
#This gets input for name
name = input("Please enter a Villager Name: ")
#This generates a random number for personality
personalityNum = random.randint(0, 7)
#This generates a random number for hobbies
hobbiesNum = random.randint(0, 5)
#This prints the the required output
print(name,"is",Personality[personalityNum],"and into",Hobbies[hobbiesNum])
Read more about Python programs at:
https://brainly.com/question/16397886
How many total numbers can be represented with an 8-bit binary system
Answer:
256
Explanation:
2^8 = 256, i.e. 2 times 2 times 2 times ... etc.
why are wiki's not secure
size = input("Enter your shoe size: ") size = int(size) if size > 12: print(str(size) + " is too high.") elif size < 6: print(str(size) + " is too low.") else: print(str(size) + " is in stock.") What is the output from running the above code if the user enters ten?
Answer:
It will print that the shoe size is in stock when the user prints 10, too high when the user enters 12, and anything less than 6 would be too low. It's a python program describing how basic input data is interpreted.
In a _________ programming language the data type for a variable will not change after it has been declared.
Answer: Your answer to your question is b.strongly typed
Hope this helps!
Which of the following situations is most likely to cause issues arising from the digital divide?
A. A state makes voter registration forms available only by visiting a government website
B. Two internet-connected devices located in different countries and thousands of miles apart attempt to communicate with one another
C. Packets sent from one router to another begin arriving in a different order than they were sent
D. A smartphone attempts to communicate over the Internet with another type of device, like a tablet or laptop
Answer:
A
Explanation:
Saw it on another brainly
_______________ is the practice of using a network of remote servers hosted on the Internet to store, manage, and process data, rather than a local server or a personal computer.
A fair test has many variables.
A.
True
B.
False
Answer:
A. true (unless directly referencing the independent variable)
Explanation:
A fair test usually has a dependent variable, an independent variable, and a controlled variable. Usually you change the independent variable and see how the dependent variable reacts. Controlled variables are variables that don't get changed at all.
If you want to do a fair test, then you usually only change one thing at a time, which would then be the independent variable. If you had multiple independent variables (things that you change), the results might be warped and you couldn't clearly see how changing something affected the dependent variable.
(1) Output a menu of automotive services and the corresponding cost of each service. (2 pts)Ex:Davy's auto shop servicesOil change -- $35Tire rotation -- $19Car wash -- $7Car wax -- $12(2) Prompt the user for two services. Each service type is composed of two strings. (2 pts)Ex:Select first service: Oil changeSelect second service: Car wax(3) Output an invoice for the services selected. Output the cost for each service and the total cost. (3 pts)Davy's auto shop invoiceService 1: Oil change, $35Service 2: Car wax, $12Total: $47(4) Extend the program to allow the user to enter a dash (-), which indicates no service. (3 pts)Ex:Select first service: Tire rotationSelect second service: -Davy's auto shop invoiceService 1: Tire rotation, $19Service 2: No serviceTotal: $19**THIS MUST BE IN THE C LANGUAGE**
Answer:
Follows are the code to this question:
#include <stdio.h>//header file
#include <string.h>//header file
int main()//main method
{
char f_service[100], s_service[100];//defining character array
int total;//defining integer variable
do
{
total = 0;//assign value in total variable
printf("Davy's auto shop services\n");//print message
printf("Oil change -------- $35\n");//print message
printf("Tire rotation ------ $19\n");//print message
printf("Car wash ---------- $7\n");//print message
printf("Car wax ----------- $12\n");//print message
printf("Enter first service: \n");//print message
fgets(f_service, 100, stdin);//use get function for input value
f_service[strlen(f_service) - 1] = '\0';//use length function for calculate total length
printf("Enter second service: \n");//print message
fgets(s_service, 100, stdin);//use get function for input value
s_service[strlen(s_service) - 1] = '\0';//use length function for calculate total length
printf("\nDavy's auto shop invoice\n\n");//print message
if(strcmp(f_service, "Oil change") == 0)//defining if block that check first input Service
{
printf("Service 1: %s, $%d\n", f_service, 35);//print service name with rate
total = total+ 35;//calcaulte value in total variable
}
else if(strcmp(f_service, "Tire rotation")== 0)
{
printf("Service 1: %s, $%d\n", f_service,19); //print service name with rate
total = total + 19;//calcaulte value in total variable
}
else if(strcmp(f_service, "Car wash") == 0)
{
printf("Service 1: %s, $%d\n", f_service, 7);//print service name with rate
total = total + 7;//calcaulte value in total variable
}
else if(strcmp(f_service, "Car wax") == 0)
{
printf("Service 1: %s, $%d\n", f_service, 12); //print service name with rate
total = total + 12;//calcaulte value in total variable
}
else
{
printf("Service 1: Empty\n");//print message
}
if(strcmp(s_service, "Oil change") == 0)
{
printf("Service 2: %s, $%d\n", s_service, 35);//print service name with rate
total= total+ 35;//calcaulte value in total variable
}
else if(strcmp(s_service, "Tire rotation")== 0)
{
printf("Service 2: %s, $%d\n", s_service, 19);//print service name with rate
total = total + 19;//calcaulte value in total variable
}
else if(strcmp(s_service, "Car wash") == 0)
{
printf("Service 2: %s, $%d\n", s_service, 7);//print service name with rate
total = total + 7;//calcaulte value in total variable
}
else if(strcmp(s_service, "Car wax") == 0)
{
printf("Service 2: %s, $%d\n", s_service, 12);//print service name with rate
total= total+ 12;//calcaulte value in total variable
}
else if(strcmp(s_service, " ") == 0)
{
printf("Service 2: No service\n");//print service name with rate
}
else
{
printf("Service 2:No service\n");//print message
}
printf("Total: $%d\n", total);//print total value
}
while(strcmp(s_service, "_"));//defining while that compare second service value
return 0;
}
Output:
Please find the attached file.
Explanation:
In the given C language code, the two-character array "f_service and s_service" and one integer variable "total" is declared, in which character array is used for user input, and the total is used for calculating value.
In the next step, the do-while loop is used, in which we used multiple conditional statements, that check "first and second" both array input value and add values into the total variable.If the first array doesn't take any input value, it will print an "empty" message. Similarly, in the second array, if it can't take any value, it will print a message "No service", and for the exit from the program, we pass the "underscore (_)" symbol.Can cross browsers be tracked or no? I'm not sure because my regular browser on my pc got tracked by a rando so I'm installing a Cross browser but I don't know if it can be tracked.
Researchers have developed a way to track a user across different browsers on the same machine by querying the installed applications on the device. Certain applications, when installed, will create custom URL schemes that the browser can use to launch a URL in a specific application.
Which of the following can be used to enter or display one complete row of information in a range or table without scrolling horizontally? Question 2 options: Create Home External Data Database Tools.
The one which is used to enter or display one complete row of information in a range or table without scrolling horizontally is database tool.
What is Microsoft Excel?Microsoft Excel is the electronic sheet in which the data can be arranged and saved for the future use. This data in a Microsoft excels arranged in the rows and the column of the Microsoft Excel.
The options given in the problem are,
Create-With the help of create tool the, the user can create and control the content.Home-Home menu has many tools to perform different calculations effectively.External Data-The data, which is outside of the sheet, is called the external data. Database Tools-The database tools has the different tools associated with it, to perform the task related to administration. With tool help to enter or display one complete row of information in a range or table without scrolling horizontally is database tool.The one which is used to enter or display one complete row of information in a range or table without scrolling horizontally is database tool.
Learn more about the Microsoft excel here;
https://brainly.com/question/1538272
Answer:
Correct answer is 'Create'
Explanation:
Took the test.
Why is my iphone not notifying me when i receive a text.
Answer:
It's probably on sleep mode.Notifications are off.Something was altered in the settings.Your phone is updating.If none of these are true, try talking to tech support.
Answer:
it depends on the app you are talking about if its something else thats not imessages then check if you havent already and see if the notifications are off and turn them on and
if its on imessages then go to settings and then click on the notifications and click messages and then after click the ensure allow notifications to make it green
Explanation:
Which search strategy explores nodes from the initial state as well as the goal state?
OA. uniform-cost search
OB.
breadth-first search
OC. depth-first search
OD.
bidirectional search
The search strategy explores nodes from the initial state as well as the goal state is bidirectional search.
What is the bidirectional search?This is known to be a type of search that is used when the initial and goal states are found in a problem.
Here, we often search forward and also backwards from the first state and the goal state, we often Stop when they meet the middle and it tend to be faster than unidirectional search.
Learn more about search strategy from
https://brainly.com/question/10055344
unit 9 assignment edhesive
The program is an illustration of functions, that involves a group of code segments that are executed when called or evoked
The calendar programThe calendar program in Python, where comments are used to explain each line is as follows:
#This checks for leap year
def leap_year(y):
if y % 4 == 0:
return 1
else:
return 0
#This returns the number of days in the month
def number_of_days(m,y):
if m == 2:
return 28 + leap_year(y)
elif m == 1 or m == 3 or m == 5 or m == 7 or m == 8 or m ==10 or m == 12:
return 31
elif m == 4 or m == 6 or m == 9 or m == 11:
return 30
#This returns the number of days left in the month
def days(m,d):
dayList = [0,31,59,90,120,151,181,212,243,273,304,334]
return dayList[m-1] + d
#This returns the number of days left in the year
def days_left(d,m,y):
if days(m,d) <= 60:
return 365 - days(m,d) + leap_year(y)
else:
return 365 - days(m,d)
#The main begins here
#This next three lines gets input for date
day=int(input("Day: "))
month=int(input("Month: "))
year=int(input("Year: "))
#This gets the choice from the user
menu=int(input("Press 1 to calculate the number of days in the given month.\nPress 2 to calculate the number of days left in the given year.\nChoice: "))
#This prints the number of days in the month
if menu == 1:
print(number_of_days(month, year))
#This prints the number of days left in the year
elif menu == 2:
print(days_left(day,month,year))
Read more about Python functions at:
brainly.com/question/14284563
The ability to create slide shows is a major advantage of word processing software true or false
Answer:
True
Explanation:
This ability helps in the symbolic development of the word processing software
which of the following best explains how data is typically assembled in packets for transmission over the internet?
Answer:
The Internet works by chopping data into chunks called packets. Each packet then moves through the network in a series of hops. Each packet hops to a local Internet service provider (ISP), a company that offers access to the network -- usually for a fee.Explanation:
Answer:
Do you have options given on the question?
Explanation:
Word processing software programs can run on smartphones.
True
Or
False
Describe who was Alan Turing in 100 words.
First to answer will get brainliest.
Answer:
Alan Turing, in full Alan Mathison Turing, (born June 23, 1912, London, England—died June 7, 1954, Wilmslow, Cheshire), British mathematician and logician who made major contributions to mathematics, cryptanalysis, logic, philosophy, and mathematical biology and also to the new areas later named computer science, cognitive science, artificial intelligence, and artificial life.
Explanation:
Turing was a founding father of artificial intelligence and of modern cognitive science, and he was a leading early exponent of the hypothesis that the human brain is in large part a digital computing machine.Alan Turing was one of the most influential British figures of the 20th century. In 1936, Turing invented the computer as part of his attempt to solve a fiendish puzzle known as the Entscheidungsproblem.
yall like portal 1 or 2
Answer:
i like both, but i personally like portal 2 the most.
Explanation:
Select the correct answer.
John recently worked on a project about various programming languages, He learned that though procedural language programs are useful,
they have disadvantages too. What is a disadvantage of programs written in procedural languages?
OA. Programs do not represent data complexity.
OB. Programs take more time to execute.
OC. Programs are prone to security threats.
OD. Programs do not interface with multiple platforms,
Which statements accurately describe arguments? Check all that apply. Arguments are input values for a function. Arguments are enclosed in parentheses. Arguments are enclosed in brackets. Arguments are numbers, text, cell addresses, ranges, and other functions. Arguments are invisible in the formula bar. Arguments are detailed explanations of absolute and relative cell references.
Answer:
Arguments are input values for a function.
Arguments are enclosed in brackets.
Arguments are numbers, text, cell addresses, ranges and other functions
Explanation:
Arguments are a special kind of instruction to a computer programs in the form of data or variable. Arguments input are independent and they help customize a program for a user. The output for an argument will be displayed based on the set parameters. The arguments can also be in the form of defined codes.
Which statement regarding socializers is true?
Answer:
The answer is: they are comparable to suit of hearts
Explanation:
The answer is: they are comparable to suit of hearts
Being a mason requires a five-year apprenticeship, a program that requires trainees to work for an experienced mason in order to learn the trade. True or False
Being a mason requires a five-year apprenticeship, a program that requires trainees to work for an experienced mason in order to learn the trade is a false statement.
Who is a mason?Mason Apprentice is known to have some skills to carry out some of their responsibilities.
A mason is known to be a profession where one uses bricks, concrete blocks, etc. to build structures such as walls, walkways, etc. Their training is 3 years.
Learn more about program from
https://brainly.com/question/26134656
Create a program that ask the user to enter the number of switches and calculates the
possible outcomes that can come from those many number of switches (on / off).
Follow the steps given below to achieve the desired result:
● Step 1: Get the number of switches from the user and store it in a variable (lets
say switches).
● Step 2: Initialize 3 variables max_poss = 2, i = 1 and power = 1, where,
○ max_poss = 2 denotes the maximum possibile outcome of 1 switch (i.e. on
and off),
○ i is used to set the condition in while loop and it will keep incrementing
unless all the switches are over.
○ power variable is further used to store the result.
● Step 3: Define a while loop with a condition to execute till the value of i is less
than or equal to switches.
● Step 4: Inside the while loop,
○ Multiply the value stored in max_poss with power and store the result in
power.
○ Increment the value of i by 1.
For eg: When switches = 2, In the
1st iteration, power = 2 and in the 2nd iteration, power = 2 * 2 i.e. 4. This indicates that, the
number of possible outcomes = 2switches, where switches denotes the number of
switches.
● Step 5: Print the total number of possible outcomes stored in variable power.
plss help me with this
In python:
switches = int(input("How many switches? "))
max_pos = 2
power = 1
i = 1
while i < switches:
power = max_pos * power
i += 1
print(f"The total number of outcomes is {power}")
I hope this helps!
You can increase the range of a projectile by _____ the launch height.
decreasing
increasing
stabilizing
ignoring
You can increase the range of a projectile by increasing the launch height.
How do you increase the scope of a projectile?The range of a projectile can be increased so as to be able to cover a long distance.
For one to be able to so this, one must increase the range of the velocity of the projectile as the The launch angle is the one that helps to know the range and maximum height of that object.
Learn more about projectile from
https://brainly.com/question/24216590
Identify the part of the information processing cycle described by each of the items below. A student types text into a word processing program. The computer checks and compares all words entered to find misspellings. > The computer shows possible misspellings on the screen. You save the revised document to the hard disk. < CDs and DVDs are examples of DONE 4 of 7
the answers are:
- input
- processing
- output
- storage
- storage
Answer:
- input
- processing
- output
- storage
- storage
Explanation:
When two methods in a class have the same name they are said to be...
answer is overloaded
Which type of protocol provides a way to transfer files from one computer to another over any tcp/ip network, such as a lan or the internet?.
Answer:
FTP (File Transfer Protocol) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections. Within the TCP/IP suite, FTP is considered an application layer protocol.
Explanation:
hope it helps you mark me as brainlist and follow me