stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Computer Science Basics Flashcards | StudBud
Explore
/
Computer Science Basics
Computer Science Basics
25 terms
·
StudBud Administration
·
1 play
Check the correct answers
Flashcards
25 cards
F
Practice quiz
P
Host live
L
Questions
25
Answers
1
initializations in the “for” loop are optional
none
true
depends on the condition
false
2
Who developed the C language?
Patric Naughton
Dennis Ritchie
Ken Thompson
Matrin Richards
3
Which of the following is not a type of computer programming language?
High-level language
Machine Language
Natural language
Binary languages
4
Pseudo code is also known as
Algorithm
Hardware Language
Software Language
Program Design Language
5
A flowchart that outlines with all detail is called as
micro flowchart
algorithm
flowchart
macro flowchart
6
Which of the following is not a basic control structure?
the process
the loop
the decision
the sequential
7
After a programmer plans the logic of a program ,she /he will next____
Code the program
Understand the problem
Translate the program
Test the program
8
Which of the following is a pictorial representation of an algorithm?
Pseudo code
Algorithm
Flowchart
Program
9
Which of the following is used to avoid infinite loops?
for
sentinel
while
do while
10
Which of the following is not a keyword?
for
main
void
int
11
The flowchart symbol shown is
decision symbol
input/output symbol
process symbol
terminator symbol
12
Which of the following can be replaced by if?
switch
for
continue
while
13
The flowchart symbol shown is
decision symbol
process symbol
input/output symbol
terminator symbol
14
The flowchart symbol shown is
process symbol
decision symbol
terminator symbol
output/input symbol
15
A flowchart that outlines the main segments of program is called as
Algorithm
Micro flowchart
Macro flowchart
Flowchart
16
The label in “switch-case” statement can be a condition or expression
none
depends on the condition
false
true
17
Flowcharts and Algorithms are used for
All
Easy testing and Debugging
Efficient Coding
Better Programming
18
Array is a collection of mixed data types
false
true
19
An Algorithm represented in the form of programming languages is
none
pseudo code
program
flowchart
20
Which of the following statements is wrong?
count+5=result
lime=20*’T’
int=123;
value=’ ’+5
21
Which loop executes as long as the answer to the controlling question is yes, or true?
do-then
do-until
do-when
do-while
22
What is a variable?
A place to store a list of data
A place to store single items of data that cannot change
Place to store a single item of data that can be overwritten
23
What is the final value of x when the code int x; for(x=0;x<=10;x++){} is run ?
0
9
10
11
24
The programming language that closely resembles the machine language is
FORTRAN
Assembly language
High-level languages
C language
25
The flowchart symbol shown is
decision symbol
input/output symbol
process symbol
terminator symbol