Byte Bash-2k24

Byte Bash-2k24

24 Qs

quiz-placeholder

Similar activities

Quiz - Alpro D

Quiz - Alpro D

KG - University

20 Qs

SV: Chapter 4: OSPF  point-to-point

SV: Chapter 4: OSPF point-to-point

KG - University

20 Qs

VC: Chapter 4: OSPF  point-to-point

VC: Chapter 4: OSPF point-to-point

KG - University

21 Qs

Chapter 3 Test: Strings and Methods

Chapter 3 Test: Strings and Methods

KG - University

20 Qs

Byte Bash

Byte Bash

KG - University

24 Qs

First Round

First Round

KG - University

25 Qs

แบบทดสอบวัดผลกลางภาคเรียน ชั้น ม.2 2567

แบบทดสอบวัดผลกลางภาคเรียน ชั้น ม.2 2567

8th Grade

20 Qs

VERIFICA STRUTTURATA DI INFORMATICA

VERIFICA STRUTTURATA DI INFORMATICA

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?