CS201 viva Questions

CS201 viva Questions Asked By Instructor
CS201 viva Questions

What is constructor ?
Ans: initialize data members to memory.
What is destructor ?
Ans: remove data members from memory.
What is Assignment Operator ?
Ans: Equal sign used for assignment operator.
What is switch statement ?
Ans: Select one option from many options.
What is Array ?
Ans: Store more than one variables for same data types.
What is Abstraction ?
Ans: Enhancing program capabilities.
What is Encapsulation ?
Ans: hiding implementation from outside the world.
How many data types ?
Ans: Four
Tell the name of data types ?
Ans: Int, Float, Char, String
What is difference between while loop and do while loop ?
Ans: while loop check condition first, do-while loop first execute statement then check condition.

Pre-processor Directories

Why we Use variable? 

What is compiler and translator ? 

Syntax of arrays?

why use pointer?

difference b/w for and while loop? 

types of arrays?

infinite loop?

difference b/w c & C++/? define class?

Difference b/w Static and Dynamic memory

Contractors & Destruction

Friend Function

what is variable? 

what is compiler and translater? 

Syntax of arrays?

why use pointer?

differenc b/w for and while loop? 

types of arrays?

infinite loop?

difference b/w c & C++/? define class?

Welcome to Our WebSite! - | LMS Help | Pakistan NO # 1 . Website for the Students of Virtual University.

Next
Previous
Click here for Comments

0 comments: