C Language Quiz

C Language Quiz

University

15 Qs

quiz-placeholder

Similar activities

Quiz Informatika

Quiz Informatika

11th Grade - University

10 Qs

Java Basics, operators and variables (CH/PT)

Java Basics, operators and variables (CH/PT)

University

16 Qs

CMDP2063 Unix and C Programming

CMDP2063 Unix and C Programming

University

15 Qs

Quiz CG - Code V2

Quiz CG - Code V2

University

10 Qs

quiz1B1

quiz1B1

7th Grade - University

20 Qs

CMDP2063 Unix and C Programming (Revision)

CMDP2063 Unix and C Programming (Revision)

University

15 Qs

Operasi Input & Output C++

Operasi Input & Output C++

University

10 Qs

2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

University

20 Qs

C Language Quiz

C Language Quiz

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Rashmika Lankari

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Who is the founder of the C programming language?

Bjarne Stroustrup

Guido van Rossum

Dennis M. Ritchie

James Gosling

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is a characteristic of low-level programming languages?

Uses complex syntax

Requires a compiler for execution

Directly understood by machine hardware

Easy for humans to read

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following is a valid C program structure?

#invalid

#include

#import

#define

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What symbol is used to denote comments in C?

//

#

/* */

/*

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is the purpose of the 'main' function in a C program?

To define variables

To execute the program

To include libraries

To create comments

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which command is used to compile a C program?

execute program.c

compile program.c

run program.c

gcc program.c

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What does the escape sequence '\n' represent in C?

End of file

Tab space

New line

Backslash

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?