PT-5 Pre Test

PT-5 Pre Test

University

30 Qs

quiz-placeholder

Similar activities

PPL (Quiz 5)  Procedures and Functions

PPL (Quiz 5) Procedures and Functions

University

25 Qs

G9-Introduction to Python Programming

G9-Introduction to Python Programming

9th Grade - University

25 Qs

Informatika 1

Informatika 1

12th Grade - University

25 Qs

Quiz for BBA

Quiz for BBA

University

25 Qs

Soal Pilihan Ganda Sistem Komputer

Soal Pilihan Ganda Sistem Komputer

7th Grade - University

25 Qs

STS Informatika Kelas 8 Semester 1

STS Informatika Kelas 8 Semester 1

8th Grade - University

25 Qs

Living in the IT Era Chapter 1- Lesson 2

Living in the IT Era Chapter 1- Lesson 2

University

30 Qs

Fundamentals of programming Quiz

Fundamentals of programming Quiz

University

25 Qs

PT-5 Pre Test

PT-5 Pre Test

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Mark Feguro

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ are whole numbers that can have both zero, positive and negative values but no decimal values. For example, 0, -5, 10.

decimal
fraction

integers

rational

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____ and ______ are used to hold real numbers.

int and char
float and double
byte and short
string and boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ______ literal is a sequence of characters enclosed in double-quote marks.

string
boolean
integer
character

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

single line comment starts with ______ symbol. It starts and ends in the same line.

__
/*

##

//

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To write multi-line comments, we use the _____

/* */

// ... //
# ... #

#**#

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

is a programming paradigm that uses 'objects' to design applications.

Functional Programming
Declarative Programming
Procedural Programming
Object-Oriented Programming (OOP)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the four Principles of Object-Oriented Programming (OOP).

Abstraction, Encapsulation, Reflection, Composition
Inheritance, Overloading, Delegation, Composition
Encapsulation, Inheritance, Polymorphism, Abstraction
Composition, Aggregation, Serialization, Modularity

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?