Unit 1 : C Basics

Unit 1 : C Basics

University

8 Qs

quiz-placeholder

Similar activities

Java Static

Java Static

University

10 Qs

Talent Next Java MCQ-1

Talent Next Java MCQ-1

University

10 Qs

java

java

University - Professional Development

8 Qs

Array

Array

University

11 Qs

IPC 144 - Week 2

IPC 144 - Week 2

University

8 Qs

Inheritance

Inheritance

University

10 Qs

OOP

OOP

University

13 Qs

C Basics

C Basics

University

12 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()