Quiz Bank-1

March 29, 2018 | Author: Rajvardhan Jain | Category: Computer Program, Program Optimization, Data Type, Subroutine, Source Code
Share Embed Donate


Short Description

quiz...

Description

SUB MODULE 1 Q. COBOL is a ____________ language. a) Lowercase sensitive b) Uppercase sensitive c) Non-case sensitive d) Pseudo sensitive Q. State whether the following sentence is true or false. High-level languages are nonprocedural, and that poses issues to the levels of productivity. a) True b) False Q. State whether the following sentence is true or false. A method is a five-step process that defines how to perform a specific task. a) True b) False Q. The different ways that are commonly used to plan the solution to a problem is/are ________. a) To draw a flowchart b) To write pseudo code c) Both A and B d) None of the above Q. State whether the following sentence is true or false. The 0s and 1s in binary language correspond to the on and off electrical states in the computer. a) True b) False Q. State whether the following sentence is true or false. COBOL is a simple language used for education and business. a) True b) False Q. It is necessary to ensure that the statements in a program follow the required sequence, else _________. a) Program will not execute b) Error will occur during compilation c) Output obtained will be different from desired one d) All of them

Q. Javascript language originally intended to be a standard language for weapons systems, but it has also been used successfully for commercial applications. True or false? a) True b) False Q. To get your program to work, a) follow exactly the rules-the syntax-of the language you are using. b) follow exactly the rules-the logic of program c) Both a) and b) d) None of the above Q. What is the ideal way of writing a program? a) Dividing a big idea into small ones and coding them separately. b) Get small ideas, aggregate them into big idea and code it c) Code a big idea and then divide it in small parts. d) All of the above Q. What are the steps involved in programming process? a) Defining the problem, Planning the solution, Coding the program, Testing the program. b) Planning the solution, Coding the program, Testing the program, Documenting the program. c) Defining the problem, Planning the solution, Coding the program, Testing the program, Documenting the program and maintenance d) Defining the problem, Planning the solution, Coding the program, Testing the program, Documenting the program. Q. State whether the following sentence is true or false. Assembly level languages are nonprocedural, and that poses issues to the levels of productivity. a) True b) False Q. In while loop the loop counter must be initialized _____________. a) Within the loop b) before entering the loop c) At the end of the loop d) None of the given options Q. A computer program that translates one program instructions at a time into machine language is called a compiler. True or false? a) True b) False Q. In the evaluation of computer languages, all the following characteristics should be considered except ________. a) application oriented features

b) efficiency c) software development aids d) hardware maintenance costs Q. Defining a problem is a task that includes __________. a) Identifying the input or given data b) Identifying the output or result c) Both A and B d) None of the above Q. The first generation languages improve productivity because programs are simple to write and change. True or false? a) True b) False Q. State whether the following sentence is true or false. The second generation languages are result-oriented, and emphasize what instead of how. a) True b) False Q. State whether the following sentence is true or false. The second generation languages are result-oriented, and emphasize what instead of how. a) True b) False

SUB MODULE 2

Q. The second step in problem solving process is identify. True or false? a) True b) False Q. True or false? The organized process or set of steps that needs to be followed to develop an information system is known as the program specification. a) True b) False Q. State whether the following sentence is true or false. Actual programming of software code is done during the development and documentation step in the SDLC. a) True b) False Q. Most modern software applications enable you to customize and automate various features using small custom-built “mini programs” called code. True or false? a) True b) False Q. State whether the following sentence is true or false. Actual programming of software code is done during the design step in the SDLC. a) True b) False Q. State whether true or false. Unit testing is recommended for solving bugs related to memory leakage. a) True b) False Q. State whether true or false. Complex problem solving model exists. a) True b) False Q. Enhancements, upgrades, and bug fixes are done during the ____________ step in the SDLC. a) Maintenance and Evaluation b) Problem/Opportunity Identification c) Design

d) Development and Documentation Q. ____________ spend most of their time in the beginning stages of the SDLC, talking with end-users, gathering information, documenting systems, and proposing solutions. a) Systems analysts b) Project managers c) Network engineers d) Database administrators Q. State true or false. There are 5 steps are in the systems development life cycle (SDLC). a) True b) False Q. A problem can be defined as the difference between computer state and real state. True or false? a) True b) False Q. State true or false. There are 8 steps are in the systems development life cycle (SDLC). a) True b) False Q. State true or false. There are 8 steps are in the systems development life cycle (SDLC). a) True b) False Q. Actual programming of software code is done during the ____________ step in the SDLC. a) Maintenance and Evaluation b) Design c) Analysis d) Development and Documentation Q. State whether true or false. Waterfall problem solving model exists. a) True b) False Q. In the Analysis phase, the development of the ____________ occurs, which is a clear statement of the goals and objectives of the project. a) Documentation b) Flowchart c) Program specification d) Design

SUB MODULE 3

Q. The type of data that can be stored in a variable is given by ____________. a) The declared data type of the variable b) It is OS dependent c) It is application dependent d) It is the user’s choice Q. Which of the following is an action that a programmer CANNOT do using a variable? a) Change the data type of the variable once it is declared b) Declaring or creating a variable c) Initializing a variable d) Retrieving data from a variable Q. A data type represents___________________. a) the type of data, memory needed for storing the data, and the operations that can be performed using the data b) The name of the user, the variable name, and value of data stored. c) the variable name, the purpose of the variable in the program and the value of data stored. d) the value of data stored, the location at the memory where data is stored, and the operations that can perform using the data Q. State whether the following sentence is true or false. Another name for a non-primitive data type is complex data type. a) True b) False Q. The composite data types are derived from the ________. a) Non-primitive b) Primitive c) Both the above d) None of the above Q. Which of the following best describes a program? a) Collection of data b) A process c) Sequence of instructions d) None of above

Q. State whether the following statement is true or false. A programmer can declare and initialize a variable through a programmer. a) True b) False Q. State whether the following sentence is true or false. Both simple data types and composite data types are known as non-primitive data types. a) True b) False Q. Which of the following is not true with respect to a program? a) A sequence of instructions makes a program b) It is written in a programming language c) It is used for humans to accomplish a task d) It can help a computer to get a task done Q. Which of the following best defines a constant memory location? a) A variable b) The memory pointer to a variable c) A memory location where the program can store data but cannot alter it later d) A function or procedure which returns a memory pointer

SUB MODULE 4 Q. The input commands are given in a command prompt window in the graphical user interface. True or false? a) True b) False Q. State whether this sentence is true or false. Punched cards were the main form of user interface in the earlier days. a) True b) False Q. State whether the following sentence is true or false. Text User Interface is one of the common types of user interfaces. a) True b) False Q. State whether the following sentence is true or false. Voice User Interface is one of the common types of user interfaces. a) True b) False Q. In the command line user interface, the output is obtained in the form of ______. a) Command line instructions b) Printed text on the monitor c) Web commands d) Images on the monitor Q. Which of the following can be considered as an example of user interface? a) Monitor b) Screen c) Keyboard d) All of the above Q. The _____ is viewed by the user using a web browser program. a) Graphical user interface b) Voice user interface c) Web user interface d) None of the above

Q. Which of the following is an example of the user interface? a) Characters in text b) Software c) Code d) Bugs in the software

SUB MODULE 5 Q. Which of the following is the methodology followed in structured programming? a) Different programmers use their own structured design techniques b) Programmers complete coding and the code is put together using structured design techniques c) All programmers use the same structured design techniques d) Both a) and b) Q. In modular programming, each module can have several objects. True or false? a) True b) False Q. State whether the following sentence is true or false. The principle of sequence implies that program instructions should be executed in the order in which they appear. a) True b) False Q. State whether the following sentence is true or false. A sub-procedure is considered to be valuable because, it limits the number of times the code can be accessed. a) True b) False Q. State whether the following sentence is true or false. Modular programming is the method by which the code is broken into smaller, logical procedures. a) True b) False Q. Since modularity is an important design goal it is not possible to have too many modules in a proposed design. True or false? a) True b) False Q. State whether the following sentence is true or false. Bottom-up design is the process of breaking the overall procedure into component parts and then subdividing each component module until the lowest level of detail is reached. a) True b) False Q. When using a procedure the calling code sends data via the formal argument to the actual parameter of the procedure. True or false? a) True

b) False

Q. What is the output of the following program? Void main() { Int a = 6; function(a); } int function(int p) { If(p == 6) Return 0; Else Printf(“%d”, p); function(p--); } a) 6 5 4 3 2 1 b) 6 5 4 3 2 1 0 c) Compilation error d) None of the above Q. State whether the following sentence is true or false. The procedure calls are quick and need less memory. a) True b) False Q. Which of the following is not an approach for the Modular programming? a) Top-Down Decomposition b) Bottom-up Design c) Stepwise Refinement

