YOUR SUBJECT CS201 Introduction to ProgrammingChange subject ↗
PRACTICE AT YOUR OWN PACE

CS201 practice questions

Think through the options before revealing the answer. Use the term filter to focus your revision.

86 questions
CS201 · Midterm#86

eof( ), bad( ), good( ), clear( ) all are manipulators.

  1. A
    True
  2. B
    False
  3. C
    Both
  4. D
    None of these
Show correct answer

Correct answer: B. False

Check community answers against your course notes.Question permalink ↗
CS201 · Midterm#85 · Lecture 1

What is computer

  1. A
    Electronic device
  2. B
    Mechanical device
  3. C
    Common device
  4. D
    None of these
Show correct answer

Correct answer: A. Electronic device

Check community answers against your course notes.Question permalink ↗
CS201 · Midterm#84 · Lecture 1

What is computer

  1. A
    Electronic device
  2. B
    Mechanical device
  3. C
    Common device
  4. D
    None of these
Show correct answer

Correct answer: A. Electronic device

Check community answers against your course notes.Question permalink ↗
CS201 · Final-term only#83 · Lecture 19

lec 19-45 solve mcqs

  1. A
    operators
  2. B
    syntax
  3. C
    eof
  4. D
    good
Show correct answer

Correct answer: A. operators

Check community answers against your course notes.Question permalink ↗
CS201 · Final-term only#82

Classes defined inside other classes are called ________ classes

  1. A
    looped
  2. B
    nested
  3. C
    none of the given options
  4. D
    overloaded
Show correct answer

Correct answer: B. nested

Check community answers against your course notes.Question permalink ↗
CS201 · Final-term only#81

Header file: fstream.h includes the definition of the stream classes

  1. A

    ifstream, fstream, ofstream
  2. B
    ifstream, fstream, cout
  3. C

    fstream, cin, cout
  4. D
    None of the above
Show correct answer

Correct answer: A.
ifstream, fstream, ofstream

Check community answers against your course notes.Question permalink ↗
CS201 · Final-term only#80

Eof(), bad(), good(), clear() all are manipulators.

  1. A
    true
  2. B
    false
Show correct answer

Correct answer: B. false

Check community answers against your course notes.Question permalink ↗
CS201 · Midterm#79

The default visibilttyfor the data members of class is

  1. A
    private

  2. B
    public
  3. C
    accessible outside the class
  4. D
    protected
Show correct answer

Correct answer: A. private

Check community answers against your course notes.Question permalink ↗
CS201 · Final-term only#78

Mcqs

  1. A
    Cs201
  2. B
    Final term
  3. C
    Past papers
  4. D
    Solve
Show correct answer

Correct answer: A. Cs201

Check community answers against your course notes.Question permalink ↗
CS201 · Final-term only#77

Classes defined inside other classes are called ________ classes

  1. A
    looped
  2. B
    nested
  3. C
    overloaded
  4. D
    none of the given options
Show correct answer

Correct answer: D. none of the given options

Check community answers against your course notes.Question permalink ↗