Computers and Technology

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()

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 03:00, minelly1717
Your business be in google top rank. more the rank more the business leads. for best seo and digital marketing services be confident to contact you can get best seo solutions by assistance experts provide digital marketing, website development, seo expert services and social media internet seo expert services your branding solutions. seo expert services ,best seo expert services, online seo expert services,
Answers: 3
image
Computers and Technology, 24.06.2019 00:40, iamsecond235p318rq
To maintain clarity and focus lighting might be needed
Answers: 2
image
Computers and Technology, 24.06.2019 01:30, kellygaytan
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
image
Computers and Technology, 24.06.2019 04:30, BobBball9126
How do you share someone else’s tweet with your own twitter followers?
Answers: 1
Do you know the correct answer?
PLEASE HELP THANK YOU 1. In programming, what is a string?
-Built-in module containing pre-wr...

Questions in other subjects:

Konu
Mathematics, 17.02.2021 22:10