Search Header Logo

Unit Test on Programming 301

Authored by Sundi Tiller

Computers

8th Grade

Used 12+ times

Unit Test on Programming 301
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is a variable in programming?

A container that stores data

A type of robot

A sequence of instructions

A loop in a program

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

  • Which of the following is an example of a conditional statement?

  • While loop

  • If-else statement

  • For loop

  • Function call

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In Tynker, what does a "loop" do?

Ends a program

Repeats a section of code

Changes variables

Displays output

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which block is used to start a Tynker program?

Repeat block

Start block

If block

Function block

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the purpose of the "if-else" block?

To repeat a task multiple times

To end a loop

To perform a task only under certain conditions

To create a new variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What does the “repeat until” block do?

Repeats forever

Repeats a specific number of times

Repeats until a condition is true

Repeats until the end of the program

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is an example of an event-driven program?

A program that runs on a timer

A program that runs once

A program that loops indefinitely

A program that reacts to user input like a mouse click

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?