
cd114b_pps_quiz2_2024_2025_sem1
Authored by kunisetti subramanyam
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a correct format for declaration of function?
return-type function-name(argument type);
return-type function-name(argument type){}
return-type (argument type)function-name;
all of the mentioned
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following function declaration is illegal?
int 1bhk(int);
int 1bhk(int a);
int 2bhk(int*, int []);
all of the mentioned
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function definition will run correctly?
int sum(int a, int b) return (a + b);
int sum(int a, int b) {return (a + b);}
int sum(a, b)
return (a + b);
none of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Can we use a function as a parameter of another function? [Eg: void wow(int func())].
Yes
No
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The value obtained in the function is given back to main by using ________ keyword.
return
static
new
volatile
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In c, what is a Function primarily used for?
Decision making
variable declarration
code organization and reusability
printing output
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
what is the result of statement printf("%d",sizeof(int *));
8
4
2
1
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
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
16 questions
Quiz #1
Quiz
•
University
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
15 questions
Agile Project Management
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
15 questions
Bluetooth and Wi-Fi Quiz
Quiz
•
7th Grade - University
10 questions
C++ Array Quiz
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University