CSE C - 05.01.24

CSE C - 05.01.24

University

10 Qs

quiz-placeholder

Similar activities

Milking Minds 2 17-01-24

Milking Minds 2 17-01-24

University

15 Qs

Recursion

Recursion

University

8 Qs

C Programming Quiz-1

C Programming Quiz-1

University

10 Qs

c-languiz

c-languiz

University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

C programming

C programming

University

15 Qs

TECH INTELLECT - ROUND 2

TECH INTELLECT - ROUND 2

University

10 Qs

C Programming - Basics 001

C Programming - Basics 001

University

10 Qs

CSE C - 05.01.24

CSE C - 05.01.24

Assessment

Quiz

Computers

University

Hard

Created by

Santhanalakshmi Kabilan

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Who is the father of C language?

Steve Jobs

James Gosling

Dennis Ritchie

Rasmus Lerdorf

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

All keywords in C are in

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following cannot be a variable name in C?

volatile

true

friend

export

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT possible with any 2 operators in C?

Different precedence, same associativity

Different precedence, different associativity

Same precedence, different associativity

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Functions in C Language are always

Internal

External

Both Internal and External

External and Internal are not valid terms for functions

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will be the output of the following C code?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int y = 10000;

  5. int y = 34;

  6. printf("Hello World! %d\n", y);

  7. return 0;

  8. }

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will happen if the following C code is executed?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int main = 3;

  5. printf("%d", main);

  6. return 0;

  7. }

It will cause a compile-time error

It will cause a run-time error

It will run without any error and prints 3

It will experience infinite looping

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?