Read the code below.
What will the computer print if the input for year_variable is 1700?
if year_variable == 1776:
print("Your answer is correct. The Declaration of Independence was signed in “year_variable”.")
elif year_variable 1776: compute_variable = year_variable - 1776
print("Subtract “compute_variable” years from your answer for the correct answer.")

Your answer is incorrect. The Declaration of Independence was signed in 1776.
Subtract 76 years from your answer for the correct answer.
Add compute_variable years to your answer for the correct answer.
Add 76 years to your answer for the correct answer.


PLEASE EXPLAIN HOW YOU GOT IT

Answers

Answer 1

Answer:

D. Add 76 years to your answer for the correct answer.

Explanation:

Write the code in python and make year_variable= 1700

Since the input value is 1700, it is less than 1776. This means the elif year_variable < 1776:

would run. This line of code makes whatever the input value is to be subtracted from 1776, then produce an answer labeled as "compute_variable"

This "compute_variable" is then shown to be in a print function, where it says to add whatever the compute variable is to the input, to get the correct answer.

Answer 2

Answer:

The answer is D.

Explanation:

Hope it helps! =D got it on edge


Related Questions

The process of checking data for validity and integrity before placing it in a data warehouse is called Group of answer choices reformatting data cleaning data integration viewing

Answers

Answer:

data cleaning

Explanation:

Data cleaning exemplifies the process which includes identifying the incorrect, or inaccurate data from the records. It further proceeds its function in correcting and replacing the correct data in the records or database. By adding information, by deleting incorrect information and modifying the incorrect information are some of the ways by which data cleaning is done.

The __________ process is designed to find and document vulnerabilities that may be present because there are misconfigured systems in use within the organization. a. ISP b. PSV c. SVP d. ASP

Answers

Answer:

Isp

Explanation:

An Internet service provider is an organisation that provides services for accessing,

using, or participating in the Internet. Internet service providers can be organised in

various forms

The platform security validation (PSV) procedure is made to identify and record vulnerabilities that can exist as a result of incorrectly configured systems being used by the company. Thus, option B is correct.

What PSV process is designed to find and document?

The preparedness and review domain's major objective is to maintain the information security program's intended functionality and ongoing improvement.

An organization that offers services for utilizing, accessing, or engaging on the Internet is known as an Internet service provider. There are several ways that internet service providers might be organized.

Therefore, The PSV process is designed to find and document vulnerabilities that may be present because there are misconfigured systems in use within the organization.

Learn more about PSV here:

https://brainly.com/question/22444527

#SPJ5

if lain and Wi-Fi were to go out at the same would the circuit break

Answers

Answer:

yes and no because the LAN circuit would stop the connection and the Wi-Fi circuit would fry

what is the types of the structured programming

Answers

Answer:

I guess 1 3 4 options are true.....

I think 1,3,4 is true thank me tomorrow

Which best described most television in the 1940s and 1950s? color cable 24 hour black and white

Answers

Answer:

The answer is "black and white".

Explanation:

During this period of live TV output in the United States, from the late 1940s to late 1950, the era between the 1940s and 1950s is often regarded as the first Golden Age of Television.  

It is the monochrome broadcast tv signal transmission and reception system. At the end of the 1940s, in 50 major cities, there were 98 commercial tv channels. TV sets costs also reduced by 1949.

"An internal system behind a firewall needs to be configured for remote access. How should Network Address Translation be configured?"

Answers

Answer:

The appropriate answer will be "Port forwarding ".

Explanation:

Port forwarding seems to be a network security strategy whereby a gateway or equivalent system communicates all intercepting communication/traffic from a specific address to some of the same port on just about any interior single node.This allows the connection of an entity in this context device that is connected to an inner reference node/port usually connecting to Internet infrastructure as well as an internal private local area network.

Mention any three features of an antivirus software? ​

Answers

Answer:

Real-time Scanning

Automatic Updates

Protection for Multiple Apps

Auto-Clean

Fights Against All Types of Malware

HOPE I HELPED

PLS MARK BRAINLIEST  

DESPERATELY TRYING TO LEVEL UP

✌ -ZYLYNN JADE ARDENNE

JUST A RANDOM GIRL WANTING TO HELP PEOPLE!

                     PEACE!

