

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following isn’t a loop statement?(a) for(b) elif(c) while(d) do-whileI got this question during an internship interview.Question is taken from Structural Programming in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (B) elif |
|
2. |
The number of values a function can return at a time?(a) 1(b) 0(c) 2(d) more than 2I have been asked this question during an interview for a job.I'd like to ask this question from Structural Programming in chapter Planning the Computer Program of Computer Fundamentals |
Answer» CORRECT answer is (a) 1 Easy EXPLANATION: A FUNCTION can RETURN only one value at a time. Syntax : return (x,12); |
|
3. |
Which of the following is a loop statement?(a) IF(b) ELSE(c) WHILE(d) DOThe question was posed to me in class test.I want to ask this question from Structural Programming topic in section Planning the Computer Program of Computer Fundamentals |
Answer» Right CHOICE is (C) WHILE |
|
4. |
Semicolon is used after :(a) Function definition(b) Function call(c) for loop(d) while loopI got this question in a national level competition.My query is from Structural Programming topic in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (B) Function call |
|
5. |
What is the correct syntax of for statement?(a) for(initialization;condition;update)(b) for(initialization,condition,update)(c) for(condition;initialization;update)(d) for(initialization;condition;)I had been asked this question in semester exam.My question is taken from Structural Programming topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» Right ANSWER is (a) for(initialization;CONDITION;UPDATE) |
|
6. |
A program should be ________(a) Secure(b) Sequential(c) Ordered(d) SimpleThe question was asked during an internship interview.This key question is from Structural Programming in portion Planning the Computer Program of Computer Fundamentals |
Answer» The correct ANSWER is (b) Sequential |
|
7. |
A ________ is a directed graph that describes the flow of execution control of the program.(a) Flowchart(b) Flow graph(c) Complexity curve(d) AlgorithmI have been asked this question by my college professor while I was bunking the class.This intriguing question originated from Structural Programming topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» Correct option is (a) Flowchart |
|
8. |
Top-down approach is followed in structural programming.(a) True(b) FalseThe question was posed to me in an interview for internship.The origin of the question is Structural Programming topic in chapter Planning the Computer Program of Computer Fundamentals |
Answer» CORRECT option is (a) True To elaborate: The STATEMENT is true. Structural PROGRAMMING follows the TOP – down APPROACH. Each module is further divided into sub modules. |
|
9. |
Programming based on stepwise refinement process.(a) Structural(b) C programming(c) Procedural(d) FineThis question was posed to me in a job interview.This interesting question is from Structural Programming topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» The correct choice is (a) Structural |
|
10. |
A statement used to close the IF block.(a) ELSE(b) ELSEIF(c) END(d) ENDIFI got this question during an online interview.This question is from Pseudo Code topic in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct ANSWER is (d) ENDIF |
|
11. |
Another notation for exponentiation.(a) *(b) **(c) ***(d) *^This question was posed to me in class test.My doubt stems from Pseudo Code in section Planning the Computer Program of Computer Fundamentals |
Answer» RIGHT OPTION is (b) ** The best explanation: DOUBLE asterisk sign is also used for EXPONENTIATION. The general notation is ^ sign. |
|
12. |
A symbol used for grouping.(a) ()(b) {}(c) [].(d) ” ”The question was asked by my college professor while I was bunking the class.I'm obligated to ask this question of Pseudo Code in portion Planning the Computer Program of Computer Fundamentals |
Answer» The correct choice is (a) () |
|
13. |
____________ begins with lower case letters.(a) Keywords(b) Variables(c) Tokens(d) FunctionsThis question was posed to me by my school teacher while I was bunking the class.I want to ask this question from Pseudo Code topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» Right answer is (b) Variables |
|
14. |
_____________ are identified by their addresses, we give them names (field names / variable names) using words.(a) Memory variables(b) Memory Locations(c) Memory Addresses(d) Data variablesThis question was posed to me during an online exam.Question is from Pseudo Code topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (b) MEMORY Locations |
|
15. |
The statement that tells the computer to get a value from an input device and store it in a memory location.(a) read(b) write(c) READ(d) WRITEI have been asked this question in quiz.The doubt is from Pseudo Code in chapter Planning the Computer Program of Computer Fundamentals |
Answer» CORRECT answer is (C) READ For explanation I WOULD say: The READ statement is used to take the input. READ being a keyword should be in capital LETTERS. |
|
16. |
______________ is used to show hierarchy in a pseudo code.(a) Indentation(b) Curly Braces(c) Round Brackets(d) SemicolonI got this question by my school principal while I was bunking the class.My doubt stems from Pseudo Code in chapter Planning the Computer Program of Computer Fundamentals |
Answer» The correct ANSWER is (a) Indentation |
|
17. |
Which of the following is not a keyword?(a) Read(b) Write(c) start(d) endifThis question was addressed to me during a job interview.Question is taken from Pseudo Code topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» Correct ANSWER is (c) start |
|
18. |
Capitalize initial keyword – This is a rule while writing a pseudo code.(a) True(b) FalseThis question was addressed to me in a job interview.My question is based upon Pseudo Code topic in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct ANSWER is (a) TRUE |
|
19. |
Keep the statement language ______________ while writing a pseudo code.(a) Dependent(b) Independent(c) Case sensitive(d) CapitalizedThis question was posed to me in an online interview.The origin of the question is Pseudo Code in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (b) INDEPENDENT |
|
20. |
The following box denotes?(a) Decision(b) Input/Output(c) Process(d) ModuleThis question was posed to me in a national level competition.This interesting question is from Flowcharting Rules in division Planning the Computer Program of Computer Fundamentals |
Answer» CORRECT option is (a) Decision Explanation: The answer is decision. CONDITIONS are GIVEN in this box and then the result is checked ACCORDINGLY if the condition is true or FALSE. |
|
21. |
A _______ is a connector showing the relationship between the representative shapes.(a) line(b) arrow(c) Process(d) boxThis question was addressed to me in final exam.This intriguing question comes from Flowcharting Rules topic in chapter Planning the Computer Program of Computer Fundamentals |
Answer» Right choice is (B) arrow |
|
22. |
What type of a structure is this?(a) sequence(b) case(c) repetition(d) processI got this question in examination.This interesting question is from Flowcharting Rules topic in section Planning the Computer Program of Computer Fundamentals |
Answer» Right choice is (b) CASE |
|
23. |
The action performed by a ___________ structure must eventually cause the loop to terminate.(a) sequence(b) case(c) repetition(d) processThe question was asked by my school teacher while I was bunking the class.Question is taken from Flowcharting Rules in chapter Planning the Computer Program of Computer Fundamentals |
Answer» Right OPTION is (c) repetition |
|
24. |
What type of structure is this?(a) sequence(b) case(c) repetition(d) processI got this question in an online quiz.Enquiry is from Flowcharting Rules in division Planning the Computer Program of Computer Fundamentals |
Answer» Right choice is (C) REPETITION |
|
25. |
The following symbol denotes:(a) Module(b) Terminal(c) Process(d) i/o operationThis question was addressed to me during an online exam.My question is from Flowcharting Rules in chapter Planning the Computer Program of Computer Fundamentals |
Answer» The CORRECT ANSWER is (a) MODULE |
|
26. |
Terminals are represented by diagonals in a flowchart.(a) True(b) FalseThe question was posed to me during an interview for a job.This question is from Flowcharting Rules in portion Planning the Computer Program of Computer Fundamentals |
Answer» The CORRECT CHOICE is (B) False |
|
27. |
Which of the following is not a flowchart structure?(a) Process(b) Sequence(c) Repetition(d) CaseI had been asked this question in unit test.My query is from Flowcharting Rules in chapter Planning the Computer Program of Computer Fundamentals |
Answer» RIGHT CHOICE is (a) Process Explanation: There are basically four FLOWCHARTING STRUCTURES: • Decision • Repetition • Case • SEQUENCE. |
|
28. |
The operation represented by parallelograms.(a) Input/Output(b) Assignment(c) Comparison(d) ConditionsI had been asked this question in my homework.Query is from Flowcharting Rules in chapter Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (a) INPUT/OUTPUT |
|
29. |
A ______________ is diagram that depicts the flow of a program.(a) Algorithm(b) Hash Table(c) Graph(d) FlowchartThe question was asked in homework.The doubt is from Flowcharting Rules topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» The correct ANSWER is (d) Flowchart |
|
30. |
A flowchart that outlines the main segments of a program.(a) Queue(b) Macro(c) Micro(d) UnionThis question was addressed to me in exam.My enquiry is from Flowcharts topic in chapter Planning the Computer Program of Computer Fundamentals |
Answer» Right choice is (b) MACRO |
|
31. |
A detailed flowchart is called ______(a) Stack(b) Macro(c) Micro(d) UnionThis question was addressed to me in final exam.The above asked question is from Flowcharts in section Planning the Computer Program of Computer Fundamentals |
Answer» Right choice is (c) Micro |
|
32. |
Which of the following is not an advantage of a flowchart?(a) Better communication(b) Efficient coding(c) Systematic testing(d) Improper documentationI got this question in an online interview.Origin of the question is Flowcharts topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» The CORRECT choice is (d) IMPROPER documentation |
|
33. |
There should be certain set standards on the amount of details that should be provided in a flowchart.(a) True(b) FalseThe question was asked by my school principal while I was bunking the class.My enquiry is from Flowcharts topic in portion Planning the Computer Program of Computer Fundamentals |
Answer» Correct OPTION is (b) False |
|
34. |
A box that can represent two different conditions.(a) Rectangle(b) Diamond(c) Circle(d) ParallelogramThe question was asked by my college director while I was bunking the class.My doubt is from Flowcharts topic in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct choice is (b) Diamond |
|
35. |
The following box denotes?(a) Decision(b) Initiation(c) Initialization(d) I/OThis question was posed to me in homework.Origin of the question is Flowcharts in section Planning the Computer Program of Computer Fundamentals |
Answer» | |
36. |
The process of drawing a flowchart for an algorithm is called __________(a) Performance(b) Evaluation(c) Algorithmic Representation(d) FlowchartingThis question was posed to me by my college professor while I was bunking the class.I would like to ask this question from Flowcharts in division Planning the Computer Program of Computer Fundamentals |
Answer» Correct answer is (d) Flowcharting |
|
37. |
Actual instructions in flowcharting are represented in __________(a) Circles(b) Boxes(c) Arrows(d) LinesThe question was asked in a job interview.My query is from Flowcharts topic in section Planning the Computer Program of Computer Fundamentals |
Answer» Right answer is (b) Boxes |
|
38. |
The symbol denotes_______(a) I/O(b) Flow(c) Terminal(d) DecisionThe question was asked by my school principal while I was bunking the class.The question is from Flowcharts in section Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (C) Terminal |
|
39. |
In computer science, algorithm refers to a pictorial representation of a flowchart.(a) True(b) FalseThis question was addressed to me in an online interview.The question is from Flowcharts in section Planning the Computer Program of Computer Fundamentals |
Answer» Correct OPTION is (b) False |
|
40. |
A data structure that follows the FIFO principle.(a) Queue(b) LL(c) Stack(d) UnionI got this question at a job interview.This interesting question is from Algorithms topic in section Planning the Computer Program of Computer Fundamentals |
Answer» RIGHT CHOICE is (a) QUEUE Explanation: The answer is Queue. A Queue follows the FIFO principle. FIFO STANDS for First In First Out. |
|
41. |
Another name for 1-D arrays.(a) Linear arrays(b) Lists(c) Horizontal array(d) Vertical arrayThe question was asked in an interview.Enquiry is from Algorithms in chapter Planning the Computer Program of Computer Fundamentals |
Answer» The CORRECT option is (a) LINEAR arrays |
|
42. |
A system wherein items are added from one and removed from the other end.(a) Stack(b) Queue(c) Linked List(d) ArrayThis question was addressed to me in an interview for internship.This intriguing question comes from Algorithms topic in division Planning the Computer Program of Computer Fundamentals |
Answer» Correct ANSWER is (b) QUEUE |
|
43. |
Any algorithm is a program.(a) True(b) FalseI have been asked this question at a job interview.This intriguing question comes from Algorithms topic in chapter Planning the Computer Program of Computer Fundamentals |
Answer» Right answer is (b) False |
|
44. |
When an algorithm is written in the form of a programming language, it becomes a _________(a) Flowchart(b) Program(c) Pseudo code(d) SyntaxThe question was posed to me by my school teacher while I was bunking the class.The question is from Algorithms in division Planning the Computer Program of Computer Fundamentals |
Answer» Right ANSWER is (b) PROGRAM |
|
45. |
The time that depends on the input: an already sorted sequence that is easier to sort.(a) Process(b) Evaluation(c) Running(d) InputThis question was posed to me during an internship interview.Question is taken from Algorithms topic in division Planning the Computer Program of Computer Fundamentals |
Answer» The correct OPTION is (c) RUNNING |
|
46. |
This characteristic often draws the line between what is feasible and what is impossible.(a) Performance(b) System Evaluation(c) Modularity(d) ReliabilityThe question was posed to me in class test.This intriguing question comes from Algorithms in portion Planning the Computer Program of Computer Fundamentals |
Answer» The correct option is (a) Performance |
|
47. |
In computer science, algorithm refers to a special method usable by a computer for the solution to a problem.(a) True(b) FalseThis question was addressed to me during an internship interview.My question is from Algorithms topic in chapter Planning the Computer Program of Computer Fundamentals |
Answer» Right option is (a) True |
|
48. |
The word ____________comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi.(a) Flowchart(b) Flow(c) Algorithm(d) SyntaxThe question was posed to me in final exam.Query is from Algorithms topic in section Planning the Computer Program of Computer Fundamentals |
Answer» Correct answer is (C) Algorithm |
|