Nebula: Pre-test

Nebula: Pre-test

University

50 Qs

quiz-placeholder

Similar activities

Вопросы по ЭКГ

Вопросы по ЭКГ

University

50 Qs

SANDI ANGKA 1

SANDI ANGKA 1

University

52 Qs

Health and safety

Health and safety

University

55 Qs

ULANGAN SUMATIF INFORMATIKA KELAS X TKJ

ULANGAN SUMATIF INFORMATIKA KELAS X TKJ

10th Grade - University

50 Qs

Business law test

Business law test

University

50 Qs

M Examination part 2

M Examination part 2

University

49 Qs

Quiz I (Pengantar Ilmu Ekonomi)

Quiz I (Pengantar Ilmu Ekonomi)

University

50 Qs

UTS LOGIKA INFORMATIKA

UTS LOGIKA INFORMATIKA

University

50 Qs

Nebula: Pre-test

Nebula: Pre-test

Assessment

Quiz

Other

University

Hard

Created by

Nebula Bitzquad

Used 20+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the primary purpose of variables in programming?

To store and manipulate data 

To execute control flow statements

To define functions

To create graphical user interfaces

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In programming, which of the following statements is used to execute a block of code repeatedly as long as a specified condition is true?

if statement

for loop

switch statement

break statement

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider the following code snippet in a programming language:


x = 5

y = 3

result = x++ - --y + x-- * y++


What is the final value of the variable result after executing this code?

25

16

23

20

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In programming languages that support pointers, what does the "dereference" operation do?

Access the memory address of a variable

Create a new variable in memory

Access the value stored at a memory address

Increment the value of a variable

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How are elements typically accessed in an array in most programming languages?

By using the "element" keyword

By specifying the position with an index

By using the "access" function

By using a loop

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type is used to represent true or false values in programming?

Integer

Float

String

Boolean

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In object-oriented programming, what is a class?

A specific instance of an object

A collection of functions

A blueprint for creating objects

A variable with a predefined value

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?