SlideShare a Scribd company logo
1. Which is not a step in the Problem-Solving phase?
A. Analysis and Specification
B. Translate the algorithm (the general solution) into a programming language
C. Specify the required data types and the logical sequences of steps that solve the
problem
D. Follow the steps exactly to see if the solution really does solve the problem
2. Which is not a step in the Implementation phase?
A. Testing
B. Translate the algorithm (the general solution) into a programming language
C. Specify the required data types and the logical sequences of steps that solve the
problem
D. Have the computer follow the instructions. Then manually check the results. If you
find errors, analyze the program and the algorithm to determine the source of the
errors, and then make corrections
3. Which is a step in the Maintenance phase?
A. Modify the program to meet changing requirements or to correct any errors that show
up while using it
B. Specify the required data types and the logical sequences of steps that solve the
problem
C. Translate the algorithm (the general solution) into a programming language
D. Develope a general solution for each piece called an algorithm
4. Please choose the correct order of following steps relating to the program development
S1-Document & maintain the program
S2-Define the problem
S3-Coding
S4-Outline the solution
A. S2->S1->S3->S4
B. S1->S2->S3->S4
C. S2->S4->S3->S1
D. S3->S2->S4->S1
5. Which item is not a recommendaton when writing pseudo codes?
A. Each instruction/step is written on a separate line
B. Keywords and indentation are used to signify particular control structures
C. Each set of instructions is written from top to bottom, with only one entry and one exit
D. Try to keep each instruction/step as short as possible
6. What is an example of the information-receiving operation of a computer?
A. Read (information from a file)
B. Write (information to a file)
C. Use actual mathematical symbols or the words for the symbols (+, -, *, /)
D. Giving data an initial value: Initialize, Set
7. Please select one item which is not a guide when writing pseudo code
A. Keywords are written in CAPITALS
B. Structural elements might come separately
C. Indenting is used to show structure in the algorithm
D. The names of subprograms are underlined
8. What can we do with the Circle symbol when drawing the flowchart to represent the
algorithm?
A. Use it to represent an event which occurs automatically. Such an event will trigger a
subsequent action, for example `receive telephone call’, or describe a new state of
affairs.
B. Use it to represent an event which is controlled within the process. Typically this will be a
step or action which is taken. In most flowcharts this will be the most frequently used
symbol
C. Use it to represent a decision point in the process. Typically, the statement in the symbol
will require a `yes' or `no' response and branch to different parts of the flowchart
accordingly
D. Use it to represent a point at which the flowchart connects with another process. The
name or reference for the other process should appear within the symbol
9. Please select the best variable name for an employee's last name
A. empLastName
B. lastNameOfTheEmployeeInQuestion.
C. emplastname
D. empLstNm
10. Which structure theorem is used n a computer program or algorithm
to determine which particular step or set of steps is to be executed?
A. Sequence
B. Selection
C. Repetition
D. Subprogram
11. What is incorrect function of the parameter using in communicating between modules?
A. To pass information from a calling module to a subordinate module
B. To pass information from a subordinate module to its calling module
C. To fulfil a two-way communication role
D. To store the reference data
12. In below definitions on the global data, which one is incorrect?
A. Data that can be used by all the modules in a program
B. Every module in the program can access and change data
C. Variables which are defined within the sub module
D. Lifetime of a global variable spans the execution of the whole program
13. Please choose correct definition of the module parameters
A. Reference parameters pass a copy of the value of a parameter from one module to
another
B. Value parameter pass the memory address of a parameter from one module to another
C. Formal parameters are the one that appear when a submodule is defined
D. Variables and expressions that are passed to a submodule in a particular call are called
formal parameters
14. The phrase "Two loops, one nested in the other" presents which kind of
cohesion/coupling?
A. Low Coupling
B. High Coupling
C. Low Cohesion
D. High Cohesion
15. What type of coupling when “One module refers to part of another directly”?
A. Content Coupling
B. Common Coupling
C. Control Coupling
D. Stamp Coupling
16. If it’s hard to reuse calling module without including the called one, then what type of
coupling has been used?
A. Content Coupling
B. Common Coupling
C. Control Coupling
D. Stamp Coupling
17. What type of coupling when “Both modules share the same data”?
A. Content Coupling
B. Common Coupling
C. Control Coupling
D. Stamp Coupling
18. What type of coupling when “One module controls decisions made by other module.”?
A. Content Coupling
B. Common Coupling
C. Control Coupling
D. Stamp Coupling
19. What type of coupling if “Modules pass data structures but only use part of them.”?
A. Content Coupling
B. Common Coupling
C. Control Coupling
D. Stamp Coupling
20. What type of coupling when “Modules communicate only through data which is used”?
A. Common Coupling
B. Control Coupling
C. Stamp Coupling
D. Data Coupling
21. A module “Calculator” is designed to perform math’s operations containing following
actions: (multiply numbers, print to output stream result value, search numbers in string
result). What is the characteristic of this module?
A. Low Coupling
B. High Coupling
C. Low Cohesion
D. High Cohesion
22. A module is designed with operation “init()”, that is to call and execute a series of also
“init()” of many other modules. What is the characteristic of this module?
A. Low Coupling
B. High Coupling
C. Low Cohesion
D. High Cohesion
23. “To perform exactly one action or achieve a single goal” is “Low Cohesion” or “High
Cohesion”?
A. Low Coupling
B. High Coupling
C. Low Cohesion
D. High Cohesion
24. What type of cohesion if a module whose elements perform similar activities and in
which the activities to be executed are chosen from outside the module?
A. Logical Cohesion
B. Temporal Cohesion
C. Procedural Cohesion
D. Communicational Cohesion
25. What type of cohesion if a module whose elements are functions that are related in
time?
A. Logical Cohesion
B. Temporal Cohesion
C. Sequential Cohesion
D. Functional Cohesion
26. What type of cohesion if a module whose elements are involved in different activities, but
the activities are sequential?
A. Functional Cohesion
B. Temporal Cohesion
C. Procedural Cohesion
D. Communicational Cohesion
27. What type of cohesion if a module whose elements perform different functions, but each
function references the same input information or output?
A. Communicational Cohesion
B. Sequential Cohesion
C. Functional Cohesion
D. Temporal Cohesion
28. What type of cohesion if a module whose functions are related such that output data
from one function serves as input data to the next function?
A. Communicational Cohesion
B. Functional Cohesion
C. Procedural Cohesion
D. Sequential Cohesion
29. Which pair refers to a good design?
A. Low Coupling & Low Cohesion
B. Low Coupling & High Cohesion
C. High Coupling & Low Cohesion
D. High Coupling & High Cohesion

