subject

PLEASE HELP THANK YOU 1. In programming, what is a string?
-Built-in module containing pre-written code for numeric and non-numeric data types -Cable connecting numeric and non-numeric data to the computer hardware
-Function used to print numeric and non-numeric data exactly as they are written
-Non-numeric data, consisting of a sequence of letters, numbers, spaces, and symbols

2. A runtime error means there is a problem with the computer's hardware, making it impossible to execute a program.
-True
-False

3. Which of the following is an example of a logic error in programming?
-Not using quotation marks and parentheses to print a string literal
-Printing an inaccurate statement, like print ("Dogs have wings.")
-Trying to perform an impossible task, like 5 / 0 -Using camelcase when a variable name contains two or more words

4. Which of the following is the proper way to assign a string literal value to a variable in Python?
-variableName = value -variableName = "value" -variable Name = value -variable Name = "value"

5. Read the following code used to calculate the total cost of a meal with a 20% tip:

mealCost = input ("What is the meal total?")
tip = mealCost *mealcost 0.20 totalcost = meal + tip

There is an error in the code. Which additional function needs to be used with the input() function?
-float()
-int ()
-print ()
-str()

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:30
1.the index finger on your right hand types the f r v 4 j u m 7 h y 6 n lo.9 j u 7 m g t 5 b 2.if you need to multiply 400, 2, and 1 Ā½, what would you type on the numeric keypad? 400*2*1.5 400/2*1.5 400/2/1.5 400*2*1Ā½ 3.select all examples of proper keyboarding technique. rest your fingers gently on the home row or home keys. slouch in your chair. rest your palms on the keyboard. relax your fingers. keep your hands lower than your elbows.
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Write a function so that the main program below can be replaced by the simpler code that calls function original main program: miles_per_hour = float( minutes_traveled = float( hours_traveled = minutes_traveled / 60.0 miles_traveled = hours_traveled * miles_per_hour print('miles: %f' % miles_traveled) sample output with inputs: 70.0 100.0 miles: 116.666667
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
You know the right answer?
PLEASE HELP THANK YOU 1. In programming, what is a string?
-Built-in module containing pre-wr...
Questions
question
Mathematics, 16.01.2022 18:20
question
Mathematics, 16.01.2022 18:20
question
Mathematics, 16.01.2022 18:20
question
Mathematics, 16.01.2022 18:30
Questions on the website: 13722360