The three attributes of antivirus software include auto-cleaning, automatic updates, and real-time scanning.

The information regarding the three attributes of antivirus software is as follows:

The work of the antivirus software discovered malicious software. In the auto-cleaning, it rid of the viruses that could come in the laptops.In real-time scanning, it regularly checks whether there is any malicious software or not due to this the laptop does not damage.The antivirus software required regular updates so that they could track the new threats if any also at the same time it protects your laptops.

Therefore we can conclude that the three attributes of antivirus software include auto-cleaning, automatic updates, and real-time scanning.

Learn more about the software here: brainly.com/question/15937118

Given an array, x of references to objects that implement the Comparable interface, two int variables k and j that contain valid indices to x, write some statements that exchange (or swap) the contents of the elements referenced by the integers.

Answers

Answer:

Following are the code to this question:

Comparable t; //defining interface variable t

t = x[k]; //use t variable that holds array value

x[k] = x[j]; //use array to store x[j] value

x[j] = t;//use x[j] to assign value in the t

Explanation:

In the given question it is already defined " x" is an array that is the reference object, that defines the Comparable interface "t", and in the next line, two integer variable "k and j"  is defined, that swap the values.  

In the above code, the Comparable interface "t" is defined, which uses the t variable to store array x[k] value, and x[k] stores the x[j] value, and x[j] stores t value, and perform the swapping.

Which of the following is true about STEM education? STEM education is focused on understanding rather than applying scientific concepts. STEM students are told to focus on a subject area and work within a certain specific field. STEM students are encouraged to blend and expand their knowledge of all four subject areas. STEM education prepares students to work in science- and math-related jobs.

Answers

Answer:

C). STEM students are encouraged to blend and expand their knowledge of all four subject areas.

Explanation:

STEM education is characterized as a learning and development approach that focuses upon an amalgamation of four subject areas including science(S), technology(T), engineering(E), and Mathematics(M). Thus, each letter stands for a subject domain and this integration of four subjects primarily aims to 'blend and expand the knowledge of the students in these areas' integratively. It helps in developing and sustaining the interests of young learners through this integrated approach which also assists them with unique opportunities. Thus, option C is the correct answer.

The answer is:

D) STEM students are encouraged to blend and expand their knowledge of all four subject areas.

Disk ___________________ helps improve the speed and efficiency of a hard disk.

Answers

Disks “Response Time” and “Disks Throughput” have great impact on speed and efficiency of a hard disk.

Answer:

Defragmentation

Explanation:

PLATO - correct answer

when classified information is in an authorized individuals hands, why should the individual use a classified document coversheet

Answers

Answer:

Following are the answer to this question:

To inform holders of the existence of data.  To avoid misuse by unapproved employees of confidential information.

Explanation:

The classified information is also known as sensitive information, which is access to specific classes of individuals is constrained by rule or policy. It manages the classified documents or accesses the data.

It's also a formal security clearance, that has been required for the satisfying background research that is needed for the screening process.It tells the owners that confidential data is provided and avoid accidental disclosure by the unauthorized staff of classified information.

Which of the following statements are true about the Internet?
1 - The Internet connects devices and networks all over the world
II - The Internet helps people collaborate to solve problems
III - The Internet helps people communicate
IV - There are no negative consequences of the Internet, it is purely positive

Answers

1, 2, and 3 are true

If you're under 18 and you receive _____ or more license points in 12 months, you'll be restricted to driving only to school or work for one year.

Answers

Answer:

B:6

Explanation:

FLVS :)

Answer: 6 is the correct answer

A ________ uses multiple systems to attack one or more victim systems or websites with the intent of denying service to legitimate users wishing to log on or utilize the attacked server.

Answers

Answer: Botnet

Explanation:

You can expect to see ________.
A. STOP signs or traffic lights on limited access highways
B. only traffic lights on limited access highways
C. only STOP signs on limited access highways
D. no STOP signs or traffic lights on limited access highways

Answers

Answer:

You can expect to see no stop signs or traffic lights on limited access high way.

Controlling the physical world with sensors and digital devices depends on bandwidth and the ability to analyze data in real time. Select one: True False

Answers

Answer:

The answer is "True".

Explanation:

