
Classes, Objects & Functions

Quiz
•
Information Technology (IT)
•
University
•
Medium
Dr.Jeyanthi P
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes function overloading in C++?
Defining functions with the same name and same parameters
Defining multiple functions with the same name but different parameter lists
Defining functions with the same name but different return types only
Using functions without return types
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is required for function overloading to occur?
Same function name but different parameter list
Different function names with same parameter list
Same function name and same parameter list
Functions having same return type
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a member function outside a class?
Using @ symbol
Using the scope resolution operator (::)
Using arrow operator (->)
Using dot operator (.)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a static data member?
const
register
static
extern
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about static data members is true?
Each object has its own copy of static data members
Static members can only be used within constructors
Static members cannot be initialized
Static data members are shared among all objects of the class
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can a static member function be called?
Only through an object
Through an inherited class only
Using class name and scope resolution operator
Using 'this' pointer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following cannot be accessed by a static member function?
Static data members
Global variables
Non-static data members
Static member functions
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Mastering Microsoft OneDrive Basics

Quiz
•
12th Grade - University
15 questions
Quiz on Object-Oriented Systems Analysis and Design

Quiz
•
University
10 questions
Quiz Meet 3 Mini SC Programing

Quiz
•
University
17 questions
Problem Solving & Programming Design (part 4)

Quiz
•
University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Quiz
•
11th Grade - University
10 questions
Website Quiz

Quiz
•
University
11 questions
CodeQuest TechTopia 2025-26

Quiz
•
University
13 questions
Nano quiz: Bottleneck of Motivation 2 and Receptivity Threshold

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University