No student devices needed. Know more
40 questions
Let us consider an example of playing a game of dice.
The rules to be followed are not in the correct sequence. Arrange the steps in the correct sequence:
(a) The player who gets the highest number wins the game.
(b) If both the players get the same number,then repeat step 1.
(c)Each player rolls the dice one after the other and places them such that they form the highest two-digit number.
a,b,c
c,a,b
b,a,c
a,c,b
What are the stages of the program development cycle?
Design the program
Write the code
Correct logic & syntax errors
Test the code
All of the above
Typically, computer performs three-step process:
-Receive input
-Perform some process
-Produce output
True
False
In which stage(s) of the program development life cycle would debugging take place?
Correcting Syntax errors & Logic errors
Correcting design errors
Testing for errors
None of the above
____________is the most important part of the program development cycle
Design
Testing
Writing the code
Correcting the logical errors
Pseudocode is
Informal language
Fake code
Used to create model program
All of the above
with Pseudocode
“No need to worry about syntax errors, can focus on program’s design.
Can be translated directly into actual code in any programming language”
True
False
_____________ set of well-defined logical steps that must be taken to perform a task
Functions
Pseudocode
Algorithm
Flowchart
Which algorithm, will NOT take you from A to B
UP 1
RIGHT 5
UP 2
RIGHT 1
UP 3
RIGHT 4
UP 2
RIGHT 5
UP 1
LEFT 1
UP 3
RIGHT 5
Full form of UI
User Interface
Underrated interface
Under indent
Upper Indent
Official google programming language . Hint - Used by nasa , YouTube was coded on it .
Java
HTML
Java Script
Python
Other
Machine code is a series of
letters and symbols
words
ones and zeros
Each programming language has its own
connection
rules
words
A program is made up of
letters
games
instructions
Which of these are REGISTERS in the CPU? (Tick ALL that are correct)
Accumulator
ALU
Program Counter
Memory Address Register
Control Bus Register
The Program Counter
Stores the address of the next instruction in memory
Stores the address of where the next item will be fetched from
Stores data fetched from memory, or waiting to be stored in memory
Stores the result of arithmetic calculations
Accumulator
Stores the address of the next instruction in memory
Stores the address of where the next item will be fetched from
Stores data fetched from memory, or waiting to be stored in memory
Stores the result of arithmetic calculations
The Control Unit
Controls the flow of data around the CPU and also decodes instructions
Only controls the flow of data around the CPU
Only decodes instructions
Controls how much power is directed to all components within the computer
The Arithmetic Logic Unit (ALU)
Carries out numerical calculations and logical decisions
Calculates the different items of number data stored within the Accumulator and converts them into logical decisions
Calculates graphic data as they are only found within GPU units.
Calculates the flow of execution in a program and decodes instructions into small steps to be carried out by the program counter.
Explore all questions with a free account