Computers and Technology
Computers and Technology, 25.11.2021 22:40, Joeyoman

1. Which of the following is used to separate code in Python? a) Commas
b) Curly braces
c) Indentations
d) Semicolons (wrong answer)

2. When programming dictionaries in Python, which of the following is true?
a) Values and keys can change.
b) Values can change, but keys cannot.
c) Values cannot change, but keys can.
d) Neither values nor keys can change. (wrong answer)

3. Which of the following is a mutable object in Python language?
a) Int
b) List (correct answer)
c) Range
d) String

4. Which of the following Python functions is used to return the number of characters in a string?
a) int()
b) len() (correct answer)
c) sizeOf()
d) str_length()

5. What is the major difference between lists and strings in Python?
a) Lists are mutable, while strings are immutable.
b) Lists can only contain integers, while strings can contain integers and characters. (wrong answer)
c) Lists can only contain letters, while strings can contain numbers.
d) Lists have a fixed size, while strings can vary in size.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, luisanavarrogarcia
Which of the following statements correctly identifies a problem with sanitization methods? a. methods are not available to remove data ensuring that unauthorized personnel cannot retrieve data. b. even fully incinerated media can offer extractable data. c. personnel can perform sanitization steps improperly. d. stored data is physically etched into the media.
Answers: 1
image
Computers and Technology, 22.06.2019 17:00, ruddymorales1123
What allows you to create a wireless connection among your smart devices
Answers: 2
image
Computers and Technology, 22.06.2019 18:00, alyssacyamamoto8050
Budgets you to do all of the following expect a) send frivolously b) avoid over spending c) gain financial independence d) examine your priorities and goals
Answers: 2
image
Computers and Technology, 23.06.2019 11:50, itaheart101
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
Do you know the correct answer?
1. Which of the following is used to separate code in Python? a) Commas
b) Curly braces

Questions in other subjects:

Konu
Health, 31.12.2019 07:31
Konu
Computers and Technology, 31.12.2019 07:31
Konu
English, 31.12.2019 07:31