Byte Bash-2k24

Byte Bash-2k24

24 Qs

quiz-placeholder

Similar activities

C++ Biến, hằng số - Cấu trúc lập trình tuần tự

C++ Biến, hằng số - Cấu trúc lập trình tuần tự

KG - University

20 Qs

Web Development Technologies II Viva Quiz

Web Development Technologies II Viva Quiz

KG - University

19 Qs

Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

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

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

KG - University

25 Qs

Byte Bash

Byte Bash

KG - University

24 Qs

First Round

First Round

KG - University

25 Qs

First Round

First Round

KG - University

25 Qs

JAVASCRIPT FINAL EXAM

JAVASCRIPT FINAL EXAM

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?