Primitive Data Types Quiz

Quiz
•
Computers
•
11th Grade
•
Medium

Viktoria Medway
Used 5+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do primitive data types hold?
Multiple pieces of data
No data
A single piece of data
Complex data structures
Answer explanation
Primitive data types hold a single piece of data, such as a number or a character.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a characteristic of data in arrays?
Data can be of different data types.
Data is unstructured.
All instances of the data have the same data type.
Arrays can only hold numeric data.
Answer explanation
The characteristic of data in arrays is that all instances of the data have the same data type.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an index in the context of arrays?
A function to perform operations on array items.
A unique identifier for the array.
A type of data structure.
A way to identify one item in the array.
Answer explanation
An index in the context of arrays is a way to identify one item in the array.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a feature of arrays?
Identifier (name)
Data type
Color
One or more dimensions
Answer explanation
The correct choice is 'Color' because arrays do not have a feature related to color. The other options are all features of arrays.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a 2D array represent in the given image?
A single row of elements
A matrix with rows and columns
A collection of 2D shapes
A three-dimensional structure
Answer explanation
A 2D array represents a matrix with rows and columns, making it the correct choice.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a 1D array commonly referred to as?
Matrix
List
Table
Graph
Answer explanation
A 1D array is commonly referred to as a List.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a 2D array commonly referred to as?
List
Graph
Table
Queue
Answer explanation
A 2D array is commonly referred to as a 'Table' because it is a data structure that organizes data in rows and columns, similar to a table.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
AP CS A Unit 6 Exam PRACTICE

Quiz
•
9th - 12th Grade
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
19 questions
Programming Techniques Survey

Quiz
•
8th - 12th Grade
20 questions
LOOKUP

Quiz
•
9th Grade - University
20 questions
Web Development Tutorial 10 Quiz Review

Quiz
•
9th - 12th Grade
20 questions
Data Structures & Algorithm

Quiz
•
11th Grade
20 questions
soal berpikir komputasional kelas 8 gasal

Quiz
•
8th Grade - University
20 questions
9618 Chp11 Programming Basics Quiz

Quiz
•
11th Grade - University
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