CS201 QUIZ 2-converted-merged.pdf

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS201 – Introduction to Programming
Faculty
Computer Science
Format
PDF
Type
Quiz
Coverage
Quizzes & Objective Exam Scope

Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.

What this file covers — CS201 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS201 QUIZ 2-converted-merged.pdf for free?

You can preview and download "CS201 QUIZ 2-converted-merged.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-2-converted-merged-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS201 file?

This document covers Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS201 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS201 solved past papers and handouts verified for 2026 exams?

Yes. All CS201 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                     CS201 For final term

                      UPDATED QUIZ 2 2021

               PROVIDE BY ORANGE MONKEY

1. To avoid dangling reference don’t return

               The reference of a local variable from the function……confirm

2. Which one of the following is the declaration of overloaded pre-increment operator
   implemented as member function?

               Class name operator ++()….confirm from net

3. Reference is a thing by which we can create ________ of any data type

                     Synonym…..confirm

4. Reference cannot be uninitialized because it is impossible to ______.

          Initialize a Null pointer…..confirm

5. The syntax of declaration of a function that returns the reference to an integer is
   ______.

                  Int & myfunc()……confirm

6. Friend function declaration can go _________ the class

                   Anywhere in……confirm

7. To prevent dangling reference the functions returning reference should be used with
   ____________.

                Static and global variables……….confirm

8. The only operator that the compiler overloads for user define data type be default in

            Arrangement (=) operator …..confirm from net

9. If operator function is non-member function then object on left side of operator
   cannot be ______________?

             Object of member function…….confirm

   10. Which of the following functionality can be achieved through overloading?

           New operators cannot be defined through operator overloading

   11. The return type of the overloading new operator must be?

                Void*….confirm from net

   12. For binary member operators, operands on the _________ derives (calls) the
       operation.

                  Left…….confirm

   13. Identify the correct method of adding two strings, s1 and s2.

                         Strcat(s1,s2)

   14. A friend function of a class is a function defined _________.

              Outside that class and that has the right to access all members of the class

   15. Care must be taken about the correct ______ of operator while overloading.

                  Both Semantic and Complexity……confirm from net

   16. We can _______ reference.

           None of the given….confirm

   17. If text is a pointer of type string then what will be the functionality of following
       statement?

       Text = new String {5};

                     Creates array of 5 objects dynamically…..confirm from net

   18. Look at the statement given below
       Int & a; and tell what will happen?

           Compiler will generate an error ‘a’ declared as reference but not
initialized……confirm

   19. The syntax of declaration of a function that returns the reference to an integer is
      ______.

                     Int & myfunc();….confirm

   20. Which of the following syntax is best used to delete an array of 5 objects named
       ‘string’ allocated using new operator.

              Delete []string;….confirm from net

   21. If we do not write our own assignment operator then which of the following problem
       may occur?

   22. Identify the correct syntax for making a class friend of other class

                    friend ClassOne
                    {
                    OtherClass;
                    private;
                    //here we write the data members of ClassOne
                    };
   23. Once an object is declared as a friend ________________

               It has access to all non-public members as if they were public….confirm
from net

   24. Reference is a thing by which we can create ______ of any data type.

            alias or synonym…both………confirm

   25. A _______ function of a class is defined outside that class scope. But it can access all
       private and protected members of the class.

                         Firend…..confirm

   26. Once the __________ are created they exist for the life time of the program

              Static variables…..confirm

   27. A class can be declared as a ________ of other class.

              Friend….confirm

28. Reference variables must _________.

            Be initialized after they are declared….confirm from net

29. We can delete an array of objects without specifying [] brackets if a class is not
    doing dynamic memory allocation internally.

                   True
30. Operator overloading is to allow the same operator to be bound to more than one
   implementation, depending on the types of the ______.

           Operands…….confirm

31. The friend keyword provides access ___________.

          In one direction only……confirm

32. The friend functions are _________.

               Not member of a class….confirm

33. Ternary operator is shown as _________.

          ?;………confirm

34. Reference is not really an address it is __________.

              A synonym

35. In C++ operators, which of the following operator cannot be overloaded ________.

                ?;…..confrim

36. Overloaded assignment operator must be

      Member function of class

37. An address is a ________, while a pointer is a _______.

        Variable, constant…confirm from net

38. When new operator is overloaded at global level then corresponding built-in new
    operator will also be visible to whole of the program.

            False….confirm

39.     When new or delete operator is overloaded at global level then corresponding
      built-in new or delete operator will not be visible to whole of the program.

                          True….confirm

40. When an operator function is defined as member function for a binary Plus (+)
   operator then the number of extra arguments it takes is/are

                One….confirmF

41. i+=2 is equivalent to _______.

        i= i + 2;

42. Assignment operator is used to initialize a newly declared object from existing
    object.

              True….confirm from net

43. When an array of object is created dynamically then there is no way to provide

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank