Computer Science Exam: Key Concepts

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which component is responsible for controlling and coordinating all input and output devices in a computer system?

  • Control Unit (CU) (correct)
  • Memory Unit (MU)
  • Visual Display Unit (VDU)
  • Arithmetic Logic Unit (ALU)

Which of the following terms best describes the smallest addressable graphical element on a display?

  • Pixel (correct)
  • Resolution
  • Aspect Ratio
  • Picture

The equivalent of 1 GB in megabytes is:

  • `1000` KB
  • `1024` KB
  • `1024` MB (correct)
  • `1000` MB

Which of the following is considered a non-weighted code?

<p>Excess 3 BCD (C)</p> Signup and view all the answers

Examine the C++ code snippet:

void main()
{
 int a=5, b=8;
 cout<<"a="<<a
}

What is the primary error in this program segment?

<p>A statement is missing (B)</p> Signup and view all the answers

The conditional statement if(test condition) Statement-1; Statement-2; demonstrates:

<p>Simple if selection (C)</p> Signup and view all the answers

Which individual is recognized as the creator of the C++ programming language?

<p>Bjarne Stroustrup (D)</p> Signup and view all the answers

To utilize the setw() and endl objects in C++, which header file must be included?

<p><code>iomanip.h</code> (D)</p> Signup and view all the answers

Given the assertion: 'A do-while loop is a post-tested loop' and the reason: 'This loop repeats the execution of a set of statements until the condition is TRUE', evaluate their correctness.

<p>A is true and R is not correct explanation (A)</p> Signup and view all the answers

When declaring an array, what value does the index typically start at?

<p>Zero (C)</p> Signup and view all the answers

Flashcards

Control Unit (CU)

The unit that controls and coordinates all input and output devices of a computer system.

Pixel

The smallest addressable dot on a display screen.

Do-while loop

A post-tested loop that executes a block of statements at least once.

Non-weighted code

A code that does not use weighted bit positions to represent decimal numbers.

Signup and view all the flashcards

1 GB

1024 Megabytes

Signup and view all the flashcards

Recursive function

A function that calls itself.

Signup and view all the flashcards

Post Increment Operator

An operator that increments the value of a variable after it is used in an expression.

Signup and view all the flashcards

Stream extraction operator

The operator used to read input from the standard input stream.

Signup and view all the flashcards

int

The data type used to represent array subscripts.

Signup and view all the flashcards

Constant, Variable or Expression argument

An argument that maintains its value throughout the execution of a function.

Signup and view all the flashcards

Study Notes

  • The Computer Science exam is for 70 marks and lasts 3 hours 15 minutes.
  • Part A consists of 15 multiple-choice questions, each worth 1 mark.

Key Concepts

  • The Control Unit (CU) controls and coordinates all input and output devices of a system.
  • The smallest displayable dot is a Pixel.
  • 1GB (Gigabyte) is equivalent to 1024MB (Megabytes).
  • EBCDIC code is a non-weighted code.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Computer Science Chapter: The CPU
5 questions
CPU: Control Unit, ALU, Clock
10 questions
Use Quizgecko on...
Browser
Browser