More Related Content

PPT
L01 intro-daa - ppt1
PPTX
Algorithm Design & Implementation
PPT
Problem solving using Computer
PDF
Flow charts
PPTX
Intro To C++ - Class 10 - Control Statements: Part 2
PDF
Collaboration diagram- UML diagram
L01 intro-daa - ppt1
Algorithm Design & Implementation
Problem solving using Computer
Flow charts
Intro To C++ - Class 10 - Control Statements: Part 2
Collaboration diagram- UML diagram

What's hot (18)

PDF
Unit 1-problem solving with algorithm
PPT
Program design and problem solving techniques
PPTX
Algorithm - Introduction
PPTX
Python Programming | JNTUK | UNIT 1 | Lecture 5
PPTX
The analysis synthesis model of compilation
PPTX
Compiler lecture 07
PPT
Algorithms and flowcharts
PPTX
Intro To C++ - Class 12 - For, do … While
PPT
Lecture 4
PPTX
Algorithm
PPSX
Problem solving and design
PDF
Problem Solving Techniques and Introduction to C
PDF
Algorithm defination, design & Implementation
PPTX
SYNTAX Directed Translation PPT || Compiler Construction
PPTX
Csc1100 lecture01 ch01 pt2-paradigm
PDF
Algorithm and Programming (Introduction of Algorithms)
PPT
Introduction to problem solving in c++
PPTX
Chapter 6 algorithms and flow charts
Unit 1-problem solving with algorithm
Program design and problem solving techniques
Algorithm - Introduction
Python Programming | JNTUK | UNIT 1 | Lecture 5
The analysis synthesis model of compilation
Compiler lecture 07
Algorithms and flowcharts
Intro To C++ - Class 12 - For, do … While
Lecture 4
Algorithm
Problem solving and design
Problem Solving Techniques and Introduction to C
Algorithm defination, design & Implementation
SYNTAX Directed Translation PPT || Compiler Construction
Csc1100 lecture01 ch01 pt2-paradigm
Algorithm and Programming (Introduction of Algorithms)
Introduction to problem solving in c++
Chapter 6 algorithms and flow charts
Ad

