Search Header Logo

Programming Basic 1

Authored by henry lutterodt

Computers

8th Grade

Used 4+ times

Programming Basic 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data structure is used to store multiple items in a single variable?

Tuple

List

Dictionary

Set

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to display text on the screen in Python?

output()

show()

print()

display()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used in Python to create a function?

function

define

def

create

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an arithmetic operator in Python?

+

**

//

&&

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is used to iterate through each item in a list?

while

for

repeat

if

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use lists in Python?

To store a collection of values in one variable

To perform mathematical calculations

To store a single value

To make a program run faster

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a **for** loop function in Python?

It repeats a block of code a fixed number of times

It executes only once

It runs indefinitely without stopping

It executes code only when a condition is met

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?