MInd Freak Round-1

MInd Freak Round-1

University

50 Qs

quiz-placeholder

Similar activities

CpE 312 - Midterm Exam 1st Sem SY 2020-2021

CpE 312 - Midterm Exam 1st Sem SY 2020-2021

University

50 Qs

DSA CO5

DSA CO5

University

50 Qs

PAT qualifying exam 31 Aug

PAT qualifying exam 31 Aug

University

50 Qs

Data Structures Quiz

Data Structures Quiz

University

50 Qs

Pretest Informatika 9 Berpikir Komputasional

Pretest Informatika 9 Berpikir Komputasional

9th Grade - University

50 Qs

DSA QUIZ

DSA QUIZ

University

45 Qs

Chuong3_Collection

Chuong3_Collection

University

48 Qs

EAS Struktur Data Kelas D

EAS Struktur Data Kelas D

University

47 Qs

MInd Freak Round-1

MInd Freak Round-1

Assessment

Quiz

Computers

University

Hard

Created by

K SAIRAM

Used 3+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the error in this C program: #include <stdio.h> int main() { print("Hello, World!"); return 0; }

Missing #include statement

Incorrect function name

Syntax error in return statement

No error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code? int main() { char c = 'A'; printf("%d", c); return 0; }

65

A

Syntax error

None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the error in this C code: int main() { int number = 100.5; printf("%d", number); return 0; }

Assigning float to int

Syntax error

No error

Wrong printf format

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "void" keyword indicate in C programming when used in a function declaration?

It specifies that the function returns an integer value

It specifies that the function does not return any value

It specifies the data type of the function

It specifies the access level of the function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the "+= 1" statement in a loop?

It increments the loop counter by 1

It adds 1 to the loop variable

It concatenates 1 to a string

It adds 1 to the loop sum

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the acronym "URL" stand for in the context of web technology?

Universal Resource Locator

Uniform Resource Locator

Unique Resource Locator

Unified Resource Locator

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the third element in an array named 'arr'?

arr[2]

arr[3]

arr(2)

arr(3)

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?