PPL 223 - (QUIZ 3) Data Types and Structures

Quiz
•
Information Technology (IT)
•
University
•
Medium
M'Alou Gonzales
Used 12+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a primitive data type?
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 Wayground
15 questions
Q4. Entity Relationship Modelling

Quiz
•
University
20 questions
Information Technology Quiz

Quiz
•
University
20 questions
Introduction to Networking

Quiz
•
University
16 questions
Emerging Trends Part 1

Quiz
•
11th Grade - University
10 questions
VertexR Session

Quiz
•
University
20 questions
Python Quiz Girls in ICT Day

Quiz
•
University
15 questions
CMDP2060 - Programming Design and Implementation (W01 - W03)

Quiz
•
University
10 questions
Data Management and Storage

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University