big idea 3

big idea 3

11th Grade

25 Qs

quiz-placeholder

Similar activities

Unit 6 ArrayLists and String Methods

Unit 6 ArrayLists and String Methods

9th - 12th Grade

20 Qs

Basic JavaScript Review

Basic JavaScript Review

9th - 12th Grade

20 Qs

Python - List and Tuples

Python - List and Tuples

11th - 12th Grade

20 Qs

Lists and Dictionaries

Lists and Dictionaries

11th Grade

25 Qs

Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

CSS Basics

CSS Basics

6th - 12th Grade

21 Qs

IDT Unit 2 Review (practice for Test 2)

IDT Unit 2 Review (practice for Test 2)

8th - 12th Grade

20 Qs

CodeHS Python Unit 3 Quiz Review

CodeHS Python Unit 3 Quiz Review

9th - 12th Grade

20 Qs

big idea 3

big idea 3

Assessment

Quiz

Computers

11th Grade

Hard

Created by

khatija duplayee

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variable age is to be used to represent a person’s age, in years. Which of the following is the most appropriate data type for age ?

Boolean

string

number

list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variable isOpen is to be used to indicate whether or not a store is currently open. Which of the following is the most appropriate data type for isOpen ?

number

boolean

list

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A teacher is writing a code segment that will use variables to represent a student’s name and whether or not the student is currently absent. Which of the following variables are most appropriate for the code segment?

A string variable named s and a Boolean variable named a

A string variable named s and a numeric variable named n

A string variable named studentName and a Boolean variable named isAbsent

A string variable named studentName and a numeric variable named numAbsences

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment.

What is the value of r as a result of executing the code segment?

20

10

30

40

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment.

What are the values of first and second as a result of executing the code segment?

The value of first is false, and the value of second is false.

The value of first is false, and the value of second is true.

The value of first is true, and the value of second is false.

The value of first is true, and the value of second is true.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following code segment.

x ← 25

y ← 50

z ← 75

x ← y

y ← z

z ← x

Which of the variables have the value 50 after executing the code segment?

x only

y only

x and z only

x, y, and z

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a benefit of using a list as a data abstraction in a program?

Lists often allow their size to be easily updated to hold as many data values as needed.

Lists convert all elements to strings so that they can be inspected character-by-character.

Lists prevent duplicate data values from appearing in the list.

Lists are used to store all input data so that there is a running record of all user input.

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?