A sensor is a tool, that senses environmental changes, and reacts to the certain activity of the other machine. It converts a physical event through an analog or sometimes an electronic signal, which is translated or displayed for reading and further analysis.

It also controls the bandwidth and also the ability to analyze information in real-time rely mostly on physical universe monitoring with sensors, that's why it is true.

Define stubs for the functions get_user_num() and compute_avg(). Each stub should print "FIXME: Finish function_name()" followed by a newline, and should return -1. Each stub must also contain the function's parameters.

Answers

Answer:

Following are the code to this question:

def get_user_num():#defining a method

   return -1#return value -1

def compute_avg(n1, n2):#defining method compute_avg that accepts two parameters  

   return -1#return value -1

user_num1 = user_num2= get_user_num()#defining user_num1 and user_num2 variable that calls method get_user_num

avg_result = compute_avg(user_num1, user_num2)#defining avg_result that calls compute_avg method and store its value

print('The average value is:', avg_result)#use print method to call avg_result

Output:

The average value is: -1

Explanation:

In the given python code,  two methods "get_user_num and compute_avg" is defined, in which the second method "compute_avg" accepts two parameters that are "n1 and n2", and both methods will return its value, that is "-1".

In the next step, "user_num1 and user_num2" is defined, that calls method "get_user_num" and stores its value, and the variable avg_result is defined, which calls the "compute_avg" method and stores its value and use the print method is defined, that calls its value.

An algorithm is defined as a well-ordered collection of unambiguous and effectively computable operations that when executed produce a result and halt in a finite amount of time. In one sentence or less, what does it mean to be effectively computable

Answers

Answer:

to be effectively computable, the person is definite, explicit and 'mechanical'.

Which of the following options allow you to access a computer remotely? Check all that apply.

Answers

What are the options?

Use the drop-down menus to explain how Angelina
should complete this process.
What is her next step?
What should she do next?
What should she do last?

Answers

Answer: what is her next step: click page number

What should she do next: click current position

What should she do last: click plain number 1

Explanation:

Answer:

A, C, B

Explanation:

Measurement consists of:__________

a. the assignment of numbers (representing quantities of attributes) to objects or events according to rules.
b. using a given scale to make comparisons.
c. determining the frequency of a particular attribute.
d. assigning numbers solely for identification purposes.

Answers

Answer:

The answer is choice "a".

Explanation:

Measurement is a number allocation in which the entity or event attributes that would be comparable with other objects or events. Its scope and implementation depending on context and discipline.  

Its main purposes could be defined as measurements for efficiency, tracking, health, fitness (design, mounting), and solving problems.  Its calculation consists of the numerical assignment, representing attribute amounts according to the rules for objects and events.

The network layer of the Internet model uses the _____________ protocol to route messages though the network.

Answers

Answer:

Capa de Internet. La capa de Internet, también conocida como capa de red o capa IP, acepta y transfiere paquetes para la red. Esta capa incluye el potente Protocolo de Internet (IP), el protocolo de resolución de direcciones (ARP) y el protocolo de mensajes de control de Internet (ICMP).

Explanation:

Which definition of AI do you like best? How would you define AI? Let's first scrutinize the following definitions that have been proposed earlier: "cool things that computers can't do" machines imitating intelligent human behavior autonomous and adaptive systems Your task: Do you think these are good definitions? Consider each of them in turn and try to come up with things that they get wrong - either things that you think should be counted as AI but aren't according to the definition, or vice versa. Explain your answers by a few sentences per item (so just saying that all the definitions look good or bad isn't enough). Also come up with your own, improved definition that solves some of the problems that you have identified with the above candidates.

Explain with a few sentences how your definition may be better than the above ones?

Answers

Answer:

1. "Cool things that computers can't do"

AI is Artificial Intelligence, which can involve anything from robots to programs on computers/websites. Sure, AI can learn things and adapt in ways unlike computers, but they are still quite similar in the fact that they both are technology.

2. "Machines imitating intelligent human behavior"

This is a bit closer to the definition of AI. However, AI does not necessarily have to imitate humans - rather, it's most known for being able to adapt and learn (which is the part where this definition is correct). Also, our current AI is nowhere near the level of mimicking intelligent human behavior enough to fool us.

3. "Autonomous and adaptive systems"

