Programming - What Do I Know?

Programming - What Do I Know?

7th - 9th Grade

15 Qs

quiz-placeholder

Similar activities

Python Review Quiz

Python Review Quiz

7th - 9th Grade

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Python

Python

7th - 8th Grade

13 Qs

Python

Python

9th Grade

15 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python basics

Python basics

7th - 10th Grade

18 Qs

Intro to Python

Intro to Python

6th - 8th Grade

20 Qs

Programming - What Do I Know?

Programming - What Do I Know?

Assessment

Quiz

Computers

7th - 9th Grade

Medium

Created by

Simon LYDIARD

Used 36+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a variable for?

Holding information

Checking a condition

Adding some text

Changing the code

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is syntax?

The text editor we use to write code

The rules we follow when we write code so the computer can understand it.

The way we type so we can get the code written quickly.

How long the computer thinks before it can write a new line of code.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How would I finish this line of code to accept input from a user?

myAge = .......

input("What is your age?")

13

input(int("What is your age?"))

int(input("What is your age?"))

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why do we comment code?

To look good

To tell other people what our code means in plain English

To help the computer understand what we want the code to do.

The computer reads it and can help fill in information.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the missing word in this code?

input

int

print

"Your name"

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the symbol ">=" mean in an if statement?

Less than or equal to

Less than

Greater than

Greater than or equal to

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What would the above code print?

Your first name is not John but it is Smith

Your first name is not, Smith, but it is, John

Your first name is not lastName but it is name

Your first name is not Smith but it is John

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?