Topic testComputer ScienceFree testTest 1 of 142

BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test

BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test is an online topic test in the BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science pattern, covering C, C++ and OOP. Attempt it on SeatBeat with a timer like the real exam, then see a detailed solution for every question and your score and weak-topic analysis.

30
Questions
30
Minutes
30
Marks
−0.33
Negative marking

Topics in this test

TopicQuestions
C, C++ and OOP30

Difficulty: 4 easy · 13 medium · 13 hard

Sample questions with answers

The first 5 questions of this free test.

  1. Q1. The C programming language was originally developed by Dennis Ritchie at Bell Laboratories in which year?

    • A. 1972
    • B. 1969
    • C. 1983
    • D. 1978
    Solution

    Dennis Ritchie developed C at Bell Labs in 1972, evolving it from the earlier B language.

  2. Q2. Who authored the original C++ language, developed at Bell Laboratories, which was initially called 'C with Classes'?

    • A. Dennis Ritchie
    • B. Bjarne Stroustrup
    • C. James Gosling
    • D. Ken Thompson
    Solution

    Bjarne Stroustrup developed C++ at Bell Laboratories beginning in 1979, originally naming it 'C with Classes' before it was renamed C++ in 1983.

  3. Q3. In C++, which access specifier makes class members accessible within the class and to its derived classes, but not to objects outside the class hierarchy?

    • A. friend
    • B. private
    • C. public
    • D. protected
    Solution

    The 'protected' specifier allows access within the class itself and in derived classes, but not through objects of the class externally. 'private' blocks derived classes, and 'public' allows outside access.

  4. Q4. Which one of the following is NOT a storage class in C?

    • A. auto
    • B. static
    • C. volatile
    • D. register
    Solution

    The four storage classes in C are auto, register, static and extern. 'volatile' is a type qualifier, not a storage class.

  5. Q5. Arrange the following ISO C++ language standards in correct chronological order of publication, from earliest to latest.

    • A. C++03, C++98, C++14, C++11
    • B. C++98, C++03, C++11, C++14
    • C. C++03, C++98, C++11, C++14
    • D. C++98, C++11, C++03, C++14
    Solution

    The first ISO C++ standard was C++98 (1998), followed by the C++03 (2003) corrigendum, then the major C++11 (2011) revision, and C++14 (2014).

Frequently asked questions

How many questions are in the BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test?

30 questions for 30 marks, to be answered in 30 minutes.

Is there negative marking in the BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test?

Yes — 0.33 marks are deducted for each wrong answer, as in the real exam pattern.

Which topics does the BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test cover?

C, C++ and OOP (30 questions).

Is the BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test free?

Yes — this test is free. Create a free SeatBeat account and attempt it online; you get the solutions and your score analysis after submitting.

More tests in the BPSC TRE 4.0 Computer Science Teacher Mock Test (Class 11-12) – Advance Level

See the full BPSC TRE 4.0 Computer Science Teacher Mock Test (Class 11-12) – Advance Level → · BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science: pattern, notification & syllabus →

BPSC TRE 4.0 (Advance) (Class 11-12) Computer Science C, C++ and OOP – Topic Test — Free Online Mock Test | SeatBeat