AlgoProg - Review Quiz

AlgoProg - Review Quiz

University

20 Qs

quiz-placeholder

Similar activities

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX

AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX

1st Grade - University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

7333-Redes e Comunicação de Dados

7333-Redes e Comunicação de Dados

University

15 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Lenguaje de Definición de Datos

Lenguaje de Definición de Datos

University

18 Qs

AlgoProg - Review Quiz

AlgoProg - Review Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Eileen Heriyanni

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one of assignment below is invalid?

x = y
x = y + 2
x = 1
x + 1 = 3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

4 0
4 7
4 16
4 23

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of this slice of code?

float myFloat = 45.1342f;

printf("%09.3f", myFloat);

00045.134
000045.134
00000045.134
00000000045.134

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of this slice of code?

char str[30]="Bina Nusantara";

printf("%-15s2024", str);

BinaNusantara-15s2024
Bina Nusantara 2024
Bina Nusantaras2024
Bina Nusantara

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming the user input is: 1053 17.5 42

What is the value of the variable val3 in this code?

scanf("%2d %f %d", &val1, &val2, &val3);

1053
42
17
17.5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming the user input is: 1053 17.5 42 Smith

What is the value of the variable str2 in this code?

scanf("%s %d %s", str1, &val1, str2);

17
.5
42
Smith

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the arithmetic operator:

g / -m * 2

which order will the operators be executed sequentially?

/ - *
* / -
- * /
- / *

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?