Viewers also liked (7)

PPTX
Modelo de barra cierre de la clase
DOC
Resume_SBA_180515
PDF
Yourprezi1
PDF
COLARUSSO DISSERTATION 5.12.15
PPTX
Jeopardy3
DOC
Resume sba 180515
PPTX
ANTIGEN AND ANTIBODY REACTIONS
Modelo de barra cierre de la clase
Resume_SBA_180515
Yourprezi1
COLARUSSO DISSERTATION 5.12.15
Jeopardy3
Resume sba 180515
ANTIGEN AND ANTIBODY REACTIONS
Ad

Similar to Which is not a step in the problem (20)

PDF
Question đúng cnu
DOC
Ugcnet4 u
PDF
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
DOCX
Quiz1 tonghop
PDF
June 03 P3
PDF
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
PDF
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
PDF
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
DOCX
Exam for c
DOC
BISH CS Modle Exit Exam.doc
PPTX
Sharbani Bhattacharya SE design & Implementation
DOCX
Cis 115 Extraordinary Success/newtonhelp.com
PDF
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
DOCX
CIS 115 Become Exceptional--cis115.com
DOC
Devry cis 115 final exam 2
DOC
Devry cis 115 final exam 2
DOCX
10th computer paper
DOC
Devry cis 115 final exam 2
DOC
Devry cis 115 final exam 2
PPT
Primilimnary round questions with answers
Question đúng cnu
Ugcnet4 u
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
Quiz1 tonghop
June 03 P3
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
Exam for c
BISH CS Modle Exit Exam.doc
Sharbani Bhattacharya SE design & Implementation
Cis 115 Extraordinary Success/newtonhelp.com
Programming Languages Principles and Practices 3rd Edition Louden Test Bank
CIS 115 Become Exceptional--cis115.com
Devry cis 115 final exam 2
Devry cis 115 final exam 2
10th computer paper
Devry cis 115 final exam 2
Devry cis 115 final exam 2
Primilimnary round questions with answers

