cs201 quiz 1 topic 13-18.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 1 topic 13-18.pdf for free?

You can preview and download "cs201 quiz 1 topic 13-18.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-1-topic-13-18-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 quiz 1 Fall 2021
                             TOPIC 13-18
        ORANGE MONKEY TEAM

1. In an n-dimensional array , we use _________ for loop(s) to populate the array

                         n

2. In 3 dimensional array, we use _________for loop(s) to populate the array

                                            3

3. In 2 dimensional array, we use _________for loop(s) to populate the array
                            2

4. In 1 dimensional array, we use _________for loop(s) to populate the array
                              1

5. A group is a record of related__________

                Fields

6. ___________contains functions for manipulations of character data

                    ctype.h

7. Ifstream inFile refers _________

          Object for reading from a file

8. ofstream outFile refers _________

             object for writing to a file

9. A character is stored in the memory in ________

                             Byte

10. A string which is assigned to a string variable is terminated by

                                                                                    1

                      Null character

11. When an identifier is declared with keyword const then,

                 Its value cannot be changed

12. If stream is used for____________

                           Input file stream

13. Which of the following option is correct about array

               Only one type of elements can be stored in an array

14. Suppose that an integer type pointer contains a memory address 0x221220. What
    will be the new memory address if we increment this pointer by one

                   0x221224

15. In the case of pointer to pointer or ___________ the first pointer contains the
   address of the second pointer, which contains the address of the variable, which
   contains the desired value

                                      Double dereference

16. The data in the memory is _________

                    Volatile

17. Suppose we have a file with name myfile.text What will be the correct syntax of file
   opening for input

               myFile,open(“myfile.text”, ios::in);

18. In analysis, we try to have a __________

            Precise problem statement

19. ______________ Returns true if c is a digit or a letter and false otherwise

                               int isalnum ( int c)

20. ______________ Returns true if c is a digit and false otherwise
              int isdigit(int c)

                                                                                       2

21. ______________ Returns true if c is a letter and false otherwise
                  Int isalpha(int c)

22. ______________ Returns true if c is a hexadecimal digit character and false
    otherwise

                        Int isxdigit(int c)

23. ______________ Returns true if c is a lowercase letter and false otherwise

                Int islower(int c)

24. ______________ Returns true if c is a uppercase letter and false otherwise

                         Int isupper(int c)
25. ______________ if c is an uppercase letter, tolower returns c as a lowercase letter.
    Otherwise, tolower returns the argument unchanged
                   Int tolower (int c)

26. ______________ if c is an lowercase letter, toupper returns c as a uppercase letter.
    Otherwise, toupper returns the argument unchanged
                  Int toupper(int c)
27. Returns true if c is a white-space character newline (‘\n’), space (‘’), from feed (‘\f’),
    carriage return (‘\r’), horizontal tab (‘\t\), or vertical tab (‘\v’) and false otherwise

                     Int isspace(int c)

28. ____________returns true if c is a control character and false otherwise

                      Int iscntrl(int c)

29. ________Returns true if c is a printing character other than a space, a digit, or a
   letter and false otherwise

                 Int ispunct (int c)

30. Return true value if c is a printing character including space (‘’) and false
   otherwise

                 Int isprint (int c)

                                                                                            3

31. Returns true if c is a printing character other than space(‘’) and false otherwise

                         Int isgraph(int c)

32. The function tolower and toupper are ___________

                  Conversion function

33. Which header file must be included to use the function tolower() and toupper()

                                 Ctype.h

34. Which mode of file is used to open a file or stream for insertion

               Out

35. Which mode of file is used to open a file or stream for extraction

                        In

36. Append rather than truncate an existing file. Each insertion will be written to the
    end of the file
                         App
37. Discards the file’s contents if it exists.

           Trunk

38. Opens the file without truncating, but allows data to be written anywhere in the file

                  Ate

39. Treat the file as binary rather than text. A binary file has data stored in internal
   formats, rather than readable text format

                        Binary

40. Following is the declaration of a ______ array. Int arr[2][2]

                2 dimensional

41. _________are conventional names of the command line parameters of the ‘main()’
    function.

              ‘argc’ and ‘argv’

                                                                                            4

42. What will be the correct syntax for declaration of the following statement

       ‘ptr is a constant pointer to an integer

             Int*const ptr;

43. What will be the correct syntax for declaration of the following statement

       ‘ptr is a pointer to const in’

                               const int *ptr.

44. Transpose of a matrix means that when we interchange rows and
    columns_________

                The first row becomes the first columns

45. Char dest[50] = using strncat function”;
    Char src[50] = this part is added and this is ignored;

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank