What will be printed to the screen when the following program is run?

What Will Be Printed To The Screen When The Following Program Is Run?

Answers

Answer 1

Answer:

false

Explanation:

the parenthesis contains 2 true statements (5 is greater than 4 and 10 is greater than or equal to 10)

outside the parenthesis is the not, so the true parenthesis is negated to false

this means the value of a is false


Related Questions

In Exercises 1–4 construct the dual graph for the map shown.
Then find the number of colors needed to color the map so
that no two adjacent regions have the same color.

Answers

Answer:

10.8 Graph Coloring

A coloring of a simple graph is the assignment of a color to each vertex of the graph so that no

two adjacent vertices are assigned the same color.

Chromatic number

The chromatic number of a graph is the least number of colors needed for a coloring of this graph.

The Four Color Theorem

The chromatic number of a planar graph is no greater than four.

10.8 pg. 733 # 3

Construct the dual graph for the map shown. Then find the number of colors needed to color the

map so that no two adjacent regions have the same color.

a

b c d e

f

At least three colors are needed to color the

graph because of triangle 4abc exists in the

graph.

10.8 pg. 733 # 7

Find the chromatic number of the given graph.

a

b

c

d

Since this graph forms two triangles, 4abd and

4bcd, we can color this graph with at least 3

colors where a and c are the same colors.

a

b

c

d

10.8 pg. 733 # 9

Find the chromatic number of the given graph.

1

ICS 241: Discrete Mathematics II (Spring 2015)

a

e

b

c

d

This graph can be colored with two colors like

shown.

a

e

b

c

d

10.8 pg. 734 # 19

The mathematics department has six committees, each meeting once a month. How many different

meeting times must be used to ensure that no member is scheduled to attend two meetings at the

same time if the committees are C1 = {Arlinghaus, Brand, Zaslavsky}, C2 = {Brand, Lee, Rosen},

C3 = {Arlinghaus, Rosen, Zaslavsky}, C4 = {Lee, Rosen, Zaslavsky}, C5 = {Arlinghaus, Brand},

and C6 = {Brand, Rosen, Zaslavsky}?

We will first draw the intersection graph of the given sets.

C1 C2

C3

C5 C4

C6

From here, it is easy to see that we need at least 5 colors like so:

C1 C2

C3

C5 C4

C6

Therefore, 5 meeting times are needed. Committees C4 and C5 can meet at the same time.

Explanation:

done-_-

When searching for a video file on your computer, you should look for a file with which extension?

Answers

While searching for a video file on the computer, the .mp4 extension must be searched.

What is a file extension?

A file extension is given as the suffix added to the file name that has the description of the type of file.

The file extensions for various types of files are different and are used for the identification of the file type. The video files have the general extension as .mp4.

Thus, while searching for a video file on the computer, the .mp4 extension must be searched.

Learn more about file extensions, here:

https://brainly.com/question/7640304

#SPJ1

ANSWER QUICKLY!!!

Ed has taken up a freelancing project to build a website. The website should be easy to navigate and lighter to load. He has brilliant HTML and
CSS coding skills. However, he doesn't have enough time to build the website from scratch. What can he do to create a relatively light website in
a short span of time?

Answers

In the above scenario, he create a relatively light website in a short span of time by using option A.

What is a website?

A website is known to be a composition of web pages and similar or linked content that is known by a common domain name and it is one that is often published on web server.

Note that In the above scenario, he create a relatively light website in a short span of time by using option A as it is the right choice to make.

Learn more about website from

https://brainly.com/question/13171394

#SPJ1

For what two reasons is it important to add comments to a program? A. To make the structure of the code clear for other programmers B. To make it run faster and more efficiently C. To make the program appear elaborate and complex D. To make troubleshooting and fixing bugs easier​

Answers

Commenting is important to a program to ease the understanding of code by other programmers, and for troubleshooting and fixing bugs.

What is commenting on a program?

The commenting on a program is given as the human-readable description of the code that helps in the analysis of what is the function being performed by the code.

The commenting is important as:

It makes the easy to clearly understand the structure of code by other programmers are many are working in an organization.

In the troubleshooting and when fixing the bugs, the comments add the ease to crack the fault in the code.

Thus, options A and D are correct.

Learn more about commenting in a program, here:

https://brainly.com/question/17102137

#SPJ1

What is a symbol or container that holds a value?

Answers

Answer:

variable

Explanation:

you can program complex things with variables

Answer:

variable

Explanation:

Connect research concepts to their definitions

Answers

Answer Research is defined as the creation of new knowledge and/or the use of existing knowledge in a new and creative way so as to generate new concepts, methodologies and understandings

ANSWER QUICKLY!!!

What is an advantage of digital portfolios?

Answers

Easy to carry or utilize

Answer:

transmit

Explanation:

С

List three examples of deadlocks
that
are not related to Computer
system.

Answers

Answer:

Hope it helps

Explanation:

The three examples of deadlocks that are not related to a computer-system environment are as given below: Two cars crossing a single lane bridge from opposite directions. A person going down a ladder while another person is climbing up the ladder. Two trains traveling toward each other on the same track.

what is another word for low level language​

Answers

Answer:

machine code or assembly language

Explanation:

Because of the low abstraction between the language and machine language, low-level languages are described as "close to the hardware"

wikipedia

Answer:

Another word for Low Level Language is 'Machine-Oriented Language'.

there are two types of Low Level Languages:

1 ) Machine Language

2) Assembly Language

hope that helps...

ANSWER QUICKLY!!!

Which aspect of planning is a preventive action?

Answers

A preventive action aims to correct a potential problem. Unlike a corrective action, which fixes the root cause of a current issue, preventive actions try to address problems before they happen

Comments are used to create a pseudocode plan.

Which line below is a comment?


print the average
print the average

print the average
print the average

print the average
print the average

print the average
print the average

Answers

The pseudocode plan line that is a comment is:

print the averageprint the average

What is a pseudocode?

Pseudocode is known to be a kind of man made and informal type of language that is used by a lot of programmers to create algorithms.

Note that the Pseudocode is said to "text-based" as in the case above as it is made up of algorithmic design tool. The rules of Pseudocode are known to be straightforward such as print the average.

Learn more about pseudocode from

#SPJ1

What is the half of 3/18

Answers

Answer:

1/3

Explanation:

3/18 divided by 2 equals 1/3

hope this helps

have a good day

A method for breaking a program down into smaller parts

Answers

Answer:

Top Down Design

A method for breaking a program down into smaller parts

Explanation:

Answer:

Top Down Design

A method for breaking a program down into smaller parts

Explanation:

Question # 9
Fill in the Blank
Complete the statement using the correct term.
The aerospace industry uses______________ simulators to train astronauts and design spacecraft.

Answers

Answer:

flight stimulators are used to train astronaut and design simple air craft

when does computer store data permanently?​

Answers

when the device is unpowered.

Select the correct answer.
What statement best describes fault isolation?

Answers

The statement that best describes fault isolation is that Fault Isolation is known to be the area of knowing the cause of an issue.

What is  fault isolation?

Fault Isolation is also known to be the way or method use in  knowing the cause of an issue.

It is also known as fault diagnosis as it helps to deals with a lot of methods that can help one to be able to isolate the component or the device that is causing or leading to the error.

Learn more about isolation from

https://brainly.com/question/27507161

#SPJ1

Use the drop-down menus to describe the Customize Ribbon dialog box,
This section lists the different tabs on the ribbon.
This component helps the user reorder tabs along the ribbon.
This section lists commands to be added to or removed from the ribbon.

Answers

Just say 4th of Independence Day

Coding final. The code needs to be in python. See picture for information.​

Answers

Answer:

Explanation:

def running_sum():

 num = int(input("Enter a number: "))

 limit = int(input("Enter a limit: "))

 sum = num

 while sum < limit or sum == limit:

      number = int(input("Enter another number: ")

      sum+=num

 if sum==limit:

      print(sum)

 

Allan is a candidate for the position of Mayor in his town. He is worried about using email for the fear that it may be intercepted by the government and used by his opponent. What law protects his email from being intercepted by the government?
The
and its proposed update strengthen the online privacy of users by increasing requirements for governmental access to the stored data.

Answer: Electronic Communications Privacy Act

Answers

Answer:

This is correct.

Explanation:

I took the test and got it right.

Maria set a SMART goal for her chocolate business: “Increase online sales by 50% by the end of 6 months”. What would be a good KPI for her to use to evaluate if she is reaching this goal?

0 / 1 point

Answers

Key  Performance Indicators helps the maria to set the goals as it qualify and measure the performance of her chocolate business. Revenue growth, Profit margin and Customer satisfaction are the factors from which Maria can evaluate the growth of her business.

How is KPI measured?

KPIs are performance indicators which are used to analyze a company's effectiveness. KPIs might be either quantitative or qualitative.

Indicators like sales revenue per employee, number of customers handled by each call center representative, and revenue are examples of quantitative KPIs.

Thus,  Revenue growth, Profit margin and Customer satisfaction are the factors

For more information about Key  Performance Indicator, click here:

https://brainly.com/question/13278475

#SPJ1

How many characters can be store on a disk with a capacity of 720bytes

Answers

Answer:

184320

Explanation:

256x720

In which of the following careers must one learn and use programming languages?
Systems Analyst
Software Engineer
Database Administrator
Computer Support Specialist

Answers

The career option dealing with the programming languages is software engineer. Thus, option B is correct.

What are programming Languages?

The programming languages are given as the type of computer language that performs the task of converting the strings and graphical elements of the program in a visual program. The language has been utilizing the codes of the machine to implement the algorithm.

The career that enables the dealing with the software and the programming is software engineer. Thus, option B is correct.

Learn more about programming language, here:

https://brainly.com/question/12696037

#SPJ1

What is the purpose of Executive Order 13526?

Answers

prescribing a uniform system for classifying, safeguarding, and declassifying national security information, including information relating to defense against transnational terrorism.

List 5 tasks that can be performed by a computer

Answers

Answer:

Input or inserting data and instructions.Processing.Output or retrieving data or information.Storing data or information/file management.Controlling of devices and functions.

During a system board replacement, a new TPM is installed. What is the next best step to take?

Answers

The step to install TPM involves the connection of the chip to the connector and snapping of the bolt in its place by pressing down the plastic bolt.

What is a TPM?

A TPM is given as the Trusted Platform Module. It is a computer chip that enables the storage of the artifacts at a safe location for the authentication of the system.

In the system board replacement, the TPM installation is followed by the insertion of the TPM chip in the TPM connector, and pressing down the security rivet in the form of the plastic bolt to make the bolt snap in its place.

Learn more about TPM, here:

https://brainly.com/question/15202666

#SPJ1

Considering all of the time and effort that is put into creating an online business, it is in a merchant’s best interest to make sure that as many people as possible make it to the merchant’s website. A good way to do this is to ensure search engine optimization. Describe three different steps you can take to ensure search engine optimization, and briefly explain what makes them effective.

Answers

Search engine optimization will help increase the number of clicks on the business' website and help to drive the sales by targeting the appropriate audience for buying the products.

What is search engine optimization?

Search engine optimization, or SEO, is one of the most important functions of the generation of organic clicks on the website for an online ecommerce business.

It helps in creating a brand awareness, the costs of advertising are much lower, and also helps in improving the experience of the customers of ecommerce site.

Hence, the uses of search engine optimization in online business are as aforementioned.

Learn more about Search Engine Optimization here:

https://brainly.com/question/14850803

#SPJ1

DUE IN AN HOUR PLS HELP
Random answers for points will be reported


Which one of these is an example of an output device digital pen headset keyboard mouse

Answers

Answer:headset

Explanation:because sound comes out of them

Answer:

Headset

Explanation:

It would be a headset because headsets "output sounds"

Digital pens, keyboards, and mice don't output anything.

Assignment Type : Ai using prolog language

• AI Search Techniques

o The search algorithms can solve this problem easily so you must implement one of the uninformed search techniques and one of the informed search techniques to solve the problems


I. Problem #1

1. Problem#1 Overview
Given a list of positive integer Items whose elements are guaranteed to be in sorted ascending order, and a positive integer Goal, and Output is a list of three elements [A,B,C] taken from items that together add up to goal. The Output must occur inside the items list in that order (ascending order).

?-threeSum([3,8,9,10,12,14],27,Output).
Output=[8,9,10];
Output=[3,10,14].

?-threeSum([2,4,8,10,12,14],25,Output).
false.

?-threeSum([2,4,8,12,14,16],20,Output).
Output=[2,4,14].

?-threeSum([1,2,3,4,5,6,7,8,9],12,Output).
Output=[1,2,9];
Output=[1,3,8];
Output=[1,4,7];
Output=[1,5,6];
Output=[2,3,7];
Output=[2,4,6];
Output=[3,4,5].
2. Problem#1 Components:
This program consists of the following engines:

• Planner Engine: is responsible for:
• Taking the query in prolog entered by the user.
• Apply the planning algorithm using depth first search or greedy algorithm to get the path. This algorithm should be implemented in prolog.
• You must solve this problem twice (depth first search and greedy algorithm)



II. Problem #2

1. Problem#2 Overview
Daisy loves playing games with words. Recently, she has been playing the following Deletive Editing word game with Daniel.
Daisy picks a word, for example, "DETERMINED". On each game turn, Daniel calls out a letter, for example, 'E', and Daisy removes the first occurrence of this letter from the word, getting "DTERMINED". On the next turn, Daniel calls out a letter again, for example, 'D', and Daisy removes its first occurrence, getting "TERMINED". They continue with 'I', getting "TERMNED", with 'N', getting "TERMED", and with 'D', getting "TERME". Now, if Daniel calls out the letter 'E', Daisy gets "TRME", but there is no way she can get the word "TERM" if they start playing with the word "DETERMINED".
Daisy is curious if she can get the final word of her choice, starting from the given initial word, by playing this game for zero or more turns. Your task it help her to figure this out.

% deletiveEditing(Initial,End).
Each word consists of at least one and at most 30 uppercase English letters; Initial is the Daisy's initial word for the game; End is the final word that Daisy would like to get at the end of the game.

?- deletiveEditing(['D','E','T','E','R','M','I','N','E','D'], ['T','R','M','E']).
True.

?- deletiveEditing(['D','E','T','E','R','M','I','N','E','D'], ['T','E','R','M']).
False.

?- deletiveEditing(['D','E','I','N','S','T','I','T','U','T','I','O','N','A','L','I','Z','A','T','I','O','N'], ['D','O','N','A','T','I','O','N']).
True.

?- deletiveEditing(['C','O','N','T','E','S','T'], ['C','O','D','E']).
False.

?- deletiveEditing(['S','O','L','U','T','I','O','N'], ['S','O','L','U','T','I','O','N']).
True.

2. Problem#2 Components:
This program consists of the following engines:

• Planner Engine: is responsible for:
• Taking the query in prolog entered by the user.
• Apply the planning algorithm using informed search algorithm (greedy algorithm) to get the path.
This algorithm should be implemented in prolog.

Answers

Answer:

Explanation:

Assignment Type : Ai using prolog language

• AI Search Techniques

o The search algorithms can solve this problem easily so you must implement one of the uninformed search techniques and one of the informed search techniques to solve the problems

I. Problem #1

1. Problem#1 Overview

Given a list of positive integer Items whose elements are guaranteed to be in sorted ascending order, and a positive integer Goal, and Output is a list of three elements [A,B,C] taken from items that together add up to goal. The Output must occur inside the items list in that order (ascending order).

?-threeSum([3,8,9,10,12,14],27,Output).

Output=[8,9,10];

Output=[3,10,14].

?-threeSum([2,4,8,10,12,14],25,Output).

false.

?-threeSum([2,4,8,12,14,16],20,Output).

Output=[2,4,14].

?-threeSum([1,2,3,4,5,6,7,8,9],12,Output).

Output=[1,2,9];

Output=[1,3,8];

Output=[1,4,7];

Output=[1,5,6];

Output=[2,3,7];

Output=[2,4,6];

Output=[3,4,5].

2. Problem#1 Components:

This program consists of the following engines:

• Planner Engine: is responsible for:

• Taking the query in prolog entered by the user.

• Apply the planning algorithm using depth first search or greedy algorithm to get the path. This algorithm should be implemented in prolog.

• You must solve this problem twice (depth first search and greedy algorithm)

II. Problem #2

1. Problem#2 Overview

Daisy loves playing games with words. Recently, she has been playing the following Deletive Editing word game with Daniel.

Daisy picks a word, for example, "DETERMINED". On each game turn, Daniel calls out a letter, for example, 'E', and Daisy removes the first occurrence of this letter from the word, getting "DTERMINED". On the next turn, Daniel calls out a letter again, for example, 'D', and Daisy removes its first occurrence, getting "TERMINED". They continue with 'I', getting "TERMNED", with 'N', getting "TERMED", and with 'D', getting "TERME". Now, if Daniel calls out the letter 'E', Daisy gets "TRME", but there is no way she can get the word "TERM" if they start playing with the word "DETERMINED".

Daisy is curious if she can get the final word of her choice, starting from the given initial word, by playing this game for zero or more turns. Your task it help her to figure this out.

% deletiveEditing(Initial,End).

Each word consists of at least one and at most 30 uppercase English letters; Initial is the Daisy's initial word for the game; End is the final word that Daisy would like to get at the end of the game.

?- deletiveEditing(['D','E','T','E','R','M','I','N','E','D'], ['T','R','M','E']).

True.

?- deletiveEditing(['D','E','T','E','R','M','I','N','E','D'], ['T','E','R','M']).

False.

?- deletiveEditing(['D','E','I','N','S','T','I','T','U','T','I','O','N','A','L','I','Z','A','T','I','O','N'], ['D','O','N','A','T','I','O','N']).

True.

?- deletiveEditing(['C','O','N','T','E','S','T'], ['C','O','D','E']).

False.

?- deletiveEditing(['S','O','L','U','T','I','O','N'], ['S','O','L','U','T','I','O','N']).

True.

2. Problem#2 Components:

This program consists of the following engines:

• Planner Engine: is responsible for:

• Taking the query in prolog entered by the user.

• Apply the planning algorithm using informed search algorithm (greedy algorithm) to get the path.

This algorithm should be implem

Does anyone knows What does Array.ContainsValue (namelist, "John") do to the program

Answers

Answer:

It checks to see if an array contains a value called John inside the container named name list.

The following equations estimate the calories burned when exercising (source):
Women: Calories = ( (Age x 0.074) — (Weight x 0.05741) + (Heart Rate x 0.4472) — 20.4022 ) x Time / 4.184

Men: Calories = ( (Age x 0.2017) + (Weight x 0.09036) + (Heart Rate x 0.6309) — 55.0969 ) x Time / 4.184

Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output calories burned for women and men.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('Men: {:.2f} calories'.format(calories_man))

Ex: If the input is:

49
155
148
60
Then the output is:

Women: 580.94 calories
Men: 891.47 calories

Answers

Answer:

# Women: Calories = ((Age x 0.074) - (Weight x 0.05741) + (Heart Rate x 0.4472) - 20.4022) x Time / 4.184

#Men: Calories = ((Age x 0.2017) + (Weight x 0.09036) + (Heart Rate x 0.6309) - 55.0969) x Time / 4.184

#main function to gets input for age, weight, hear rate and time and print Women and Man calorie burnt

def main():

 #get user input for age, weight, hear rate and time

 age = int(input("Enter your age:"))

 weight = int(input("Enter your weight:"))  

 heartRate = int(input("Enter your heart rate:"))

 time = int(input("Enter your time:"))

 #calculate calories for women and men

 caloriesWomen = ((age * 0.074) - (weight * 0.05741) + (heartRate * 0.4472) - 20.4022) * time / 4.184

 caloriesMen = ((age * 0.2017) + (weight * 0.09036) + (heartRate * 0.6309) - 55.0969) * time / 4.184

 #print calories for women and men

 print("Women: %.2f calories"%caloriesWomen)

 print("Men: %.2f calories"%caloriesMen)

#calling main function

main()

Explanation:

1) Above is your updated program.

