Which of the following is a primitive data type?
PPL 223 - (QUIZ 3) Data Types and Structures

Quiz
•
Information Technology (IT)
•
University
•
Medium
M'Alou Gonzales
Used 11+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Array
Integer
Record
Class
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the main characteristic of an array?
Elements of different types
Elements of the same type
Variable size
None of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data type is best suited for representing a single character?
Boolean
Integer
Float
Character
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a record, fields can be of:
Only primitive types
Only array types
Different types
Only string types
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of a discriminant field in a variant record?
To hold multiple types simultaneously
To store metadata about the record
To determine which type of data is currently stored
To provide a default value for fields
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which type of type checking is done at compile-time?
Dynamic
Static
Run-time
Hybrid
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Python, what is the inferred type of the variable age in the following code? age = 25
String
Float
Integer
Boolean
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
TCE - 1st Quiz

Quiz
•
11th Grade - University
20 questions
Pretest 5 - PBW 2B - PHP

Quiz
•
University
18 questions
2.2 Data Transmission

Quiz
•
University
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
16 questions
Java Basics Quiz for CH/PT Students

Quiz
•
University
20 questions
Pretest Alpro Dasar

Quiz
•
University
10 questions
Internet Safety

Quiz
•
8th Grade - University
15 questions
MS Access

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade