Unit 2 :  Operators

Unit 2 : Operators

University

8 Qs

quiz-placeholder

Similar activities

ITESA Roadmap Event 12-09-24

ITESA Roadmap Event 12-09-24

University

10 Qs

JavaScript Quiz

JavaScript Quiz

University

12 Qs

Functions C

Functions C

University

10 Qs

Basics Of C Programming

Basics Of C Programming

University

10 Qs

C Programming Test-1

C Programming Test-1

12th Grade - Professional Development

10 Qs

IMPERATIVE PROGRAMMING WITH C

IMPERATIVE PROGRAMMING WITH C

University

10 Qs

Introduction to HCI

Introduction to HCI

University

10 Qs

ppl

ppl

University

10 Qs

Unit 2 :  Operators

Unit 2 : Operators

Assessment

Quiz

Computers

University

Easy

Created by

Abhishek Pandey

Used 4+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

refers to the practice of adding comments and other information to your code to explain its purpose, design, and usage. 

Documentation Section

Link Section

Definition

All

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

refers to adding necessary header files that are useful in your code.

Link Section

documentation section

sub program section

all

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It includes a preprocessor directive

Definition Section

Documentation

Global Declarations

all

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The ______ function is a special function that serves as the entry point for the program.

main()

MAIN()

Main()

all

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Refers to functions or procedures that perform a specific task or set of tasks and can be called from other parts of the program.

Subprogram Section

main

global

all

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

declaration refers to the declaration of a variable or function that is accessible from any part of the program, not just from the block or function where it was declared.

Global Section

subprogram section

Link section

all

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

#include <stdio.h>

int main()

{

int main = 3;

printf("%d", main);

return 0;

}

3

Compile time error

give garbage value

run time error

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When we want to take input from the user, we use the__________ function

scanf()

printf()

sin()

all