0% found this document useful (0 votes)
44 views20 pages

Principles of Programming Languages QuizizzPDF 241120 070104mohammed 241120 070200

Uploaded by

bnhatm216
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)
44 views20 pages

Principles of Programming Languages QuizizzPDF 241120 070104mohammed 241120 070200

Uploaded by

bnhatm216
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
You are on page 1/ 20

Worksheets Name

Principles of Programming Languages


Class
Total questions: 100
Worksheet time: 50mins
Date
Instructor name: ‫محمد االحمدي‬

1. ............. is the systemic operations to the development operations, maintenance and retirement of
software.

Ans.

2. There are two types of languages used within computer systems:

a) Mid Level b) Low Level

c) Level 42 d) High Level

3. A high level programming language is...

a) multiple instructions per statement b) easy for humans to read

c) assembled d) very efficient on the processor

e) interpreted or compiled

4. A low level programming language is...

a) multiple instructions per statement b) interpreted or compiled

c) very efficient on the processor d) assembled

e) easy for humans to read

5. High-level languages are faster to write than in assembly or machine language but they are harder to
read and understand.

a) True b) False
6. The process of developing a sequence of instructions to enable a computer to accomplish a particular
task.

a) Computer Programming b) Iterative Algorithm

c) Assembly Languages

7. formula which gives instructions for the computer to perform a specific task

a) Vector Graphic b) Algorithm

c) Bit-Mapped Graphic d) Bit Depth

8. graphic representation of the step-by-step instructions of how the computer processes data

a) Iterative Algorithm b) Software Development

c) Linear Algorithm d) flow chart

9. process of computer programming, documenting, testing and big fixing through successive phases in
an orderly way

a) Software Development b) Iterative Algorithm

c) flow chart d) Linear Algorithm

10. Flow Charts help programmers pay attention to the logic of solution to the problem.

a) True b) False
11.

Which generation?

a) High Level b) Machine Code - Low

c) Assembly Code - Low

12. Computers must translate everything into binary

a) True b) False

13. Assembly language is better than machine code because...

a) it is written using English-like keywords b) a person is less likely to make mistakes in


assembly language

c) it is easier to remember the instructions d) it is easier for humans to read

14. Resolving errors in a program is known as...

a) Debugging b) Refixing

c) Problem Solving d) Error Checking

15. Which of the following commands would not be found in an assembly language?

a) STORE b) ADD

c) LOAD d) SORT
16. Which of the following commands would be used to end a program written in assembly language?

a) STOP b) END

c) HALT d) FINISH

17. The 3 main types of translators are...

a) Assemblers, Compilers & Interpreters b) Converters, Scripters & Interpreters

c) Assemblers, Compilers & Converters d) Assemblers, Scripters & Interpreters

18. The analysis phase ____________________

a) Adds new features to the delivered program b) Determines whether or not the program works

c) Determines how the program will work d) Determines what the program will do

19. The operations and maintenance phase ____________________

a) Determines whether or not the program works b) Adds new features to the delivered program

c) Determines what the program will do d) Determines how the program will work

20. The implementation phase ____________________

a) Determines whether or not the program is b) Determines which classes are needed and
feasible what they will do

c) Determines whether or not the program works d) Implements the program code

21. The design phase ____________________

a) Implements the program code b) Determines which classes are needed and
what they will do

c) Determines whether or not the program is d) Determines whether or not the program works
feasible

22. SDLC means

a) System development life cycle b) Simple development learning cycle

c) Non of the above d) Software Development life cycle


23. Software engineering involves

a) Both A and B b) Using engineering tools and techniques in


software development

c) Using scientific way to software development d) Non of the above

24. Risk Assessment is part of software engineering

a) True b) Non of the above

c) False d) Can't say

25. ERD means

a) Engineering requirements diagrams b) Non of the above

c) Every real dialog d) Entity relationships diagrams

26. The reason for software bugs and failures is due to

a) Software Developers b) Software

c) Software companies d) Both Software companies and Developers

27. Someone who solves complex problems with mathematical and scientific application is Called

a) BCA students b) Sportsmen

c) Engineer d) Donald Trump

28. What is software quality?

a) Satisfying client needs b) Proving Best Lunch

c) Conducting Semester Exam d) Reopening university And Colleges

29. What do you understand by software?

a) New Movie b) Set of sports items

c) Set of food items d) Set of programs


30. First step in Requirement Engineering

a) Feasibility Study b) Gathering Requirement

c) Elicitation d) requirement analysis

31. Expand SRS

a) Software Requirement Specification b) System Requirement Software

c) System Requirement Specification d) Software Requesting Service

32. Computer Works on which cycle?

a) Input, Process,Output b) None of the Above.

c) Output, Process Input d) Process,Output,Input

33. CPU is .........................................of a computer.

a) None of the Above b) Brain

c) BOth A & B d) Heart

34. How many types of computer generation ?

a) 5 b) 3

c) 6 d) 4

35. What is the Brain of Computer?

