
Module01_C_M_M&A
Authored by Nafees Ahmed Khan
Engineering
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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( )
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University