Which is not a step in the problem

  • 1. 1. Which is not a step in the Problem-Solving phase? A. Analysis and Specification B. Translate the algorithm (the general solution) into a programming language C. Specify the required data types and the logical sequences of steps that solve the problem D. Follow the steps exactly to see if the solution really does solve the problem 2. Which is not a step in the Implementation phase? A. Testing B. Translate the algorithm (the general solution) into a programming language C. Specify the required data types and the logical sequences of steps that solve the problem D. Have the computer follow the instructions. Then manually check the results. If you find errors, analyze the program and the algorithm to determine the source of the errors, and then make corrections 3. Which is a step in the Maintenance phase? A. Modify the program to meet changing requirements or to correct any errors that show up while using it B. Specify the required data types and the logical sequences of steps that solve the problem C. Translate the algorithm (the general solution) into a programming language D. Develope a general solution for each piece called an algorithm 4. Please choose the correct order of following steps relating to the program development S1-Document & maintain the program S2-Define the problem S3-Coding S4-Outline the solution A. S2->S1->S3->S4 B. S1->S2->S3->S4 C. S2->S4->S3->S1 D. S3->S2->S4->S1 5. Which item is not a recommendaton when writing pseudo codes? A. Each instruction/step is written on a separate line B. Keywords and indentation are used to signify particular control structures C. Each set of instructions is written from top to bottom, with only one entry and one exit D. Try to keep each instruction/step as short as possible 6. What is an example of the information-receiving operation of a computer? A. Read (information from a file) B. Write (information to a file) C. Use actual mathematical symbols or the words for the symbols (+, -, *, /) D. Giving data an initial value: Initialize, Set
  • 2. 7. Please select one item which is not a guide when writing pseudo code A. Keywords are written in CAPITALS B. Structural elements might come separately C. Indenting is used to show structure in the algorithm D. The names of subprograms are underlined 8. What can we do with the Circle symbol when drawing the flowchart to represent the algorithm? A. Use it to represent an event which occurs automatically. Such an event will trigger a subsequent action, for example `receive telephone call’, or describe a new state of affairs. B. Use it to represent an event which is controlled within the process. Typically this will be a step or action which is taken. In most flowcharts this will be the most frequently used symbol C. Use it to represent a decision point in the process. Typically, the statement in the symbol will require a `yes' or `no' response and branch to different parts of the flowchart accordingly D. Use it to represent a point at which the flowchart connects with another process. The name or reference for the other process should appear within the symbol 9. Please select the best variable name for an employee's last name A. empLastName B. lastNameOfTheEmployeeInQuestion. C. emplastname D. empLstNm 10. Which structure theorem is used n a computer program or algorithm to determine which particular step or set of steps is to be executed? A. Sequence B. Selection C. Repetition D. Subprogram 11. What is incorrect function of the parameter using in communicating between modules? A. To pass information from a calling module to a subordinate module B. To pass information from a subordinate module to its calling module C. To fulfil a two-way communication role D. To store the reference data 12. In below definitions on the global data, which one is incorrect? A. Data that can be used by all the modules in a program B. Every module in the program can access and change data C. Variables which are defined within the sub module D. Lifetime of a global variable spans the execution of the whole program 13. Please choose correct definition of the module parameters A. Reference parameters pass a copy of the value of a parameter from one module to another B. Value parameter pass the memory address of a parameter from one module to another
  • 3. C. Formal parameters are the one that appear when a submodule is defined D. Variables and expressions that are passed to a submodule in a particular call are called formal parameters 14. The phrase "Two loops, one nested in the other" presents which kind of cohesion/coupling? A. Low Coupling B. High Coupling C. Low Cohesion D. High Cohesion 15. What type of coupling when “One module refers to part of another directly”? A. Content Coupling B. Common Coupling C. Control Coupling D. Stamp Coupling 16. If it’s hard to reuse calling module without including the called one, then what type of coupling has been used? A. Content Coupling B. Common Coupling C. Control Coupling D. Stamp Coupling 17. What type of coupling when “Both modules share the same data”? A. Content Coupling B. Common Coupling C. Control Coupling D. Stamp Coupling 18. What type of coupling when “One module controls decisions made by other module.”? A. Content Coupling B. Common Coupling C. Control Coupling D. Stamp Coupling 19. What type of coupling if “Modules pass data structures but only use part of them.”? A. Content Coupling B. Common Coupling C. Control Coupling D. Stamp Coupling 20. What type of coupling when “Modules communicate only through data which is used”? A. Common Coupling B. Control Coupling C. Stamp Coupling D. Data Coupling 21. A module “Calculator” is designed to perform math’s operations containing following actions: (multiply numbers, print to output stream result value, search numbers in string result). What is the characteristic of this module? A. Low Coupling B. High Coupling C. Low Cohesion D. High Cohesion
  • 4. 22. A module is designed with operation “init()”, that is to call and execute a series of also “init()” of many other modules. What is the characteristic of this module? A. Low Coupling B. High Coupling C. Low Cohesion D. High Cohesion 23. “To perform exactly one action or achieve a single goal” is “Low Cohesion” or “High Cohesion”? A. Low Coupling B. High Coupling C. Low Cohesion D. High Cohesion 24. What type of cohesion if a module whose elements perform similar activities and in which the activities to be executed are chosen from outside the module? A. Logical Cohesion B. Temporal Cohesion C. Procedural Cohesion D. Communicational Cohesion 25. What type of cohesion if a module whose elements are functions that are related in time? A. Logical Cohesion B. Temporal Cohesion C. Sequential Cohesion D. Functional Cohesion 26. What type of cohesion if a module whose elements are involved in different activities, but the activities are sequential? A. Functional Cohesion B. Temporal Cohesion C. Procedural Cohesion D. Communicational Cohesion 27. What type of cohesion if a module whose elements perform different functions, but each function references the same input information or output? A. Communicational Cohesion B. Sequential Cohesion C. Functional Cohesion D. Temporal Cohesion 28. What type of cohesion if a module whose functions are related such that output data from one function serves as input data to the next function? A. Communicational Cohesion B. Functional Cohesion C. Procedural Cohesion D. Sequential Cohesion 29. Which pair refers to a good design? A. Low Coupling & Low Cohesion B. Low Coupling & High Cohesion C. High Coupling & Low Cohesion
  • 5. D. High Coupling & High Cohesion