d) None of the above Q. Utilizing the existing facilities or design in a way which gives out program a better performance. This statement is applicable for which of the following? a) Bottom-up Design b) Stepwise Refinement c) Top-down decomposition d) Broadcast programming Q. What happens when a parameter in a procedure is declared ByVal? a) Only arguments of numeric data types are allowed. b) A reference to the argument is sent to the procedure. c) A copy of the argument is sent to the procedure. d) All of the above. Q. Which of the following is a Selection statement? a) IF-THEN b) IF-THEN-ELSE c) CASE d) All of the above

SUB MODULE 6 Q. The goal of optimization is to make programs slower and at the same time to ensure that program occupies lesser memory in the computer’s memory; true or false? a) True b) False Q. State whether the following sentence is true or false. Detailed performance should be considered before the design of the code is complete. a) True b) False Q. The cost of optimizing a program ______exponentially with every phase of SDLC. a) Decreases b) Does not change c) Divides d) increases Q. The cost of optimizing a program increases exponentially after it is deployed for customer’s use. True or false? a) True b) False Q. State whether the following sentence is true or false. Code optimization is done to ensure that code execution is done thoroughly and takes more time. a) True b) False Q. State whether the following sentence is true or false. The slower the algorithm, the more memory a program would consume. a) True b) False Q. State whether the following sentence is true or false. Detailed optimization should not be started before developer completes an initial version of the code. a) True b) False

Q. State whether the following sentence is true or false. The step to begin the code optimization is identifying the 10% or 20% of the program that consume more execution time. a) True b) False Q. Code optimization should take care of common sub-expressions or code grouping computing the common sub-expression only once. True or false? a) True b) False Q. State whether the following sentence is true or false. A developer/designer should think about improving algorithms first before doing some code optimization. a) True b) False Q. State whether the following sentence is true or false. Detailed optimization should be started before developer completes an initial version of the code. a) True b) False Q. _________ is done on source code, while _______ is done at the compiled-code level. a) High level optimization, low level optimization b) Low level optimization, high level optimization c) First level optimization, low level optimization d) High level optimization, first level optimization Q. State whether the following sentence is true or false. A designer should think of improving algorithms after doing some code optimization. a) True b) False Q. State whether the following sentence is true or false. The cost of optimizing a program is less after the development phase than after the deployment phase. a) True b) False

SUB MODULE 7 Q. State whether the following is true or false. The pieces of dummy code used in top down integration are called stubs. a) True b) False Q. The bugs which have been missed out during the testing process cause problems to the end users. True or false? a) True b) False Q. ______ is the process of evaluating a system and/or its components with the intent to find out whether it satisfies the stated requirements or not. a) Analysis b) Coding c) Testing d) Maintenance Q. For which of the following can testing be used? a) To confirm whether the system works as expected b) To confirm whether the system can be implemented with the same characteristics c) To confirm whether the system meets the requirements which will guide the further design and development d) All the above Q. A project manager writes the test cases for a project. True or false? a) True b) False Q. The end user performs the acceptance testing of a project. True or false? a) True b) False Q. Which of the following can be pointed out as the advantage of starting test designing at the beginning of the project? a) Being able to complete the development process on time b) Being able to start the coding process earlier c) Being able to save a lot of rework effort and resources d) None of the above

Q. The components at the top of the hierarchy are tested last in the top-down approach to testing. a) True b) False Q. Testing of whole computer system before rolling out to the UAT is called alpha testing: a) True b) False Q. State whether the following is true or false. Starting test designing at the beginning of the project enables you to save a lot of effort on rework. a) True b) False Q. Anybody who has an interest in the successful completion of the project can be considered as a stakeholder of the project. True or false? a) True b) False Q. Debugging is done by _______________ a) testers b) developers c) end-users d) All of the above Q. Which of the following classes of users performs the acceptance testing of a project? a) End user b) Software tester c) Project manager d) Software developer Q. The testing activity yields the actual, expected and difference between actual and expected results. True or false? a) True b) False Q. Which of the following classes of people can be considered as a project’s stakeholders? Clients,Customers,Project team members,Project manager,Company’s senior managers a) All of them b) 1, 3 and 5 c) 1, 2 and 4

d) 2, 3 and 5 Q. The testing that the project’s developers conduct is called _______. a) Sanity testing b) Integration testing c) Unit testing d) None of the above

