
big idea 3

Quiz
•
Computers
•
11th Grade
•
Hard
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
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
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
Similar Resources on Wayground
20 questions
Computer Science

Quiz
•
9th - 12th Grade
20 questions
computer

Quiz
•
11th Grade
20 questions
LETS PLAY QUIZ - PYTHON CBSE CLASS XII

Quiz
•
11th - 12th Grade
21 questions
Programming - Python (year 12)

Quiz
•
9th - 12th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
List Manipulations

Quiz
•
11th Grade
21 questions
CodeHS JavaScript

Quiz
•
8th - 12th Grade
20 questions
Chapter 7-8 Review

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade