Search Header Logo

MInd Freak Round-1

Authored by K SAIRAM

Computers

University

Used 3+ times

MInd Freak Round-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?