SUB MODULE 8 Q. State whether this is true or false. The construction phase follows the design phase in SDLC. a) True b) False Q. What are the first three phases in SDLC? a) Requirements-gathering phase, design phase, implementation phase b) Design phase, testing phase, maintenance phase c) Requirements-gathering phase, design phase, testing phase d) Design phase, construction, implementation phase Q. State whether the following statement is true or false. The requirements of the software are translated into a software plan during the design phase. a) True b) False Q. State whether true or false. The software code created during the maintenance phase is verified against the requirements during the implementation phase. a) True b) False Q. During the requirements analysis phase of the software development lifecycle, on which of the following factors is emphasis placed? a) How the system will achieve its goals b) Goals of the system c) How the system will be developed d) Who will develop the system Q. State whether the sentence is true or false. System Development Life Cycle is the method that is used to plan, design, code, test and maintain a software. a) True b) False

Quiz Compltion Q. State whether the following sentence is true or false. HTML is a mark-up language. a) True b) False Q. State true or false. CVS is used in the analysis phase. a) True b) False Q. Debugging is: a) creating program code b) finding and correcting errors in the program code c) identifying the task to be computerized d) creating the algorithm Q. From the options provided below, choose the tools that could be used to create static pages effectively. a) XML b) HTML c) CSS d) Both b and c Q. Implementation is the process that brings all the software components together to create the complete software system. True or false? a) True b) false Q. In system testing we will validate --a) business requirement b) application requirement c) both a and b d) none Q. The instruction that transfers the control to the subroutine and back to a join are commonly known as___________. any of the three a) Call instruction b) Return instruction c) Call and return instructions d) All of the above

Q. Product Risk affects the quality or performance of the software. a) True b) False Q. A software company built a website with a lot of features spread all over the webpage, with very less blank space on the page. But, the users did not receive the design very well. What could this website be lacking? a) Do not create crowded interfaces b) Group things effectively c) Follow the contrast rule d) Expect your users to make mistakes Q. Which of the following is the output of a load/link phase? a) Object code b) Load module c) Both A and B d) None of the above Q. State whether the sentence is true or false. The phase of SDLC when the system is actually built or purchased is development. a) True b) False Q. The buttons on one side of a website opened the corresponding options, while those on the other side of the do the same action when they are double-clicked. In terms of usability, what does the website lack? a) consistency b) navigation c) ineffective labelling of the options. d) The website does not lack anything Q. Quick and dirty test to determine quickly the status of a system is called --a) unit testing b) smoke testing c) quick testing d) both b & c Q. A defect which is not permitting to continue further testing is called ______________ a) Showstopper defect b) End defect c) Performance defect d) Deadlock defect

Q. A defect which is not permitting to continue further testing is called ______________ a) Showstopper defect b) End defect c) Performance defect d) Deadlock defect Q. State whether this is true or false. System requirements gathering is done during the maintenance phase. a) True b) False Q. A ________ is a set of step-by-step instructions that directs the computer to do tasks and produce results. a) Pseudo-code b) Flow chart c) Program d) Programming Language Q. Functional testing includes test cases that validate security log-ons: a) True b) False Q. An early agreement upon the test plan at requirement stage improves the specification of the module under development? a) True b) False Q. Identify the output of the following pseudo code where n=3? Read n Initialize the variable i to 1 Initialize the variable j to 1 while i 'less than or equal to n' do while j 'less than or equal to n' do Print ij increment j

end while Increment i end while Stop a) 11 12 13 21 22 23 31 32 33 b) 11 21 31 12 22 32 13 23 33 c) 11 22 33 11 22 33 11 22 33 d) 11 12 13 14 15 16 17 18 19 Q. Why is a translator required while using assembly language program? a) English –like codes are used in assembly language b) To translate mnemonic codes c) Computer only executes machine language d) Both a and c Q. Statement that enables you to test your assumptions about your program and helps you in finding bugs . a) Assertion statement b) Break statement c) if-else statement d) continue statement Q. One of the most important features to be taken care of while designing a good user interface is that it should work consistently. True or false. a) True b) False Q. The transfer of control to the subroutine and return control back is possible because ______. a) The location of the instruction to which control is to return is stored in program b) The location of the instruction to which control is to return is stored in memory c) The location of the instruction to which control is to return is stored in register d) None Q. Testing of computer system by client to verify if it adhered to the provided requirements is called acceptance testing a) True b) False

Q. State whether the following sentence is true or false. Translating the problem statement into a series of sequential steps describing what the program must do is known as coding. a) True b) False Q. State whether the following is true or false. CVS stands for Current Version Specification. a) True b) False The acronym BRS stands for Business Resolution Specification. FALSE

Q. State true or false. System testing is a very basic check to see if all software components compile with each other without any problems. a) True b) False

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF