PLEASE HELP THANK YOU
1. In programming, what is a string?
-Built-in module containing pre-wr...
Computers and Technology, 20.12.2020 08:50 loishsu4936
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()
Answers: 1
Computers and Technology, 22.06.2019 02:00
Alocal reaction will occur at the site of the exposure such as irritation or damage to the skin eye or local reaction will occur at the site of the exposure such as irritation or damage to the skin ireland lounges
Answers: 3
Computers and Technology, 22.06.2019 15:10
Consider a direct-mapped cache with 216 words in main memory. the cache has 16 blocks of 8 words each. it is a word-addressable computer (rather than a byte-addressable computer which we normally discuss). (a) how many blocks of main memory are there? (b) what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, cache block, and block offset fields (if they apply)? (c) to which cache block will the memory reference db6316 map?
Answers: 1
Computers and Technology, 23.06.2019 07:10
If you want to import a picture into a dtp application, what must you do first? draw an image frame. import text. open the folder containing the file. select get image… from the windows menu.
Answers: 2
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
Mathematics, 19.07.2019 01:00
Mathematics, 19.07.2019 01:00
Biology, 19.07.2019 01:00
Mathematics, 19.07.2019 01:00
History, 19.07.2019 01:00
Mathematics, 19.07.2019 01:00
Health, 19.07.2019 01:00
Social Studies, 19.07.2019 01:00
Mathematics, 19.07.2019 01:00
Arts, 19.07.2019 01:00
Business, 19.07.2019 01:00
Computers and Technology, 19.07.2019 01:00