a) SMPS b) UPS

c) CPU d) RAM

36. Computers are made up of ________ and ________?

a) Bits and Pieces b) Inputs and Outputs

c) Plastic and Metal d) Hardware and Software


37.

whose person is this picture

Ans.

38. please lisyen audio for question

a) keyboard b) plotter

c) printer d) monitor

39.

What is the name of this device?

a) Scanner b) MICR

c) Bar code reader d) Zip Code reader

40. Programmers write programs to satisfy the needs of others called

a) End Users b) Coders

c) Program Developers
41. A phase in the Program Development Cycle that involves the consideration of what the end users want
or need.

a) Understanding the Problem b) Planning the Logic

c) Coding the Program

42. A phase in the Program Development Cycle that involves the creation of Source Codes

a) Planning the Logic b) Understanding the Problem

c) Coding the Program

43. What part of an experiment contains the data tables and graphs?

a) Materials b) Analysis

c) Conclusion d) Hypothesis

44.

Using one of these will help your group decide on which model to build:

a) Design Brief b) Decision Matrix

c) Design Evaluator

45. If I find flaws in my solution I should....

a) go back and make modifications before b) Create a technical drawing instead


moving forward

c) Be formal and perfect


46.

Why are there arrows going in all directions here?

a) To show that the chart is incomplete b) To show that you can go back to previous
steps if needed

c) To show that many ideas come from everyone

47. In software design three levels of design exist, which are-

a) External Design b) Architectural Design

c) Detailed Design d) Program Design

48. Software can be described as Fit for Purpose if it:

a) Fulfils the requirements set out during the b) Fulfils the requirements set out during the
Testing stage Analysis stage

c) Fulfils the requirements set out during the d) Fulfils the requirements set out during the
Implementation stage Design stage

49. A syntax error is caused by:

a) Using indentation in your code b) Using internal commentary in your code

c) A typing error in your code d) A large font size in your code


50. Which system modelling tool best describes the hierarchy of subroutines and the sequence in which
they are executed?

a) IPO diagrams b) System flowcharts

c) Dataflow diagram d) Structure charts

51. What is shown on context diagrams?

a) The nature of data structures used by b) The movement of data between processes.
processes within the system.

c) The order in which processes occur in a d) The movement of data into and information
system. out of a system.

52. What form of documentation/diagram is the most appropriate for showing the schedule and timelines
for activity in a project?

a) System flowchart b) Data flow diagram

c) Storyboard d) Gantt chart

53. The command STOP is used in a software language as a debugging tool to halt a program. The
program cannot resume until the debugging command RUN is issued.

a) Breakpoint b) Program trace

c) Value watching d) Stub

54. Pseudocode should be generic -


It should not use any specific programming language

a) False b) True

55. What does the word Pseudo mean?

a) Unfinished b) False/Fake
56.

What symbol is shown here

a) Terminator b) Input/Output

c) Decision d) Process

57.

What's missing from this part of a flowchart?

a) A Square b) An Arrow

c) A Line d) A Diamond

58. If

a) Used in a question as part of the decision b) To provide a response if a statement is not met
process

c) A loop with a condition set at the start d) To provide a response if a statement is met
59. Else

a) To provide a response if a statement is met b) To provide a response if a statement is not met

c) Used in a question as part of the decision d) A loop with a condition set at the start
process

60. Then

a) A loop with a condition set at the start b) To provide a response if a statement is not met

c) To provide a response if a statement is met d) Used in a question as part of the decision


process

61.

What is the Output if the user enters:


Yes

a) Leave umbrella at home b) Take an umbrella

62. For

a) A loop with a condition set at the start b) Used to create a counting loop

c) To display a response on screen to the user d) Requires an entry from the user in response to
a question
63. Print

a) A loop with a condition set at the start b) Requires an entry from the user in response to
a question

c) To display a response on screen to the user d) Used to create a counting loop

64. While

a) To provide a response if a statement is met b) A loop with a condition set at the start

c) To provide a response if a statement is not met d) Used in a question as part of the decision
process

65. A flow chart should be drawn from the ______ to the ______ of the page

a) right to the left b) top to the bottom

c) left to the right d) bottom to the top

66. A decision tree uses _________ to calculate likely outcomes.

a) shareholder data b) facts and statistics

c) estimates and probabilities d) stakeholder information

67. BENEFITS OF USING DECISION TREES include:

a) Uses quantitative data only – ignores b) It is based on assumptions and estimates


qualitative aspects of decisions

c) Choices are set out in a logical way d) Assignment of probabilities and expected
values prone to bias

68. DRAWBACKS OF USING DECISION TREES include:

a) Choices are set out in a logical way b) Use of probabilities enables the “risk” of the
options to be addressed

c) Potential options & choices are considered at d) Probabilities are just estimates – always prone
the same time to error
69. When a sub-node splits into further sub-nodes, then it is called

a) Pruning b) Splitting

c) Decision Node d) Terminal Node

70.

What is the FIRST step of the decision-making process?

