Search Header Logo

python quiz1

Authored by nikhil patten

Engineering

University

Used 4+ times

python quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What command is used to display numbers and text on the screen?

print

input

output

command

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable?

A box where you store values

a type of graphics

Data type

a type of memory

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol is used in Python to assign values to a variable?

equals =

plus +

forward slash /

asterisk *

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output?
name = 'Dave'
print(name)

Dave

'Dave'

name

(name)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does (10 + 16) equal?

20

22

24

26

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these would work as a piece of code?

IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is input?

A function that allows us to ask the user to enter some data.

To plug in something.

Data displayed on a screen.

A function

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?