1) What does int() do? a. Displays a message on screen b. Displays a random numb
ID: 3528101 • Letter: 1
Question
1) What does int() do? a. Displays a message on screen b. Displays a random number c. Convert characters to numbers d. A and C e. None of the above 2) In a code statement a named value is a. A variable b. A branch c. A named value d. A loop 3) Using conditional statements if/else, it is not necessary to indent code ____True ____False 4) Functions a. Create a stack frame b. Can return a value(s) c. Avoid duplicating code d. All of the above e. None of the above 5) Arrays a. Store data items b. Are a type of variable c. Eliminate code duplication d. A and C e. B and C f. All of the above 6) A hash is a. A symbol {} b. A dictionary in Python c. A data structure that associates a name with a value d. B and C e. None of the above f. All of the above 7) Hashes have their own set of methods including append () ____True _____False 8) When calling information from a database a useful function is sorted () ____True ____FalseExplanation / Answer
1. c. Convert characters to numbers
2. a. A variable
3. True
4. a. Create a stack frame
5. a. Store data items
6. d. B and C
7. True
8. True
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.