0% found this document useful (0 votes)
25 views2 pages

Computer Studies MCQs for Class VIII

This document contains multiple choice questions for a Class VIII Computer Studies exam, covering topics such as programming languages, algorithms, flowcharts, and data types. It includes questions about the characteristics of programming languages, valid identifiers, and the use of operators. The questions are designed to assess students' understanding of fundamental computer science concepts.

Uploaded by

mariyamunira0
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views2 pages

Computer Studies MCQs for Class VIII

This document contains multiple choice questions for a Class VIII Computer Studies exam, covering topics such as programming languages, algorithms, flowcharts, and data types. It includes questions about the characteristics of programming languages, valid identifiers, and the use of operators. The questions are designed to assess students' understanding of fundamental computer science concepts.

Uploaded by

mariyamunira0
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1 (viii) computer std

Multiple Choice Questions (MCQs)


(for 2nd Term)
CLASS: VIII
SUBJECT: COMPUTER STUDIES
=============================================================================================
Chapter – 3
Question 1) Instructions written in a language for a computer
(a) Program (b) code (d) flow chart
Question 2) Process of developing set of instructions.
(a) Executing (b) Programming (d) Saving
Question 3) This is not a programming language
(a) C (b) Java (d) English
Question 4) Basically a program in a computer involves _______ steps.
(a) one (b) three (c) two
Question 5) This is not one of the three steps a program involves.
(a) Algorithm (b) Flowchart (c) Calculation
Question 6) Programming Languages are of ________ types.
(a) two (b) three (c) Four
Question 7) ________ Languages are easier for the computer to understand.
(a) Middle level (b) Low Level (c) High Level
Question 8) The computer does not understand ________ level languages.
(a) Low (b) High (c) Middle
Question 9) The Low Level Language does not consist of –
(a) Os (b) 1s (c) 2s
Question 10) For developing programs for machine, the programmer should have a sound knowledge of –
(a) Hardware (b) Software (c) Firmware
Question 11) High level languages are ________ for the programmers to understand.
(a) Difficult (b) Easy (c) Impossible
Question 12) To understand HLL, a computer needs _________.
(a) Hardware (b) Software (c) Compiler or Interpreter
Question 13) It is the way of writing the stepwise solution to a problem.
(a) Algorithm (b) Program (c) Flowchart
Question 14) It includes the proper arrangement of steps.
(a) Flowchart (b) Algorithm (c) Program
Question 15) It is a diagrammatic representation of a set of instructions.
(a) Flowchart (b) Algorithm (c) Program
Question 16) __________ is the terminal box.
(a) Start Stop box (b) Input / Output box (c) Process box
Question 17) This box is used to get the input from the user.
(a) Start / Stop box (b) Input / output box (c) Process box
Question 18) In this box all the processes are given.
(a) Start / Stop box (b) Input / Output box (c) Process box
Question 19) This box is used when we have to check a condition.
(a) Process box (b) Decision box (c) Connector
Question 20) ________ are used to show the direction of flow of logic in a flowchart.
(a) Connector (b) Flow lines (c) Decision box
Question 21) Algorithms are written in simple _________ language.
(a) Computer (b) English (c) Programming
Question 22) Who developed flowchart to plan computer programs.
(a) Herman Goldstine (b) John Von Neumann (c) Both
Question 23) ________ helps us in designing the perfect codes for our programs.
(a) Algorithm (b) Flowchart (c) Program
Question 24) Modern Algorithm began in :
(a) 1928 (b) 1935 (c) 1982
Question 25) The direction of flow in any flowchart is
(a) top to bottom (b) bottom to top (c) Right to left

Chapter – 4

Question 1) It is a set of instructions given to computer.


