MInd Freak Round-1

MInd Freak Round-1

University

50 Qs

quiz-placeholder

Similar activities

CODE_ASSESMENT

CODE_ASSESMENT

University

50 Qs

IPTM Midterm EXAM | Sec 2  12 Mar 2021

IPTM Midterm EXAM | Sec 2 12 Mar 2021

University

55 Qs

SD (stack, queue, graph)

SD (stack, queue, graph)

University

50 Qs

LATIHAN SOAL

LATIHAN SOAL

10th Grade - University

50 Qs

C program MCQ contest

C program MCQ contest

University

50 Qs

PCPH 0001

PCPH 0001

University

50 Qs

Data Structures -Quiz- I B.Sc. AI & ML

Data Structures -Quiz- I B.Sc. AI & ML

University

50 Qs

CS8391 - Data Structure  - IAT I

CS8391 - Data Structure - IAT I

University

50 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?