
Module01_C_M_M&A

Quiz
•
Engineering
•
University
•
Hard

Nafees Ahmed Khan
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
C02:2: From given option which one is Library that is used in c programming?
include
stdio
printf
return
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
CO1:2: In the following program which variable is global variable?
#include <stdio.h>
int result = 0;
int main() {
int num1, num2;
printf("Enter first number: ");
scanf("%d", &num1);
printf("Enter second number: ");
scanf("%d", &num2);
result = num1 + num2;
printf("Sum: %d\n", result);
return 0;
}
num1
num2
result
num1 and num2
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
CO1:1: Identify from the given options which are the correct identifiers?
return
Age
_cars
1apple
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
CO2:2: To store a string "hello world", which data type is used.
int
float
char
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CO2:2: From the given options, which one is correct data type for defining 10.75.
int data=10.75
float data=10.75
char data=10.75
none
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
CO1:1: what are the correct way to define constant in a program.
#define MAX 100
const float pi = 3.14159
const pi = 3.14159
#define MAX
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CO1:1: From given option, which function is used to display single character as output.
getchar( )
putchar( )
gets( )
puts( )
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University