
Data Structures Midterm Exam WRI
Authored by Miss Mae
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Is ultimately stored in computers as patterns of bits, though these days most programming languages deal with higher-level objects, such as characters, integers, and floating-point numbers.
Array
Data
Array items
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Is a collection of similar types of data.
Array
Data
Array items
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Typically stored in a sequence of computer memory locations, but to discuss them, we need a convenient way to write them down on paper.
Array
Data
Array items
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Is a condition that does not change during the execution of a given program or algorithm.
Loop
Invariants
Index
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Arrays work on an _________ system starting from 0 to (n-1), where n is the size of the array.
Index
array
address
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Arrays are typically defined with square brackets with the size of the arrays as its argument.
Curly brace
Brackets
Parenthesis
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
This is a Boolean expression calculated at the beginning of each iteration to determine whether the loop body will execute or stop.
Loop body
Loop update
Loop condition
Loop initialization
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?