Unit 1 : C Basics

Unit 1 : C Basics

University

8 Qs

quiz-placeholder

Similar activities

IPC144 SLG -- Week2

IPC144 SLG -- Week2

University

9 Qs

Java Arrays

Java Arrays

University

10 Qs

Servlets & JSP

Servlets & JSP

University

10 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

Basics of C

Basics of C

University

10 Qs

CSNP-04103 Chapter 2 - Components & Data Types

CSNP-04103 Chapter 2 - Components & Data Types

University

10 Qs

Operators in C

Operators in C

University

12 Qs

C MCQ's for Interview

C MCQ's for Interview

University

10 Qs

Unit 1 : C Basics

Unit 1 : C Basics

Assessment

Quiz

Computers

University

Medium

Created by

Abhishek Pandey

Used 5+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C language was developed by

Ken Thompson

Bjarne Stroustrup

James Gosling

Dennis Ritchie

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which language is considered the "mother" of modern programming languages?

C#

Python

C

JAVA

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does print() do in most programming languages?

It ends the program.

It assigns a value.

It outputs text to the screen.

It takes input from the user.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a "compiler"?

A tool that translates source code into machine code

A type of data type

A function

An Operator

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C was originally developed for which operating system?

Windows

MS DOS

UNIX

LINUX

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which language influenced the creation of C?

Assembly

Java

Pascal

B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is mandatory in a C program?

#include directives

Global variables

main function

User-defined functions

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare the main function in C?

int main{}

int Main()

int main()

void main()