Ms. Molloy Computer Science quick quiz

Ms. Molloy Computer Science quick quiz

7th Grade

10 Qs

quiz-placeholder

Similar activities

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Data types and Input

Data types and Input

7th - 9th Grade

14 Qs

Programming in Python

Programming in Python

6th - 8th Grade

10 Qs

Input and Output Operations in Python

Input and Output Operations in Python

6th - 10th Grade

11 Qs

Python Inputs

Python Inputs

6th - 10th Grade

11 Qs

Python User Input Quiz

Python User Input Quiz

6th Grade - University

10 Qs

User Input in Python

User Input in Python

6th - 10th Grade

11 Qs

Python Statements

Python Statements

5th - 7th Grade

10 Qs

Ms. Molloy Computer Science quick quiz

Ms. Molloy Computer Science quick quiz

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Staff-ISK Molloy

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

1.      1. What does the print() function do in Python?

Stops the program

Displays information on the screen

·        Asks the user for input

Stores information

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

1.      Which line correctly asks for a user's name?

input("Hello")

print("What is your name?")

name = input("What is your name?")

·        ask("name")

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

1.      What is the data type of this value: "42"?

int

float

str

bool

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these is a variable?

"apple"

age=12

print()

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this code do?

1.      x = 10
if x > 5:

print("Big number!")
 

prints nothing

causes an error

Prints "Big Numbers!"

Asks the user for an input

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many times will this code run the loop?

for i in range(3):
    print("Hi")

2

3

4

1

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What type of loop is best for repeating until a condition is false?

for

repeat

while

forever

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?