Answer:
Optical
Explanation:
What is an example of static we page?
A. the About Us page
B. the current affairs page
C. the ads in a website
D. the weather ticker
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!
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
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
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,
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
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.
Please help me with this nowwwww!!!!!
In your opinion, what is one BENEFIT of artificial intelligence and should we be scared of the future with super-intelligent artificial intelligence?
Answer:
Benefit: Artificial Intelligence is taking us to ground breaking levels in medicine and science
Negative: As Artificial inTelligence slowly becomes smarter it can take over jobs, which could lead to increased unemployment
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.
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:
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
all of the following are types of education that you can receive at a two year college except
A. transfer
B. apprenticeship
C. developmental
D. career
Answer:
Apprenticeship
Explanation:
Apex, Just took the test
All of the given are types of education that you can receive at a two year college except apprenticeship. The correct option is B.
What is apprenticeship?A new generation of practitioners of a trade or profession can be trained through an apprenticeship program, which combines classroom instruction with on-the-job training.
Apprenticeships can also help professionals get a license to work in a regulated field. A compensated work that allows the employee to learn and develop experience is called an apprenticeship.
Apprentices complete classroom-based learning with a college, university, or training provider for at least 20% of their working hours in addition to their on-the-job training, which results in a nationally recognized qualification.
With the exception of apprenticeship, all of the aforementioned educational options are available at two-year colleges.
Thus, the correct option is B.
For more details regarding apprenticeship, visit:
https://brainly.com/question/779411
#SPJ2
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.
What is a project?
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
We're sorry, but an error has occurred.
Please contact your uPortal administrator and provide the following information:
Your name and user id
What content were you trying to view when this error occurred?
Any other useful information to help reproduce the error
Answer:
this looks pretty good
Explanation:
I would write with it
And we will contact you as soon as possible
a computer can function in the absence of software true or false
Answer:false
Explanation:
riddle
what day of the week does not end in y
Answer:
lol is it tomorrow
Explanation:
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.
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
Imagine that you had to pick a new song for the opening credits for spider man no way home. What song or piece of music would you choose and why?
Answer:
I would choose "Home" by Bebe Rexha, X Ambassadors, and more.
Explanation:
I think this because it talks about your place where you feel safe, a place you can take off the unbearable weight of stress, and more.
Have an amazing day!!
PLEASE RATE AND MARK BRAINLIEST!!!
Creating a single Scanner object in main() and passing the object to other methods is considered good practice because _____
Creating a single Scanner object in main() and passing the object to other methods is considered good practice because to it help to make subsequent reads faster and when a method needs to read user input.
Why do we pass system in Scanner?Scanner class is known to be one that allows the user to take input from console. It helps one to know the java compiler that system input will be given via console(keyboard).
When a method is said to needs to read user input, a good thing to do is to form a single Scanner object in main() and then one has to move that Scanner object to the method.
Learn more about Scanner from
https://brainly.com/question/24937533
When two methods in a class have the same name they are said to be...
answer is overloaded
_______________ 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.
Indonesia is planning to move its capital from Jakarta to the island of Borneo in the hope that the burden of congestion, regular flooding and sinking will be reduced.
Discuss the issues that need to be considered in terms of Ethical; Environmental; Legal and Cultural for both the inhabitants of Jakarta and the Island of Borneo.
This is an essay question I have very little time to complete. First decent answer gets crown.
Answer:
Indonesia's capital has just been relocated from Jakarta to a site within the jungle of Kalimantan on Borneo island after parliament approved the bill. It will strengthen supply chains and place Indonesia "in a more strategic position in world trade routes, investment flows, and technological innovation."
Explanation:
mark as brainiest
Answer:
President Joko Widodo first announced the plan to move Indonesia's capital in 2019, in an effort to relieve the huge environmental challenges facing Jakarta, and to redistribute wealth. Indonesia's legislature on Tuesday passed a bill that creates the legal framework for moving the country's capital from Jakarta — a sinking, congested, polluted and flood-prone megacity with more than 10 million residents — to the jungles of Kalimantan, on Indonesia's portion of the island of Borneo.
Explanation:
hope you like it, brainliest is an option :)
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.
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.
why are wiki's not secure
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