Search Header Logo

PREP 2023 CS Primer Review 1

Authored by Robert Nochez

Computers

Professional Development

Used 4+ times

PREP 2023 CS Primer Review 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is this an example of?

Python Interpreter

Symbol Table

Environment Diagram

Code Editor

2.

FILL IN THE BLANKS QUESTION

45 sec • 1 pt

(a)   loops are used to iterate through a given object

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is special about tuples?

Are immutable

Can only store one data type

Indicated by {}

Can change their length

4.

FILL IN THE BLANKS QUESTION

45 sec • 1 pt

(a)   functions can change or alter any variables passed in or variables it has access to

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of control statements will always run even if a previous control statement has already?

if statements

elif statements

else statements

return statements

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What frame will always be created whenever we run a program?

Program frame

Frame 1

Global frame

Function frame

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I have the following list that was created with the built-in range function:
lst = [1, 2, 3, 4, 5]

Select which option I used for the range function.

range(5)

range(1, 6)

range(1, 5)

range(6)

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?