Ms. Molloy Computer Science quick quiz

Ms. Molloy Computer Science quick quiz

7th Grade

10 Qs

quiz-placeholder

Similar activities

Year 7 Python

Year 7 Python

7th Grade

12 Qs

Python Basics - Year 8

Python Basics - Year 8

7th - 9th Grade

14 Qs

Python Year 9 Final Recall Activity

Python Year 9 Final Recall Activity

7th - 9th Grade

15 Qs

Year 7 Repetition

Year 7 Repetition

7th Grade

11 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

Python Basic

Python Basic

6th - 8th Grade

10 Qs

Year 8 | Intro to Python | Quiz 1

Year 8 | Intro to Python | Quiz 1

7th Grade

15 Qs

Python : Codeathon Competition

Python : Codeathon Competition

5th - 8th Grade

15 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?