CS 1101 Self Quiz 1 Latest Update Graded A+
CS 1101 Self Quiz 1 Latest Update Graded A+ Consider the following text from a Python interpreter. >>> print(2 + 2) 4 What is the text "4" called? Select one: a. a function b. an operator c. a prompt d. a statement e. a value e. a value What is python's response to the command: type("0.123") Select one: a. <class 'float'> b. <class 'bool'> c. SyntaxError: invalid syntax d. <class 'int'> e. <class 'str'> e. <class 'str'> Programming languages are ______ languages that have been designed to express computations. Select one: a. informal b. mathematical c. formal d. natural e. logical c. formal Which one of the following Python expressions computes the total number of seconds in 21 minutes and 21 seconds? Select one: a. 21 + 21 b. 21 + 60 c. "21 minutes" + "21 seconds" d. 21 * 60 + 21 e. seconds = 21 + "21 minutes" d. 21 * 60 + 21 What does the Python interpreter output for the following input? >>> 1,234.567,890 Select one: a. 1234
Written for
- Institution
- CS 1101
- Course
- CS 1101
Document information
- Uploaded on
- May 18, 2024
- Number of pages
- 14
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cs 1101 self quiz 1 latest update graded a
Also available in package deal