2) Please copy it in python file and run

3) Below is the test output for this program

Enter your age:49

Enter your weight:155

Enter your heart rate:148

Enter your time:60

Women: 580.94 calories

Men: 891.47 calories

Other Questions
Points J, Q, K, and l are on the given circle. If Arc KL measures 120 degrees, and Angle KML measures 98 degrees, what is the measure of Arc JQ? Please helpMr. Fowler's science class grew two different varieties of plants as part of an experiment. When the plant samples were fully grown, they compared their heights.Based on this data which statement is true? OA. Plants from variety A always grow taller than plants from variety B.D. The maximum height for plants from variety B is greater than for variety A.C. The height of a plant from variety A is likely to be closer to the mean.OB. The height of a plant from variety B is likely to be closer to the mean. a bus velocity 20m/s towards the east and another bus has velocity 15m/s in west direction.if they start to move from a point simultaneously.what distance do they cover in 2 minutes. what will be their separation. why did england, spain, and france decide to invade mexico? Lorena paid $450 for a sneaker and there is a 9% advertised discount. What is the discount price? *HOMEWORK QUESTION*If Karen got stuck in the washing machine, who's coming to help?A. MomB. DadC. Step brotherD. Uncle Tim A survey was conducted for school students in a city to find out the favorite games of the students .49000 students were participated in the survey. It was found that 27of the students liked football, 47of the students liked cricket and the rest liked hockey. Read the passage carefully and answer the following questions: i) How many students liked football? a) 14000 b) 28000 c) 7000 d) 9000 ii) How many students liked cricket? a) 4000 b) 28000 c) 7000 d) 10000 iii) What fraction of the students liked hockey? a)37 b) 17 c) 27 d) 67 iv) How many more students liked football than hockey? a) 6000 b) 5000 c) 14000 d) 7000 Please help would be very much appreciated state the structure of federal system of government in nepal The data in this set show the number of ounces of water each hiker in a group drank during a hike.{20, 25, 19, 18, 21, 24, 15, 25, 20, 25, 19, 18, 21, 24, 15, 25What is the mean of the data set? About how much did he spend on DVDs and video games combined?xA. $17B. $34C. $55D. $68E. $88this the last one which would be considered an act of genocide according to the UNs definition Write the rough draft about a natural disaster affecting an area. You may copy and paste the accented and special characters from this list if needed: , , , , , , , , , , , , , , Your rough draft should be written in complete sentences in Spanish and include the following requirements:Include saber or conocer to hook your audience.Include verbs in the present progressive tense to state your claim.Include two facts about the natural disaster from the research.Include vocabulary words, phrases, and expressions learned in the course. please answer!!!! will mark brainliest!!! Which equation shows the area, in square centimeters, of the shaded figure? Beech's managers have made the following additional assumptions and estimates:25pointseBookPrint1. Estimated sales for July, August, September, and October will be $210,000, $230,000, $220,000, and $240,000, respectively.2. All sales are on credit and all credit sales are cofected. Each month's credit sales are collected 35% in the month of sale and 65%In the month following the sale. All of the accounts receivable at June 30 will be collected in July,3. Each month's ending inventory must equal 30% of the cost of next month's sales. The cost of goods sold is 60% of sales. Thecompany pays for 40% of its merchandise purchases in the month of the purchase and the remaining 60% in the month followingthe purchase. All of the accounts payable at June 30 will be paid in July.4. Monthly selling and administrative expenses are always $60,000. Each month $5,000 of this total amount is depreciation expenseand the remaining $55,000 relates to expenses that are pald in the month they are incurred,5. The company does not plan to borrow money or pay or declare dividends during the quarter ended September 30. The companydoes not plan to issue any common stock or repurchase its own stock during the quarter ended September 30,ReferencesRequired:1. Prepare a schedule of expected cash collections for July, August, and September2-a. Prepare a merchandise purchases budget for July, August, and September. Also compute total merchandise purchases for thequarter ended September 30.2-6. Prepare a schedule of expected cash disbursements for merchandise purchases for July, August, and September.Dronare an income statement that comnite nat nerating income for the cuarter andart Sentomhar an The powertrain of many machines consists of _____gears - answerlinkagestrussessplines What type of doctor specializes in the male reproductive system?. A recipe for fruit punch calls for 3 liters of orange juice and 2 liters of pineapple juice. Jo creates a drink by mixing 4 liters of orange juice with 3 liters of pineapple juice.Which recipe will have the stronger pineapple taste? Solve the simultanious equations 2x+3y=13 4x-y=-2