This is, by far, the best definition given here yet. Most AI are autonomous and/or adaptive systems, used to automate tasks which would take time for us humans. I suppose one thing that could be wrong with it is that not all AI are made to be autonomous systems.

Write a method mirror that accepts an ArrayList of Strings as a parameter and produces a mirrored copy of the list as output, with the original values followed by those same values in the opposite order. For example, if an ArrayList variable called list contains the values ["a", "b", "c"], after a call of mirror(list); it should contain ["a", "b", "c", "c", "b", "a"].

Answers

Answer:

Here is the JAVA program:

private static void mirror(ArrayList<String> list) { // method mirror that accepts ArrayList of Strings as a parameter

       for (int i = list.size() - 1; i >= 0; i--) {//iterates through the array list

           list.add(list.get(i));        } //produces a mirrored copy of the list

       System.out.println(list);    } ///prints the mirrored copy of list

Explanation:

This is the complete program:

import java.util.ArrayList; //to use dynamic arrays

public class MirroredArraylist{

private static void mirror(ArrayList<String> list) {    //method to produce mirrored copy of the list

       for (int i = list.size() - 1; i >= 0; i--) {  /          

           list.add(list.get(i));        }            

       System.out.println(list);    }

public static void main(String[] args) {    

     ArrayList<String> list = new ArrayList<String>();//creates a String type array list  

//adds values to the Arraylist i.e list

               list.add("a"); .

               list.add("b");

               list.add("c");        

       mirror(list); }} //calss mirror method passing list to it

The method works as follows:

For loop variable i is initialized to the list.size() - 1 which means 1 less than the size of the ArrayList i.e list. For example the list contains the following values ["a", "b", "c"]. So

i = list.size() - 1

 = 3-1

i = 2

so i is set to the last element/value of list i.e. "c"

Then the for loop checks if the value of i is greater than or equals to 0 which is true because i = 2

So the program control enters the body of the for loop

list.add(list.get(i)); This statement has two methods; add() and get()

add() method is used to add the value/element to the ArrayList, list.

get() method is used to get the element/value in list at i-th index

So the element at i=2 means element at 2nd index is "c"

Hence value "c" is added to the list.

Then the value of  i is decremented to 1. So i=1

At next iteration

i is set to the second last element/value of list i.e. "b"

Then the for loop checks if the value of i is greater than or equals to 0 which is true because i = 1

So the program control enters the body of the for loop and gets the value of list i.e "b" and adds it to the list. Next the value of "a" is get and added to the list. So the list becomes:

["c", "b", "a"]

In the main() method

               list.add("a"); .

               list.add("b");

               list.add("c");    

The above three statements adds the values to list that are "a", "b" and "c". So the list becomes:

["a", "b", "c"]

Next statement mirror(list); calls the method mirror which returns the mirrored copy of the list. So the output is:

["a", "b", "c", "c", "b", "a"].

The screen shot of the program along with its output is attached.

The #elif and #else directives are provided as shorthand notation for the #if defined(name) and #if !defined(name).


True


False

Answers

Answer:

The answer is "False".

Explanation:

The shorthand notation operator is a quick way of expressing something, that can be accessed only in Java. In this, no function within computer programming language was introduced by shorthand procedures.  In the given question, else and elif block were used, in which elif block used in python, that's why the given statement is false.        

Which protocol enables the secure transfer of data from a remote PC to a server by creating a VPN across a TCP/IP network

Answers

Answer:

"Point-to-Point Tunneling Protocol" is the right choice.

Explanation:

PPTP seems to be a service provider protocol which provides the protected processing of information from some kind of different client to something like an application framework through the creation of a VPN around through TCP/IP databases. It perfectly captures PPP transactions for transmission and storage and perhaps other standard TCP/IP based connections through Ip packets.

the_______ is a documents , spreadsheet or database that contain personalized information or data base such as name address phone number​

Answers

Answer:

Is called "data source"

the data source is the answering o

Which of the following statements is true?
1. Computers have only been around since the 1940's
II. One reason computers were first developed was to do mathematical computations faster
III. Some modern computers include laptops, cell phones, and tablets
IV. Computers are able to perform tasks by using logic

Answers

Answer: The correct answer is II, III, and IV.