a) make a plan! b) determine need or want

c) make a decision d) evaluate choices

71.

Last step in the decision-making process is...

a) make a decision b) evaluate your choices

c) plan how to reach your goal d) gather information

72. Which statement below is NOT correct?

a) Decision trees are only useful if the choices at b) Both decision trees and tables are good for
each decision point are binary modelling complex logic

c) Both decision trees and tables can have


redundancy, if not carefully designed
73. ................ can be used to specify complex decision logic in a high level software specification?

Ans.

74. The 2 types of Software are:

a) Business b) System

c) Operating System d) Application

75. Types of application software:

a) Computer Games and Environment b) Operating System

c) Business d) Educational

e) Robotics

76. An advantage of programming in Low Level is

a) Easier to debug b) Easier for us to understand

c) Programs require less file space

77. A disadvantage of programming in Low Level is

a) No technical skill is required b) Needs to be translated before it can be


executed

c) Difficult for humans to debug

78. Are closer to human language. Like oracle, VB, VC++, SQL etc. Most of them are used to access
database, they allow the programmer to define “what” is required without telling the computer and
“How” to implement it.

a) Assembly b) 4GL

c) Machine d) High Level


79. Programming Methods- the use for programming __________ it depends upon the size and the
complexity of the program. When a program beyond a particular size and complexity, a traditional
methodology may fail to give efficient results and in the case one has to either use a new method
which will satisfy the need.

Ans.

80. The programmers may use them in other parts of the programs knowing that only their abstract
properties without concern for the details of their implementation

a) Support for Abstraction b) Orthogonality

c) Naturalness for Application d) Simplicity, Clarity and Unity

81. A program may be tested by executing it with text input data and checking the output results against
the specifications. For verification and troubleshoot the programs.

a) Programming Environment b) Ease of Program Verification

c) Cost d) Portability of Program

82. Analyse or Defined the Problem – analyse problem, consists of reviewing program specifications,
meeting with the analysts and users; and identifying program components.

a) FALSE b) TRUE

83. A ..................... is an artificial language designed to express computations that can be performed by a
machine, particularly computer.

Ans.

84. Why study programming language?

a) To make it easier to design a new language b) To make is easier to learn a new language

c) To increase your vocabulary of useful d) To improve your understanding of the language


programming constructs you are using
85. Abstraction is:

a) adding to a problem b) finding characteristics

c) filtering out all irrelevant characteristics and d) looking for similarities


unnecessary details

86. Select all that applies in Abstraction?

a) removes unimportant information b) focuses on what is important

c) is a problem solving tool d) simplifies a situation

e) adds important information

87. Breaking a complex problem down into smaller problems and solving each one individually.

a) Decomposition b) Programming

c) Abstraction d) Algorithmic Thinking

88. The widely used abstraction mechanisms in software design are-

a) Data Abstraction b) Procedure Abstraction

c) Control Abstraction d) Functional Abstraction

89. Which one is not the benefit from using modularization ?

a) Elimination of redundancy b) Ease of Understanding

c) Reusable of code d) Increasing algorithm performance

90. Which one of cohesion level that has the strongest internal strength of a module ?

a) Functional cohesion b) Sequential cohesion

c) Temporal cohesion d) Logical cohesion

91. In which one of the following types of coupling, complete data structures are passed from one module
to another?

a) External Coupling b) Content Coupling

c) Stamp Coupling d) Control Coupling


92. Which one of the following is the correct ordering of the coupling of modules from strongest (least
desirable) to weakest (most desirable)?

a) content, data, common ,stamp, common b) data, control, common, stamp, content

c) common, content, control, stamp, data d) content, common, control, stamp, data

93. Consider the sentence: A book has one or more pages. Which of the following best characterizes the
relationship between the Book class and the Page class?

a) Inheritance b) Association

c) Specialization d) Composition

94. What is Top Down Design?

a) start function at the top, break down into parts, b) Write a 10 page story about how to run the
definitions at the bottom code and break it into chapters to help you
organize.

c) Put the steps at the top and put the explanation


in layers at the bottom

95. Stepwise refinement is:

a) Breaking down each step until it becomes easy b) Identifying the main steps needed in your
to code program

96. Which of these is not a reason for breaking problems down into modules

a) Allows only one programmer to work on a b) Individual modules are easier to maintain.
solution

c) Easier to test and debug d) Reusability

97. A graphical representation of the modular structure of a solution is a

a) Identfier table b) Modular diagram

c) Top down design d) Structure chart


98. What is a software design strategy?

a) A systematic approach for producing a design. b) A fundamental idea that can be applied to
designing a system.

c) An overall plan and direction for developing a d) A graphical or textual description of the
design. software

99. What is “white box” testing?

a) Integration testing b) Unit testing

c) Testing with knowledge of the system internals d) Testing without knowledge of the software
internals

100. What is “black box” testing?

a) System testing b) Testing with knowledge of the system


internals

c) Integration testing d) Testing without knowledge of the software


internals

You might also like