PPL 223 - (QUIZ 3) Data Types and Structures

PPL 223 - (QUIZ 3) Data Types and Structures

University

15 Qs

quiz-placeholder

Similar activities

HTML + CSS + JS

HTML + CSS + JS

University

10 Qs

PCII DSS and GDPR

PCII DSS and GDPR

University

20 Qs

Java Quiz 1 in tamil theme

Java Quiz 1 in tamil theme

University

10 Qs

Java Basics Quiz for CH/PT Students

Java Basics Quiz for CH/PT Students

University

16 Qs

Chapter Quiz

Chapter Quiz

University

10 Qs

Internet Safety

Internet Safety

8th Grade - University

10 Qs

Introduction to Databases Quiz

Introduction to Databases Quiz

10th Grade - University

14 Qs

Pretest 5 - PBW 2B - PHP

Pretest 5 - PBW 2B - PHP

University

20 Qs

PPL 223 - (QUIZ 3) Data Types and Structures

PPL 223 - (QUIZ 3) Data Types and Structures

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Information Technology (IT)