Search Header Logo

CSS12L - L1-L4

Authored by Dindo Cerado

Other

University

Used 8+ times

CSS12L - L1-L4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a Boolean value in Python?

"True" as a string value

True without quotation marks

"False" inside double quotes

false written in lowercase

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the result of print(type(5)) in Python?

<class 'float'>

<class 'str'>

<class 'int'>

<class 'bool'>

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function allows the user to enter a value from the keyboard?

output() function in Python

insert() function in Python

input() function in Python

print() function in Python

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the print() function do in Python?

Stores values inside a dictionary

Displays output on the screen

Converts strings into a tuple

Creates a new list with numbers

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of "Python"[0]?

"n" which is the last letter

"P" which is the first letter

"y" which is the second letter

"o" which is the fifth letter

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which operator is used to find the remainder in Python?

/ for normal division

// for floor division

% for modulus

** for power calculation

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the result of 5 > 3 and 2 < 1?

True because both are true

False because second is false

True because at least one is true

False because both are false

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?