Explanation: The correct answer is 2,3,4. Number 1 is wrong because computers were made in 4000BC. II is right because since the beginning of time. Hand made computers were used more as of caculators. III is right because laptops, cell phones, tablets and even toys all have digital coding that originated since 1940 when the first digital computer was made. IV is right partially. Computers do certain tasks set by humans and use's logic to complete them. (Depends). II, III, IV, are the correct answers

What do we call the time it takes for all of the sub-pixels on the panel to go from pure black to pure white and black again

Answers

Answer:

response rate

Explanation:

The term being described in the question is known as the response rate. In other words, this is the amount of time it takes for your monitor to shift from one color to another. This is data tends to be measured in milliseconds with the average response times of typical LCD monitors being ten milliseconds (10ms) and the fastest response times of higher-end displays being as fast as one millisecond (1ms)

With _____, human thinking and problem-solving is performed by a machine, including learning, reasoning, and self-correction. wearable technologies quantum computers artificial intelligence Moore's Law

Answers

Answer:

THE ANSWER IS B

Explanation:

Other Questions
Which of the following apply to surgery using a scope (e.g., a laparoscope or arthroscope)? Check all of the boxes that apply. minimally invasive noninvasive lower risk of infection less pain and faster recovery times higher costs a surgeon is no longer necessary What was the effect of discovery of quinine in the 1820s?It gave Europeans a tool to treat illness in tropical areas, and then be able to colonize those areas.It forced European nations to expand their armies and navies.It promoted industrialization in smaller countries across Europe.It led to European advancements in astronomy and physics. f=d+e+f i need help solving this i have to solve for f Using a thesaurus, look up the noun Bible. From the following list of words, choose two synonyms for it. belief adoration Holy Writ devotion convert dependence Scripture disciple book what does it mean to be a stranger in a village Which section of "Life on theMississippi" by Mark Twainbest paints a picture of themixed emotions present aftera scuffle?A. section 68B. section 86C. section 93 how to write what do u do from morning until u go to bed in spanish What does CS mean? idk Find the measure of KM. A. 9 B. 10 C. 14 D. 12 A 35 foot tree casts a 13 foot shadow. What is the degree of elevation for the sun? LSAT test scores are normally distributed with a mean of 152 and a standard deviation of 10. Find the probability that a randomly chosen test-taker will score 142 or lower. (Round your answer to four decimal places.) Give five difference between manometer and barometer A solid oblique pyramid has a regular hexagonal base with an area of 54StartRoot 3 EndRoot cm2 and an edge length of 6 cm. Angle BAC measures 60. A solid oblique pyramid has a regular hexagonal base with an area of 54 StartRoot 3 EndRoot centimeters squared and an edge length of 6 centimeters. Point B is the apex and point A is the center of the hexagon. Point C is a corner of the hexagon. Triangle A B C is formed. Angle A is 60 degrees and angle C is 90 degrees. What is the volume of the pyramid? 72StartRoot 3 EndRoot cm3 108StartRoot 3 EndRoot cm3 324 cm3 486 cm3 Scenario #3 For a lab, you need to make a 10 ml solution using 2.5 grams of salt dissolved in water. 1) List the lab equipmentthat will you need? 2) Choose the correct order of steps (procedure) from below that you will follow for weighing out the 2.5 gof salt. 1. Add the salt to the weigh boat. 2. Measure 10 ml of water. 3. Put the empty weigh boat on the balance. 4. Put the saltdirectly on the balance. 5. Press the tare or zero button on the balance. 6. Turn on the balance. what are the next 2 terms in the sequence? 1,4,13,40,121 compare and contrast the philosophies of constitutionalism and the divine right of kings. Find the value of x. A. 52/2 B. 5 C. 10 D. 102 Pedro y Luis tienen 20 aos.EllosNosotrosIEllaHelp pleasere (01.01 MC) Look at the images and note which body part the arrow is pointing to. Then match the image with the correct form of the adjective. (4 points) a 1. closeup image of half of a mans face with a ruby colored eye c 2. two dogs with ruby colored tongues d 3. boy pointing at ruby colored nose b 4. closeup image of female ruby colored lips what are the recommended servings of fruits and vegetables per day? 11-15, 3-4, 1-2, or 5-10 servings per day?