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?
https://vustudents.ning.com/group/cs201introductiontoprogramming/fo...
CS201_Viva_Test_Questions_File_Spring_2019
CS201 VIVA Question shared.
1. Difference between while and do while loop.
2. What is structure? Why we use structure?
3. why we use header in any program
4.Types of arithmetic operators?
5. Types of logical operators.
6.Difference between call by value and call by reference
7. Why we use pointer?
CS201 VIVA Question
1. Difference between while and do while loop.
2. What is structure? Why we use structure?
3. why we use header in any program
4.Types of arithmetic operators?
5. Types of logical operators.
6.Difference between call by value and call by reference
7. Why we use pointer?
*CS_201 viva Important Topics 100%*
1.Variables
2.Data Types and its size
3.Operators
4.Conditional State ments
5.Loops ( specially Diff between While and Do-While )
6.Function ( Diff between call by value and call by reference)
7.Arrays(1D and 2D)
8.String (NULL character ( '\0' ))
9.Constant (const keyword)
variable Scope(Diff between 10.Local & Global Variable)
11.File Handling(fstream , ifstream , ofstream , open() , close() )
structure (struct keyword)
12.Memory Allocation in C (Static & Dynamic Memory Allocation)
free() function
casting (cast keyword)
13.Memory Allocation in C++ (new operator , delete Operator)
class( Object ,
14.Access specifier (private,protected,public) ,
15.Accesser functions (setter( ) and getter ( ),
16.Data members------> private ,
member functions-----> public ,
17.Types of Constructor
(Default Constructor ,
18.Parameterized Constructor ,
Copy Constructor) ,
19.Destructor,
20.Dangling ,
inline Function (inline keyword ) ,
21.Friend Function (friend keyword))
I've done my viva..
1 Variable and constant kya hoty hn..
2 loops ku use krty hn hm program me..
3 string me condition change krny k ley konsa syntax use hota h..
4 intdatatype variable h ya constant.
5 pointer kya hota h..
6 structure default by public hota h ye private..
7 ek pic send ki thi program ki uski output btani thi..
Viva Questions
1. What are variable?
2. What are pointer?
3. What is Function, its types, calling of Function
4. What are constructor?
5. What is structure?
6. Data type
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.
We are user-generated contents & non-commercial site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. All Contents on site are for personal & non-commercial use.We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post