NEXUS'25

NEXUS'25

University

20 Qs

quiz-placeholder

Similar activities

Code Blitz 40

Code Blitz 40

University

15 Qs

Codigo

Codigo

University

15 Qs

Lesson 7 Structuring a PLC Program

Lesson 7 Structuring a PLC Program

University

15 Qs

Code Sprint '25

Code Sprint '25

University

20 Qs

Java MCQ Test Day-2

Java MCQ Test Day-2

University

20 Qs

TECH WHIZ

TECH WHIZ

University

15 Qs

Artificial Neural Networks (Part 1- Part 3) Quiz

Artificial Neural Networks (Part 1- Part 3) Quiz

University

20 Qs

Introduction to C++

Introduction to C++

University

20 Qs

NEXUS'25

NEXUS'25

Assessment

Quiz

Engineering

University

Hard

Created by

Ramkabilan Ramkabilan

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to declare a variable in C?

int num;

int num:

int num = 10.5;

num int;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct C identifier?

1variable

_variable1

variable-1

variable 1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int data type in C (on most systems)?

1 byte

2 bytes

4 bytes

8 bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's output of the the following code?

Equal

Not Equal

Error

None of this above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

5

6

Compilation error

Undefined behavior

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

2 3

3 2

5 1

1 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

5

10

Compile-time error

Undefined behavior

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?