Byte Bash-2k24

Byte Bash-2k24

24 Qs

quiz-placeholder

Similar activities

First Round

First Round

KG - University

25 Qs

สอบปลายภาคม.3 คอมพิวเตอร์

สอบปลายภาคม.3 คอมพิวเตอร์

KG - University

20 Qs

Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

HHB 2.6 Cardiac Cycle QUIZS

HHB 2.6 Cardiac Cycle QUIZS

11th Grade

20 Qs

SOAL BAB OPEN LOOP DAN CLOSE LOOP

SOAL BAB OPEN LOOP DAN CLOSE LOOP

12th Grade

25 Qs

Алгоритм (276-300)

Алгоритм (276-300)

KG - University

25 Qs

NCCE Student Knowledge Questions - design and development 1

NCCE Student Knowledge Questions - design and development 1

KG - University

22 Qs

Further Python

Further Python

KG - University

20 Qs

Byte Bash-2k24

Byte Bash-2k24

Assessment

Quiz

others

Hard

Created by

244021 Joanne Pranita

Used 1+ times

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?