Programming Basics Quiz

Programming Basics Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python Quiz 1

Python Quiz 1

8th Grade - University

9 Qs

Intro to Python

Intro to Python

7th - 9th Grade

8 Qs

Python and Algorithms

Python and Algorithms

12th Grade

15 Qs

Premiers pas avec turtle

Premiers pas avec turtle

11th Grade

9 Qs

Python

Python

7th - 9th Grade

12 Qs

Python Basics Quiz

Python Basics Quiz

9th - 12th Grade

15 Qs

AP CSP Python Quiz 1

AP CSP Python Quiz 1

10th - 12th Grade

11 Qs

Programming Basics Quiz

Programming Basics Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Amira Salem

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can store a name like "Alice" in a program?

Number

Text

List

True or False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would you use to store the age of a person in a program?

A string

A number

A boolean

An image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will show "Good morning!" only if the time is before 12?

if time > 12:

if time == 12:

if time < 12:

if time = 12:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do? for i in range(3): print("Hello")

Print "Hello" 3 times

Print "Hello" 1 time

Print "Hello" 5 times

Print nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a "variable" in programming?

A place to store a value

A type of music

A kind of animal

A shape on the screen

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these checks if two things are equal in a program?

=

==

><

<=

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a student has more than 70 points, they pass. Which line would check this?

points = 70

if points > 70:

if points == 70:

points > 70

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?