(a) Identifiers (b) Program (c) Literals
Question 2) Words that convey a special meaning to language compiler.
(a) Keywords (b) Literals (c) Operators
Question 3) A long sequence of letters & digits used to name unit.
(a) Keywords (b) Identifiers (c) Literals
Question 4) Which one is false for identifiers?
(a) The first character must be a identifiers?
(b) Upper and lower case are save
(c) All characters are different
Question 5) Which one is not a Valid Identifier?
(a) Prg_1 (b) 68 (c) _AB
Question 6) Which one is a Valid Identifier?
(a) Lenovo (b) 6 Pd (c) auto
2 (viii) computer std
Question 7) These are data items, that never change value during a program run.
(a) Identifiers (b) Literals (c) Keywords
Question 8) These literals are whole numbers without decimal point or fractional part.
(a) String (b) Floating (c) Integer
Question 9) Which one of these is not a valid integer literal?
(a) -78 (b) -78.5 (c) 78
Question 10) These literals are having fractional parts.
(a) String (b) Floating (c) Integer
Question 11) Which one of these is a valid real literal?
(a) 7.6E07 (b) 8.2E (c) .80
Question 12) ________ character literals are treated as string literals.
(a) Multiple (b) Single (c) None
Question 13) A string literal is always written within _________ quotes.
(a) Single (b) Multiple (c) None
Question 14) These are tokens, that trigger some computation when applied to identifiers.
(a) Keywords (b) Token (c) Operator
Question 15) Operators that work on one operand
(a) Binary (b) Unary (c) Ternary
Question 16) Operators that operate on three operands.
(a) Binary (b) Ternary (c) Unary
Question 17) ________ data types are not composed of other data types.
(a) Number (b) Text (c) atomic
Question 18) Size of char data type :
(a) 1 byte (b) 2 bytes (c) 4 bytes
Question 19) Size of double data type.
(a) 2 bytes (b) 8 bytes (c) 4 bytes
Question 20) In how many ways a variable can be declared?
(a) 2 ways (b) 4 ways (c) 3 ways
Question 21) _________ operator is used to compare two values.
(a) Relational (b) Logical (c) Unary
Question 22) _________ operators combine two or more relational expressions to produce a single value.
(a) Relational (b) Logical (c) Binary
Question 23) To execute a VB program, press
(a) F4 (b) F5 (c) F6
Question 24) _________ are also known as separator
(a) operator (b) factor (c) Punctuators
Question 25) Variables should not be more than ________ characters.
(a) 256 (b) 255 (c) 257

Common questions

Powered by AI

Algorithms and flowcharts contribute significantly to software development by providing a clear and structured way to represent the logic and flow of a program before actual coding begins. Algorithms offer a stepwise approach to solving problems and designing efficient solutions, while flowcharts provide a diagrammatic representation that makes it easier to visualize the control flow and logical sequence of operations. These tools help in planning, debugging, and communicating the design with team members .

Logical operators are tools used in programming to combine multiple relational expressions into a single true or false value. They influence the outcome of conditional statements by allowing for complex conditions to be evaluated within decision-making constructs. Examples of logical operators include AND, OR, and NOT. By combining expressions, they enable programs to make decisions based on multiple criteria, enhancing the flexibility and intelligence of the code .

An atomic data type is distinguished by its simplicity and indivisibility, meaning it is not composed of other data types. It represents the most basic kind of data in programming, such as integers or characters. Its essential nature allows for efficient storage and manipulation by the computer system, as these types do not require additional handling for nested or complex structures. Atomic data types are fundamental in defining variables, supporting basic operations, and ensuring that a program can perform essential computational tasks .

Using English as a programming language poses significant limitations due to its ambiguity and lack of precision. Unlike formal programming languages, English does not have a strict syntax or structure, making it unsuitable for conveying the exact instructions needed for a computer to execute tasks accurately. This ambiguity can lead to misunderstandings and errors in program execution .

Flow lines in a flowchart are crucial for illustrating the direction of the logical control flow within a program. They connect different symbols like processes, conditions, and inputs/outputs, showing how control moves from one operation to another. This helps in understanding the sequence and interaction of processes, making it easier to trace, debug, and explain the program logic to others. Flow lines contribute to creating a visually coherent illustration of a program's logical structure .

Low-level languages are closer to machine code and are more easily understood by computers, allowing for faster and more direct communication with hardware. However, they are complex and difficult for programmers to use because they require detailed management of a computer's operations. In contrast, high-level languages are more abstract and use a syntax closer to human languages, making them easier for programmers to learn and write. These languages require translation into machine code through compilers or interpreters for the computer to understand .

Understanding the size of data types like 'char' (1 byte) and 'double' (8 byes) is crucial for efficient programming because it affects memory allocation and overall program performance. By knowing the size, programmers can optimize memory use, avoid overflow errors, and ensure that the program runs efficiently without using excessive resources. It aids in making informed decisions when choosing data types for variables based on required precision and range, impacting the design and efficiency of algorithms and data structures .

Having a sound knowledge of hardware is crucial for programmers because it enables them to write efficient and optimized code that can interact effectively with the machine's components. Understanding the hardware helps in managing resources such as memory, processing power, and input/output processes, which can lead to better performance and stability of software programs .

Keywords are important in programming languages because they define a set of reserved words that have special meanings and are used to perform specific operations or control the flow of a program. They are essential for the language compiler as they signal the start and end of instructions, help in lexical analysis, and ensure that the code adheres to the language's syntax rules. Keywords thus ensure that the code is readable by the compiler and can be translated into executable instructions .

Punctuators function as separators in programming languages by delimiting distinct elements within the code, such as statements, blocks of code, or parameters. They play a critical role in defining the syntax and structure of a program, impacting both readability and execution. Proper use of punctuators like commas, semicolons, and brackets helps in organizing code logically and ensuring that instructions are parsed correctly by the compiler, contributing to maintainability and reducing the likelihood of syntax errors .

You might also like