Search Header Logo

Programming - What Do I Know?

Authored by Simon LYDIARD

Computers

7th - 9th Grade

Used 36+ times

Programming - What Do I Know?
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?