Byte Bash

Byte Bash

24 Qs

quiz-placeholder

Similar activities

Lembar Kerja Siswa 2 kelas 8B

Lembar Kerja Siswa 2 kelas 8B

KG - University

20 Qs

Tes Diagnostik Informatika X SMA Labschool Cibubur 2023/2024

Tes Diagnostik Informatika X SMA Labschool Cibubur 2023/2024

10th Grade

22 Qs

Quiz - Alpro E

Quiz - Alpro E

KG - University

20 Qs

FOT Post-Test - Microbit:

FOT Post-Test - Microbit:

8th Grade

27 Qs

JAVASCRIPT FINAL EXAM

JAVASCRIPT FINAL EXAM

KG - University

20 Qs

HHB 2.6 Cardiac Cycle QUIZS

HHB 2.6 Cardiac Cycle QUIZS

11th Grade

20 Qs

0.3 MFM2P GRADE 9 REVIEW

0.3 MFM2P GRADE 9 REVIEW

KG - University

25 Qs

SOAL BAB OPEN LOOP DAN CLOSE LOOP

SOAL BAB OPEN LOOP DAN CLOSE LOOP

12th Grade

25 Qs

Byte Bash

Byte Bash

Assessment

Quiz

others

Hard

Created by

244021 Joanne Pranita

FREE Resource

24 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

30 sec • Ungraded

Batch No.

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Year
II
III

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly declares a string in C?
A) char str[] = "Hello";
B) char *str = "Hello";
C) char[] str = "Hello";
D) string str = "Hello";

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code? #include int main() { int x = 10; if (x = 5) { printf("Hello "); } else { printf("Hi "); } return 0; }
A) Hello
B) Hi
C) Compiler Error
D) Segmentation Fault

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax to define a function in C that takes an integer parameter and returns an integer?
A) int function(int x) {}
B) int function(x) int x; {}
C) function(int x) { return x; }
D) int x function(int) {}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? #include int main() { int x = 5; printf("%d", x++); printf("%d", ++x); return 0; }
56
65
67
57

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?