Nebula: Pre-test

Nebula: Pre-test

University

50 Qs

quiz-placeholder

Similar activities

ISC INTRA SCHOOL COMPETITION CAT-II

ISC INTRA SCHOOL COMPETITION CAT-II

9th Grade - University

50 Qs

GEAS 4

GEAS 4

University

50 Qs

Business Law Test 2 For Sem.III

Business Law Test 2 For Sem.III

University

50 Qs

ECD1243 AGT: Chap.4

ECD1243 AGT: Chap.4

University

45 Qs

50-102

50-102

University

52 Qs

Informatika (ASAS 2425)

Informatika (ASAS 2425)

10th Grade - University

50 Qs

UAProject Management 2

UAProject Management 2

University

50 Qs

ULANGAN SUMATIF INFORMATIKA KELAS X APAT, TKR, TBSM

ULANGAN SUMATIF INFORMATIKA KELAS X APAT, TKR, TBSM

10th Grade - 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?