C Language Quiz

C Language Quiz

University

15 Qs

quiz-placeholder

Similar activities

Java_Quiz_Part_2

Java_Quiz_Part_2

University

12 Qs

Java Basics Quiz for CH/PT Students

Java Basics Quiz for CH/PT Students

University

16 Qs

Python_Quiz_1

Python_Quiz_1

University

10 Qs

CLC Lesson 4&5 Quiz

CLC Lesson 4&5 Quiz

University

12 Qs

OOP-Q1

OOP-Q1

University

10 Qs

BAB 4 SISTEM KOMPUTER KELAS 8

BAB 4 SISTEM KOMPUTER KELAS 8

8th Grade - University

20 Qs

Review Time

Review Time

11th Grade - University

15 Qs

2F-3 | Python Quiz | 22/11/2024

2F-3 | Python Quiz | 22/11/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?