0% found this document useful (0 votes)
83 views13 pages

Unit - 1

Data abstraction reduces complexity by binding together code. LISP is a good language for symbolic computing. Procedural programming languages provide simplicity and code reusability. Encapsulation is a way to compartmentalize and reuse code by creating collections of attributes.

Uploaded by

saurabh kothari
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)
83 views13 pages

Unit - 1

Data abstraction reduces complexity by binding together code. LISP is a good language for symbolic computing. Procedural programming languages provide simplicity and code reusability. Encapsulation is a way to compartmentalize and reuse code by creating collections of attributes.

Uploaded by

saurabh kothari
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/ 13

UNIT -1

Which of the following is the functionality of ‘Data Abstraction’? Reduce Complexity Binds together code a Parallelis None of the mentioned A
1
2 Type of program which can be run on different types of computer by making little changes portable program fixed program Any prog compiled program A
3 ……..language good for symbolic computing FORTRAN Pascal Cobol LISP D
The von Neumann model used in ……… Traditional sequential c None of t A
4 Traditional parallel com Both a and b
5 Which of the following language is a declarative language? Algol Java C++ Prolog D
What are the benefits of procedural programming language. Simplicity Code reusability. strongly mall of the above D
6
7 ...................is a way to compartmentalize and reuse code by creating collections of attribu Inheritance encapsulation abstractioscoping A
8 Which of the following is most oriented to scientific programming FORTRAN COBOL BASIC PL/1 A
9 Which of the following is an example of problem oriented language BASIC PL/1 FORTRA All of above D
10 Programming language 'FORTRAN' stands for formula translator. formula translation. free tran free translation. A
11 Which of the following is machine independence program? High level language Low level language Assembly Machine language A
12 Which of the following is called low level languages? Machine language Assembly language Both of t None of above C
13 High level language is also called Problem oriented languBusiness oriented langMathema All of the above D
14 The rules of a language are called its __________. Structure Code Syntax Rigidity C
15 The rules of a language are called its . Structure Code Syntax Rigidity C
16 A ___ is commonly used to locate faults in a program and remove them. Debugger Linker Loader Error generator A
17 Pascal is a ___ language. Procedural object-oriented Function Structure-oriented A
18 LISP was designed and written in 1940-45 1954-55 1956-62 1981-85 C
19 PROLOG was developed by K. Iverson J. McCarthy J. Backu A. Colmerauer D
20 Syntax of a language is defined by two sets of rules as ___ and ___. Lexical rules, semantic Semantic rules, symb Lexical r Lexical rules, syntactic rules D
21 The symbol "::=" stands for Not equals to is defined as Both A a None of these C
22 Importance of studying PL ability to express ideasability to learn new lanability to d all the above D
23 Java has its origin in C PERL COBOL OAK D
24 ASCII code of D 067 004 068 065 C
From the point of view of the programmer what are the major advantages of using a high- Program portability Efficiency abstraction B
25 Easy development
In high level programming language Pascal, each program statement ends with the comma semicolon double qusingle quotation marks B
26
Function is basic building blocks in which language: Imperative Languages Applicative LanguagesRule-bas Object-oriented programming B
27
language have adopted which features that aid separate compilation: Extern Breaking point featureExecutionNone of the above A
28
In testing/ debugging assertion means: Control expression Conditional expressionBoth a & B
29 None of the above
B
30 Looping in a program means Jumping to the specifie Repeat the specified l Both of a None of above
C
31 If default constructor is not defined, then how the objects of the class will be created? The compiler will generError will occur at run- Compiler None of these
D
32 The variable which can be accessed by all modules in a program , are called -------- Local variables Internal variables External vGlobal variables
all of the above C
33 Discriminated unions are supported by---- C C++ ML
Chose the correct statement B
34 I. Array of references can be created Only I is correct Only II is correct Both I andNeither I and II is correct
B
35 Choose the correct statement A reference is not a co Reference is automati Both a & None of these
B
36 Explicit type conversion is known as ------ Conversion Casting SeparatioNone of these
The scope of a variable refer to----- The length of the varia The name of the varia The acce The lifetime of the variable C
37
38 A factor in the selection of a source language is programming writability language availability program all of the above D
39 Programming languages may enforce a certain programming style is called as . Programming languag Software development program None of these C
40 From the point of view of the programmer what are the major advantages of using a high-level language ratProgram portability Easy dev Efficiency B
41 Which of the following is logical programming language LISP C COBOL PROLOG D
42 Static binding is Translation Time Language ImplementaLanguageAll of the above D
43 Is a program that processes a program just before the program is compiled preprocessor Interpreter compiler Assembler A
44 Execution time is actually_______________ Dynamic Binding Static Binding None of these A
45 _________ is defined by programmer,loader or translator Execution time Translation Time LanguageLanguage Implementation Time B
46 Importance of studying PL ability to express ideas ability to learn new la ability to dall the above D
47 The computer aided program development tools have increased programming productivityReducing chances of eReducing time to locatAll of the None of the above C
48 ____________ emphasizes the computation of values by the use of expressions and fun Procedural programminFunctional programm Abstract dModule based programming B
49 ____________ is the programming style, where programs are decomposed into computa Procedural programminFunctional programm Abstract dModule based programming A
50 Which one of the following is NOT performed during compilation? Dynamic memory allocaType checking Symbol T Inline Expression A
51 The class(es) of binding times is/are . Execution time Translation Time both A anNone of these C
52 Which languages necessarily need heap allocation in the runtime environment? Those that support rec Those that use dynamThose thaThose that use global variables C
53 Variable names resolving is based on: Source language Assembler and loader Compiler None of these C
54 The set of rules used in context free grammer are called as____________ terminals non terminals productio start symbol C
55 Syntax of a program means- Format of a program Meaning of the prograSimply co None of these A

Sr. Question option1 option 2 option 3option 4 Correct Marks


1 FORTRAN uses______________. static allocation stack allocation heap none of 1 1
2 Execution time languages can be classified are__________. static languages stack-based fully all of these 4 1
3 call by name parameter passing method is used in___________. c pascal ALGOL none of thes 3 1
4 copy restore parameter passing method is used in___________. c pascal ADA none of thes 3 1
5 Grammars are capable to describe the structure of ........and independent ........models. Language and Language and Langua None of 1 1
6 The language syntax is characterized by two arrangements of rules: ....... and......... Logical and syantax Lexical and syntactic Lexical None of 2 1
7 The distinctin among ......and......standards is to same degree Subjective. Logical and syantax Lexical and Lexical None of 3 1
8 ........give another method for characterizing structure of Programming language. Syntax diagrams. Axiomatic and Context All of 1 1
9 Representation of Non-terminals is done by.... and....by boxes. Circles and terminate Line and terminate Circle Line and 3 1
10 The non-terminals symbol is defined with a transition diagram having...................... One entry and two two entry and one One One entry 3 1
11 .........tell what is processed by giving a numerical question (function) which is the Algebraic semantics. Denotational Operati Axiomatic 2 1
12 .....semantics are utilized when taking in a programming language and by compiler Algebraic semantics. Denotational Operati Axiomatic 3 1
13 Translation semantics are used in....... Interpreters Compilers Errors. Both a and 2 1
14 A program is viewed as a state machine by........... Algebraic semantics. Denotational Operati Axiomatic 4 1
15 In a compiler.....checks every character of the source text. The lexical analyzer. The syntax analyzer. The The code 1 1
16 ..... Syntax can only represent a rule in one line, whereas in.....a terminating character, EBNF, BNF BNF,EBNF All of None of 2 1
17 The full form of EBNF.... Extended Backus Extended Beginning Extende None of 1 1
18 The syntax of language id define by two sets… Lexical rules Syntactic rules Both A None of 3 1
19 Syntax of ALGOL 60 was defined with Simply stating some Context-free Simple No syntax 2 1
20 Meta-language is Used to described Simple language Instructi None of 1 1
21 EBNF is metalanguage TRUE FALSE 1 1
22 Postcondition is Predicate p required Predicate q such Either A Both true 1 1
23 Predicate Q can be return as Q=T and R=I Q=T Q=R 1 1
24 Predicate W is called as Weakest precondition Weakest Both A None of 1 1
25 Axiomatic semantics specifies each statement of a language in terms of asemis Predicate translation Predicate Predicat NONE OF 2 1
26 Function mem from the set of program identifiers ID to values condition predicate function State 4 1
27 I is invariant predicate that satisfies condtion I and B subset of I and not B subset of Both A None of 3 1
28 Which of the following is true about implicit cursor? Implicit cursor are Developers should Implicit None of 1 1
29 Which of the following is not a feature of a cursor FOR loop Record type Opening and parsing Fetches Requires 2 1
30 Which of the following are implicit cursor attributes? %found %too_many_rows %notfou %rowtype 3 1
31 In left out,which of the following would be cuase an infinite loop occure in a simple loop? LOOP END LOOP IF_THE EXIT 2 1
32 Which of the following statement will produce an error? Cursor action_cursor Select Into None of 3 1
33 The command used to open a CURSOR FOR loop is open fetch parse None of 4 1
34 What happens when rows are found using a FETCH statement It causes the cursor It causes cursor to It loads None of 2 1
35 For which trigger timing can you reference the NEW and OLD qulaifires? Statement and row Statement only Row Oracle 4 1
36 What is the maximum number of handlers processed before the PL/SQL block is exited Only one All that apply ALL None 1 1
37 The stepsqlite product is a PL/SQL compiler for the small database------- Javascript Java Mozilla SQlite 4 1
38 What is the maximum number of ELSE clauses that can be included in an IF clause that 0 1 15 Any 2 1
39 Subprograms and anonymous blocks can be called by other applications. TRUE FALSE 1 1
40 A nested subprogram can be called from the main procedure or from the calling TRUE FALSE 2 1
41 When modifying procedure code, the procedure must be re-executed to validate and TRUE FALSE 1 1
42 Which of the following can be used as an argument for a procedure parameter? The name of a .A literal value An All of the 4 1
43 If you don’t specify a mode for a parameter, what is the default mode? OUT In Copy None 2 1
44 Which kind of parameters cannot have a DEFAULT value? IN,OUT,IN OUT Read,WRITE, CONST COPY, 1 1
45 Which one of the following statements about formal and actual parameters is true? Formal and actual Formal and actual A formal An actual 3 1
46 This resembles usages in object-oriented programming languages like________, C++ Pascal (programming Free Pascal Object Embarcade 3 1
47 …………………means combine available symbol to create well formed sentences in the Semantics Syntax Both a & None of 2 1
48 ………………….hints at characteristics of language , which are related to language user. Syntax Semantics Pragmat Rules 2 1
49 …………………..defines the meaning of the program. Algebric semantic Axiomatic semantics Denotati Translation 2 1
50 Which semantics are used in compiler i.e. convert program into machine language Algebric semantic Axiomatic semantics Denotati Translation 4 1

Sr. Question option1 option 2 option 3option 4 Correct Marks


1 1)The software development process originally consisted only of the ------------phase. Impletation Design Testing None of above 1 1
2 The section examines briefly the developments in language design by following the evolution of historical perspective Language and None of allof theabove 1 1
3 In the early days of computing, the computer was used mainly in__________ historical perspective Language and scientific allof theabove 3 1
4 The desire to apply the computerin more and more applications led to its being used in historical perspective sophisticated None of allof theabove 2 1
5 _________considerations forced people to enhancean existing system to meet the newly Social Economic None of allof theabove 2 1
6 is another issue that has gained importance gradually,because of two major factors. System reliability Language and None of allof theabove 1 1
7 System reliability is another issue that has gained importance gradually,because of one two None of three 2 1
8 One factor of system Reliability isthat systems are being developedfor users with little or no computer background Image Background None of allof theabove 1 1
9 The second factor of system reliability is that systemsare now being applied in critical areas Reliability Maintainability None of allof theabove 1 1
10 In the early days of computing, the ------------- was used mainly in scientific applications computer printer None of allof theabove 1 1

Sr. Question option1 option 2 option 3option 4 Correct Marks


1 The runtime storage might be subdivided of hold___________. generated target code data objects control all of these 4 1
2 During exection of a program the compiler clemandy for block of memory to operahng system code memory data memory runtime none of these 3 1
3 Data memory is divided into_________________. static data area stack area heap area all of these 4 1
4 following are the limitations of static allocation strategy size of data objects data structure can not recursion all of these 4 1
5 which field is not present in the activation record? actual parameter register allocation saved access link 2 1
6 In activation record the control link is basically a . static link dynamic link null pointe none of these 2 1
7 The assigned a pointer to the first instruction of the code segment for the_____. code memory variable subprogr none of these 3 1
8 A block representation can be portrayed by ________,which demonstrates how blocks are current instruction static nesting current all of these 2 1
9 A strict substitution is called ‘in-line expansion’or_________. macro extension local function both a & b none of these 1 1
10 Types of parameter passing techniques______. call by value call by name call by refeall of these 4 1
11 _________are generally passed by reference. program array procedure none of these 2 1
12 The address of actual parameter is passed to the formal parameter, “______”can happenoverloading aliasing caller none of these 2 1
13 Any manipulation on the formal parameters doesn’t have effect on values in activation of caller callee call value 1 1
14 is a second usuage demonstrate for in-out parameter. call by value pass by reference call by ad none of these 2 1
15 This sort of intercommunication between the modules is accomplished by_________. parameter passing fully dynamic data call by val call by 1 1
16 The hybid method between call by value and call by reference is______. call by name copy restore call by ad none of thes 2 1
17 The node of activation tree represents___________. main procedure a and b none of thes 3 1
18 The root of activation tree represents . main program called procedure a and b none of these 3 1
19 ______field ,of activation record refers to non local data in another activation record . actual parameters access link control lin return values 2 1
20 The control link of activation record points to__________. caller procedure callee procedure both a & b none of these 1 1
21 An interpreter is a program that repetitively executes : Get the next Determine the action Perform All of the 3 1
22 CPU is also an interpreter of machine instruction TRUE FALSE 1 1
23 ____translate code into some efficient ntermesiate representation and immediately execute that. Translator Interpreter Compiler None of the 2 1
24 Interpreters are frequently used to executed Commad language Glue language Both None 3 1
25 No intermediate code is generated in interpreter compiler Both None 1 1
26 BASIC language is an example of: interpreter compiler Both None 1 1
27 In interpreter conditional control statements are execute slower TRUE FALSE 1 1
28 In interpreter memory required is? less More average None 1 1
29 In ------- Higher level language is converted into lower level lenguage interpreter compiler Both None 1 1
30 In computing , an interpreter is a computer that reads the source code of another program and TRUE FALSE 1 1
31 Self modifying code can be easily implemented by interpreter compiler Both None 1 1
32 Translator for low level programming language were termed as C Assembler Compiler Linker Loader 1 1
33 The translator which perform macro expansion is called a Macro processor Macro pre-processor Micro assembler 2 1
34 Which of the following can be used as a criterion for classification of data structures used in nature of a data purpose of a data lifetime all of the abov 4 1
35 An assembler is programming language syntax dependant. machine d data dependa 3 1
36 Which is not a funciton of a loader allocation translation relocation loading 2 1
37 An interpreter is a program that places programs into automates the accepts appears to 2 1
38 disadvantage of compiler and go loading scheme is that a position of memory is it is necessary to it is very all of the abov 4 1
39 which of the following are language processors assembler compilers interpreter all of these 1 1
40 An assembler converts machine code to high level language to assembl all of the abov 3 1
41 Numerous binding are performed amid program execution is called_ _ _ _ run time binding late binding both a) & early binding 3 1
42 Binding is done at_ _ _ translation time execution time both a) & none 2 1
43 Execution time binding is also called as run time bindind both early bind none 3 1
44 Binding is chosen by ....... programmer loader translator all of above 4 1
45 The time amid program formulation or processing when this decision is made is named........ binding period binding cycle binding timnone 3 1
46 Which of the following logic is used to produce loops in programme logic? Value. Variables.   Name. Scope. 2 1
47 The function with the name is always written in every program int main void factorial 2 1
48 The scope of a variable declared externally, is__________ local within the global in none of the 3 1
49 The scope of a variable declared as static storage class is__________ local within the in multiple programs global none of the 1 1
50 binding is used to define the scope in terms of the lexical structure o Static scope. Dynamic scope. Both None of these 1 1
Q.No. Question Option 1 Option 2 Option Option 4
Correct
1 Rad stands for b
Realtive Application DeveRapid Application DeveloRapid App None of the m
2 SDLC stands for a
Software development lifeSystem development Lif Software DSystem Desig
3 What is software? Software is set of programSoftware is Software e of the mentio
c
4 What are attributes of good software? Software maintainability Software Functionality Software DSoftware
d
5 Which of these software engineering activities are not part of software process Software dependence a
Software development Software vSoftware Spe
6 Which one of following is not Evolutionary part of software Process Spiral model Incremental model Concurre all of mention
d
7 What is major advantageof using incremental model Customer can respond Easier to test and debugIt is used Easier tod
8 The spiral model was originally proposed by IBM Barry Boehm Pressman Royceb
9 Identify disadvantage of Spiral model Doesn’t work well for High amount of risk ana Strong Additional
a
10 How is incremental model different from Spiral model Programs can be Changing requirements Users a
all of mention
11 Selection of model is based on: Requirements Development team & UsProject d
all of mention
12 Purpose of process is to deliver software In time with aacceptable quality that is cosboth in time
d
13 Which of following activities of a Generic Process framework provide a feedback report? Communication Planning d
Modeling &Deployment
14 Where there is a need of Software Engineering? For large Software To reduce Cost Software All of the abo
d
15 Software engineering is considered as a layered technology. These layers include: Process Method Tools d
All of the abo
16 Software is developed or engineered and it is not manufactured TRUE FALSE a
17 which of following are most encountered problems associated with development process? Running out of time I.e deOver budget d
Low qualit All of the abo
18 Older software development that were poorly designed and documented are called Abandoned Software Legacy Software b
Low qualit All of above
19 What are the Elements of Software Practice? Quality,Availability,Reus Quality Concept All of above
c
20 David Hooker proposed …......... Core Principles that are applied to 'software Five Six Seven Eight c
21 Which of the following is not Approches for Process Assessment SCAMPI CBA IPI SPICE (ISSPA IPR (SI d
22 In which model, limited set of customers requirements are implemented quickly The waterfall model Incremental process Evoluti The b
23 Which of the following is not Evolutionary Process model The waterfall model The Concurrent The Prot The spiral m a
24 Which of following is not Phases of Unified Process Inception phase Elaboration Phase Construc Translation d
25 Which of the following is not agile method Scrum Spiral Extreme Crystal b

Unit-2
1 Which among the following best defines abstraction? Hiding the Showing the important Hiding Hiding D
2 In Logically-Controlled Loops repetition control is based on counter Boolen experssion combinat None of the B
3 In which type subscript ranges are statically bound, but the allocation is done at declaration Fixed stack-dynamic Stack-dynamic array Fixed Heap-dyna A
4 An unordered collection of data elements that are indexed by an equal number of values called rectangular array Jagged Arrays record Associative D
5 Heterogeneous Arrays supported by which language C C++ Python Ada C
6 …………… have Large number of floating-point computations Scientific applications Business applications Systems all of the A
8 Which of the following is not the built in data types of Pascal? Integer Real Char Float D
9 Which is the subtypes of Pascal and Ada Data Types Unstucture Pointers Structureall of these D
10 Which is the subtypes of unstructured types of Pascal Data Types Built –in enumeration Subrang all of these D
11 Which is the subtypes of structured type of Pascal Data Types Cartesian Product(ReArray (finite mapping) Set (powall of these D
12 Which is the subtypes of fundamental data type of C++ Integral floating Both A and B C
13 Which is the subtypes of derived data type of C++ Array Class Structureall of these D
14 Which of the following are structured dta types in Ada? Cartesian Product(ReArray(Finite mapping, Tagged all of these D
15 Which of the following subtypes of scalar data types of Ada Discrete Real Both A and B C
16 Which of the following are subtypes of discrete and real data types of Ada? Enumeration (Char,BoInteger (Signed integeFloating pall of these D
17 What will be the output of following code? #include<iostream> using namespace std; 0 1 2 1 2 3 Syntax ErroNone of These C
18 What will be the output of the follwing code? #include<iostream> using namesp Matching Non Matching Syntax ErroNone of These B
19 What will be the output of the following code?int main() { char ch; ch=129; printf("%d\n",ch); retu 129 -129 -127 Syntax Error C
20 What is the output of following code? #include<iostream> using namespace std; int main() { int Syntax Error 3 4 5 6 7 2 3 4 N 5 one of These B
21 Identify the built-in data type__________________. struct class int enum C
22 What will happen if null pointer is converted to boolean___________. The boolean value is eval The boolean value is evaerrror is ra None of these B
23 In which language ADT is not implemented by using class C++ Java VB Ada D
24 What is the role of compiler by templates? Probability type-safe de eliminat Allof These B
25 A mathematical model with a collection of operations defined on that model is called__________. Data Structure Abstract Data Type lt in Data TNone of These B
26 illegal operation that manipluate the data object is called type system type error type safet all of these B
27 When variable used in the program is a whole number,then variable is stored as ___________. String data type integer data type Negative wPositive whole number B
28 Class is _______. template which associateData abstraction implement object oriented D
29 which type of error occure in program language error Applicaton error all of theseSyntax Error C
30 In intensional mapping range type values are directly associated with domain type values TRUE FALSE A
31 Extensional mapping is a routine in which the range type values are associated as data aggregate TRUE FALSE A
32 What is the output of the folloeing code? int main() { dou 2.2 2 2 conversion from double to int is not pos B
33 What will be the output of the following code? #include<iostream.h> using namespace std; a 0.0 97 Syntax Error C
34 Explicit type conversion is known as_____. conversion casting separationNone of These B
35 What is strong type system? The type system in whic The type system in whicA type sys None of These C
36 When the type conversion is required? The value to be stored The value supported i To reduce All of these D
37 A strict type system in which one operand type A is allowed to perform operation with another opeType Compatibility Type equivalence Type confoAll of these D
38 The type system which gives gurantees of typr safety and not to generate type error is ca strong type system Weak type system strong typweak type language A
39 subtype is nothing but subset of the values to whoich the type is associated with TRUE FALSE A
40 Language that support subtypes must define a way to define subsetCompatibility rules bet both 1 and 2 C
41 Which of the following is strict as applied to record type---------- name equivalence sructural equivalence subtype aassignment compability A
42 choose the correct property of static type system_______ only built in dta types aall variables are clearefor all opeall of these D
43 Type system is nothing but collection of rules to becollection of various p collection none of these A
44 Using a template the function is written oit will take long time to duplicate None of These A
45 Generic types derived from Primitive data types Built-in Data types Abstract dNone of These C
46 ………………..is one of the most important criteria for judging a programming language is the Readability Orthogonality Writabilit all of the A
47 ………………..are the Language Evaluation Criteria Orthogonality Readability Writabilit all of the D
48 …………….. was the first to have block structure, recursion, and a formal definition. Python Algol 60 Ada LISP B
49 ………..used for business-oriented computations Ada LISP Cobol Algol 60 C
50 ………….was the first in history language of personal computing. Basic Algol 60 LISP Ada A
51 A programming paradigm can be understood as an …………………………………….. of a abstraction inheritance encapsul None of the A
52 …………………….. is simplifying complex reality by modeling classes appropriate to the Abstraction encapsulation inheritan all of the A
53 ………………………….avoids state changes and mutable data. Object Oriented Functional Both a None of the B
54 Iteration in functional languages is usually accomplished via ……………………………... recursion Abstraction inheritan None of the A
55 A type system in which every object belongs to one and only one type Monomorphic Polymorphic None of These A
56 functions that work uniformly for an infinitenset of types, all of which have some common s universal polymorphismAd-hoc None of These A
57 _____the same function name can be used in different contexts to denote different functio overloading coercion None of These A
58 An operation that converts the types of function to the type expected by function Inclusion Prametric coercion C
59 Use of interface in java is To define members andTo define members an call to deTo define members and methods th A
60 What is the output of the folloeing code? int main() { dou 2.2 2 2 conversion from double to int is not pos B
61 Which of the following is the operator notations Infix Postfix Prefix All of these D
62 Which of the following is the type of operator depends on arity of operaror ? Unary Binary n-ary All of these D
63 which Conditional statement use in all language if case Both 1 anNone of these A
64 How many types of standard exceptions are in C++ 2 5 6 7 B
65 compound statement is nothing but_________ group of statement tha group of statement group of statement that executed over and over a A
66 repeat ……….until is the iteration used in Ada Pascal C++ c B
67 #include<iostream> using namespace std; int main() { int a= 10 20 11 20 10 21 11 21 C
68 The statements that are executed repeatedly is _____________ iteration Function routine loops C
69 throw statement can be replaced by_________ break return exit None of these B
70 Procedure returns the value TRUE FALSE A
71 Two variables to be aliases if they share or denote same entity durin unit activation TRUE FALSE A
72 Exception handling is for_______. Handling runtime er Handling syntax errHandlingall of these A
73 Exception occurs due to________. Operating system proHardware Problem Syntax e runtime error D
74 The code of statements that can cause abnormal termination of the program shouldtry block catch block catch all finally bock A
75 Which keyword is used to check exception in the code? throw try catch exception C
76 Exception handler are declared with _____keyword. try catch finally none of these B
77 Exception is thrown using the keyword________. throw throws thrown throwing A
78 Choose the current statement _________. Function can throw a A function can throwFunction None of these B
79which of the following is used to replace throw statement? break return exit none of these B
What is the output of the following code?Void Division (const double a, const dCheck Operators
80 Error! Division by z 0 Syntax error C
81what will happen if thrown exception is not handled in c++? It will call terminateThe compiler will c The progNone of these A
What will happen when a program throws any other type ofexception other th Program will crash arise an error
82 Program none of these B
83 activity is typically written within the try block constant reference static memory alloc dynami None of these C
84Which is the valid catch statement? catch() {//function bocatch(….){//functioncatch(clanone of these B
What happens if several handlers match the type of the thrown object?
85 All handlers will be program will crashThe firstnone of these C
What will happen when we move try block far away from catch block?
86 Reduces the amountIncreases the amou Don’t al None of the mentioned A
In C++ which operator is used in catch-all handler?
87 ellipses operator ternary operator string opunary operator A
How many parameters does the throw expression can have?
88 1 2 3 4 A
Most of the programming language support following type of routine______. function
89 procedure both a a none of thes C
Pascal supports following type of routine________.
90 only procedure Only functions Both pr Neither procedure nor function C
……………………………………..can be categorized by whether they use strict (eager) or
91 Functional languageObject Oriented ProLogical PNone of the above A
……………………………………... is a specific type of a more general class: production
92 Functional languageObject Oriented ProLogical PNone of the above C
............... is the purest object-oriented language ever designed.
93 FORTRAN Pascal Cobol smalltalk D
Importance of Studying Programming Languages is/are:
94 Increased capacity toImproved backgrouOverall All of this D
What are the three main types of computer programming languages?
95 machine language, aimperative languag COBOL, all of the above A
Q.No. Question Option 1 Option 2 Option Option 4 Correct
1 What are the types of requirements ? Availability Usability Reliability All Of the me D
2 Select the developer-specific requirement? Portability Maintainability Availability Portability & D
3 Which one of the following is not a step of requirement engineering? Elicitation Design Analysis Documentati B
4 FAST stands for : Functional Application S Fast Application Specifi Facilitated None of the m C
5 QFD stands for: quality function design quality function developmquality fun None of the m C
6 A Use-case actor is always a person having a role that different people may play. TRUE FALSE B
7 Which is one of the most important stakeholder from the following ? Entry level personnel Middle level stakeholde Managers Users of the s D
8 Which one of the following is a functional requirement? Maintainability Portability RobustnesNone of the m D
9 Which one of the following is a requirement that fits in a developer's module? Availability Testability Usability Flexibility B
10 What is the first step of requirement elicitation ? Identifying Stakeholder Listing out Requirement RequiremeAll Of the me A
11 Starting from least to most important, choose the order of stakeholder i)managerii)entry level persoi, ii, iv, lii i, ii, iii, iv ii, iv, i, iii All Of the me C
12 What are the types of requirement in Quality Function Deployment (QFD)? known, Unknown. UndreaUser, Developer Functiona Normal Expe D
13 Why is Requirements Elicitation a difficult task? Problem of scope Problem of understandinProblem o All Of the me D
14 How many Scenarios are there in elicitation activities? one two three four D
15 Who controls the FAST (Facilitated Application Specification Techniques) meeting? System Analyst scribe Facilitator Manager C
16 Traceability is not considered in Requirement Analysis. TRUE FALSE B
17 Requirements analysis is critical to the success of a development project. TRUE FALSE Depends uNone of the m A
18 Requirements Analysis is an Iterative Process. TRUE FALSE A
19 The process to gather the software requirements from client, analyze and docuFeasibility Study Requirement Gathering RequiremeSystem Requ C
20 It is the process in which developers discuss with the client and end users and Requirements gatheOrganizing Require Negotia Documenta A
21 In which model, limited set of customer's requirements are implemented quickly and are deThe waterfall model Incremental process mEvolution The speciali B
22 Which of the following is not Evolutionary Process Models? The waterfall model The Concurrent devel The ProtoThe Spiral m A
23 Which of the following is not the Phases of Unified Process? Inception phase Elaboration phase Construct Translation ph D
24 Which of the following is not agile method? scrum spiral Extreme crystal B

UNIT-3
1 Which of the following is not the feature of OOPs? Data Encapsulation Inheritance PolymorpNone of the above D
2 The wrapping up of data and functions into a single unit is Data Abstraction Data Encapsulation Both (a) &None of the above B
3 Which of the following feature supports reusability and extensibility of classes? Inheritance Overloading PolymorpNone of the above A
4 ________ is the ability for a message or data to be processed in more than one form. Class Abstraction PolymorpNone of the above C
5 ________Provides a value for a variable Declaration statement Assignment statement DefinitionNone of the above B
7  Which of the following is not true? An interface can extendA class which is implemAn interfaAn interface (e) None of the above. C
8 Among these expressions, which is(are) of type String? “0” “ab” + “cd” ‘0’ (d) Both (A) and (B) above D
9 What is the default value of short variable? 1 0 null not defined B
10 Which will legally declare, construct, and initialize an array? int [] myList = {"1", "2", "int [] myList = (5, 8, 2); int myLis int myList [] = {4, 3, 7}; D
11 What will be the output of the program? 2 3 4 5 C
12 public class While There is a syntax There are syntax There There is a D
13 An expression involving byte, int, and literal numbers is promoted to which of these? int long byte float A
14 class average { public static void main(String args[]) { double num[] = {5.5, 10.1, 11, 12.8,
15 What is the output of this program? 38 43 (b) 39 44 (c) 295 (d) 295.04 b
16 Which of these operators is used to allocate memory to array variable in Java? malloc calloc new new malloc c
17 What will this code print? 0 value stored in 1000 Garbage D
18 What is the output of this program? 02468 13579 01234 1234567 a
19 Which of these selection statements test only for equality? if if switch switch None c
20 Which of these statement is correct? Switch statement is Two case constants in Switch It is b
21 What is the output of this program? 5 6 14 Compilatio b
22 What is the output of this program? 301.5656 301 301.56 301.5656 a
23 class jump_statments { 1357 2468 13579 1234567 c
24 What is the stored in the object obj in following lines of code? Memory address of NULL Any Garbage b
25 What is the output of this program? 9 8 Compil Runtime C
26 Which of the following statements is correct? Public method is Public method is Public Public a c
27 Which of the following statements are incorrect? 1 2 Garbage Runtime a
28 Which of the following personality is called as father of Java Programming language - Larry Page Bjarne Stroustrup James None of c
29 class area { 00 56 65 55 C
30 What is the return type of Constructors? int void float None D
31 Method Overloading is an example of Static Binding. Dynamic Binding. Both of None A
32 Which function is used to perform some action when the object is to be destroyed? finalize() delete() main() None of the A
33  Can command line arguments be converted into int automatically if required? Yes No CompilerOnly ASCII characters can be con B
34 What will be the output of the following Java program, Command line execution is done as This java Output This is a This is a Compilation Error c
35 How many arguments can be passed to main()? Infinite 1 System 3 A
36 Which of these is an incorrect Statement? It is necessary to use Array can be initializArray ca None of the mentioned A
37 With x = 0, which of the following are legal lines of Java code for changing the value of x to 1, 2 & 3  1 & 4 1, 2, 3 & 3 & 2 D
38 The following statement forces the next iteration of the loop to take place Break Continue Goto None of the above B
39 An entity representing some characteristics and behaviour is object Function Method None of the above A
40 Java has ______ primtive types of data. 4 5 8 7 C
41 The name of the class file is created automatically when youcompile the program with the TRUE FALSE A
42 If an object is passed by reference, the changes made in the function ___________  Are reflected to the Are reflected only Are  Are A
43 What is an array of objects? An array of An array of  An  An array a
44 class selection_statements 1 2 3 4 B
45 What will be the output of the following Java program? Hello run time error Hello wo compile time error D
46 What would be the output of the following code snippet if variable a=10? 12 23 13 3 D
47 class test  10 20 20 10 20 40 40 20 B
48 Which of these is used as a default for a member of a class if no access specifier is used for
private public public, w protected A
49 What happens if constructor of class A is made private?  Any class can Objects of class A Inherit classes B
50 How many copies of static and class variables are created when 10 objects are crea 1, 10 10, 10 10, 1 1, 1 A
51 Java is made useful for distributed system. It is possible Inheritance RMI API Polymorphism B
52 Which type of literal is written in pair of single quote? Float boolean integer Character D
53 Following is the human readable in Java Programming Language. .class .obj .jar .java D
54 Which of the following converts human readable file into platform JRE Compiler JVM Applet watcher B
Q.No Question Option 1 Option 2 Option Option 4 Correct
1 Project planing is an imporatant activity performed by the project manager to estimate The resources requireThe Cost Of the ProjeThe scheAll of the abo D
2 Three major categories of software engineering resources Portability, Feasibility, APeople, Reusable,So People. PPortability, M B
3 We use following two types of Decomposition Techniques:1.problem decomposition an TRUE FALSE A
4 Which of the following are parameters involved in computing the total cost of a software Hardware and softwa Effort Costs Travel an All of the me D
5 It is often difficult to estimate size atan early stage in a project when only a specification TRUE FALSE A
6 Which model assumes that systems are created from reusable camponents, scripting Anapplication-compos A postarchitecture moA reuse mAn early de A
7 Which of the following uses empirically derived formulas to predict effort s a function of FP-Based Estimation Process-Based Estim COCOM Both FP-Ba D
8 COCOMO stands for: Constructive cost mo Comprehensive cost Construc Complete co A
9 Which version of COCOMO states that ance requirements have beer suabilized, the baEarly design stage moPost architecture-stagApplicatioAll of the me D
10 Which one is not a size measure for software product? LOC Halsceads Program LFunction Cyclomatic D
11 COCOMO was developed initially by : B.Beizer Rajiv Gupta B.W.Boh Gregg Rothe C
12 COCOMO-11 was developed at: University of Texas University of SouthernMIT IIT-Kanpur B
13 Software cost and effort estimation will never be an exact science. TRUE FALSE A
14 For achieving reliable software project estimation,which of the following technique is usedelay the estimation u Use baseline metrics use simpAll of the abo D
15 Which model was used during the early stages of software engineering, when prototypi Early design stage moPost architecture-stagApplicatioAll of the me C
16 Estimation of size for a project is dependent on : cost Time Schedule None of the D
17 Which of the following is not the approach to the sizing problem : Fuzzy logic sizing Function point sizing Standard crystal sizin D
18 Which model assumes that systems are created from reusable components, scripting An application-composPost architecture-stagA reuse man early des A
19 Which of the following states that work expands to fill the time avallable ? CASE Tools pricing to win ParkinsoExpert judge C
20 What is related to the overall functionality of the delivered software? Function-related m Product-related me Size-relaNone of th A
21 Which technique (5 applicable when other projects in the same st o ad? analogy applicaAlgorithmic cost mode Expert judgement Estimatio Parkinson's C
22 Which model assumes that systems are created from reusable camponents, scripting An application-composA post architecture m A reuse man early des A
23 Which of the folowing s not sizing options or COCOMOII models? Process point Object points Function Lines of sou A
24 The traceability tables are used as : Requirements databasElaboration database Construc Transition d A
25 Which of the following is not an example of traceability table? Features traceability taSource traceability ta Depende Crystal trace D

UNIT-4
Sr. No. Questions Option 1 Option 2 Option Option 4 Answer
1 Inheritance is feature of C++ Java C++ C 3
2 An exception is thrown using keyword in throws throw threw thrown 1
3 Inheritance means Wrapping of data Aquiring Focus Diving 2
4 Exception handlers are declared with try catch finally None 2
5 Base class is called as Super class Sub class Derive Main 1
6 Catch handler can have multiple parameters. TRUE FALSE not say none 1
7 Derived class is called as Super class Sub class Derive Basic 2
8 Which of the following statements are true about Catch \handler ? Only 1, 4, 5 Only 1, 2, 3 Only 1, Only 1, 2 3
9 Which language does not support multiple inheritance C C++ Java Perl 3
10 Method overriding means Method with same Method with same Metho All the 1
11 A try block can be nested under another try block – Yes No Not Say None 1
12 Java inheritance uses ____________ keyword public private extend impleme 3
13 In nested try block, if inner catch handler gets executed, then Program execution Outer catch Compil Compiler 4
14 Which keyword is used to have Java interface ? public extends imple protected 3
15 Irrespective of exception occurrence, catch handler will always get executed. TRUE FALSE 2
16 Which keyword prevents inheritance from being deriving the subclss? extends implements super final 4
17 Which object-oriented feature of Java allows the creation of hierarchical Encapsulation Polymorphism Inherit Abstracti 3
18 Java does not support inheritance. Single multiple multile Hierarchi 2
19 Throwing an unhandled exception causes standard library function to be stop() aborted() termin abandon( 3
20 Which is correct about Java interface ? Java interface Java interface We can Java 1
21 keyword prevents overriding. extends implements final this 3
22 How can we restrict a function to throw certain exceptions? Defining multiple Defining generic Definin It is not 3
23 Which keyword is used in Inheritance of interfaces? extends implements this super 1
24 Java package consists of ____________ Java classes only Java interfaces Both methods 3
25 Which keyword is used to declare Java package? class interface void package 4
26 Attempting to throw an exception that is not supported by a function call indeterminate() unutilized() unexpe unpredict 3
27 Which is default package present in Java files? java.io java.util java.la java.sql 3
28 CLASSPTH is used in ________________ inheritance interface packag class 3
29 Return type of uncaught exception() is int bool char * double 2
30 Which keyword is used to use package in Java file? include import packag export 2
31 Which keyword is used to create abstract class in Java? interface abstract overrid extends 2
32 Which of the following data types are available in Java? Primitive Reference Both None of 3
33 A package hving Object class. java.lang java.io java.a java.util 1
34 act as container. packages interfaces both methods 3
35 Which is correct with respect to size of the datatypes? char > int > float int > char > float char < double > 3
36 Java provides ____________ access modifiers private public protect All the 4
37 Java supports . built-in package User-defined both None of 3
38 Pick the odd one out. integer, character, enumeration, integer arrays, 3
39 The members of an interface are always _____________ private public protect All the 2
40 Exception handling in Java uses __________ keyword/s. try catch finally All the 4
41 The ---- package contains the File class in java java.io java.file java.uti java.lang 1
42 Exception Base class is present in package named . java.lang java.io java.a java.appl 1
43 ___________ keyword is used in Java exception handling. final finally finalize all of the 2
44 ____________ keyword is used throw exception manually. throw throws throwa throwing 1
45 To perform static type checking operation, the arguments, expressions, TRUE FALSE cannot none 1
46 is the base class of Exception. IOException RuntimeException Error Throwabl 4
47 _____________ is the base class of RuntimeException. IOException Exception Error Throwabl 2
48 The main purpose of a type system is to Assign a property to reduce only A Both A 4
49 block comprises the code where there are chances of exceptions. try catch finally All the 1
50 specifies the exception type that we wish to catch. try catch finally All the 2
51 Which of the following variables cannot be inherited? public static private protected 3
52 ___________ block will be excecuted after try/catch block. final finally throws Throwabl 2
53 Whether or not runtime error/ exception occures, block will try catch Error finally 4
54 Which of these keywords is used to refer to member of base class from Upper Super this extent 2
55 We cannot have multiple ____________ and single __________ catch clause. try, catch catch, try try, finally, 1
56 We can have nested ___________ block/s in Java exceptions handling. try catch try and Throwabl 3
57 In java, multiple inheritance can be achieved using------ interface abstraction inherit polymorp 1
58 Byte stream handle data in Bytes of size 8 bits 16 bits 32 bit 48 bits 1
59 Character stream handle data in ___________ Unicode. 8 bits 16 bits 32 bits 48 bits 2
60 The stream that is used for general Input and  Output not usually character Byte stream Character stream Reader Writer 1
61 ByteStream comprises . InputStream OutputStream InpuSt BufferedS 3
62 is the name of the abstract base class for streams dealing with character InputStream OutputStream Reader Writer 3

Q.No. Question Option 1 Option 2 Option Option 4 Correct


1 Which of the following is quality attributes considered in sofftware design? Functionality Usability ReliabilityAll of the abo d
2 The quality attribute can be calculated under which of following measures? Observable Non observable All of me None of me c
3 Which of the following can be included under observable measure? How well the system How easy it is to How All of the abov a
4 Which of following is considered incorrect with respect to quality? Architecture is All qualities are All of me None of b
5 What can stated about Modifiability? Modifiability can not Modifiability can All of me None of me d
6 In Design Phase, which is primary area of concern? Architecture Data Interfac All of the abo d
7 When multiple modules share a common data structure and work on different part of Common coupling Share coupling Data Stamp d
8 Which of tool is used for structured designing? Program chart Structure chart Module c All of the abo b
9 Which of the following is best type of module cohesion? Functional Cohesion Temporal Cohesion Functio Sequential a
10 Which of following is worst type of module coupling? Control coupling Stamp coupling External Content Cou d
11 A software engineer must design the modules with the goal of high cohesion and low TRUE FALSE a
12 Which of following is complementary approach to function-oriented approach? Object oriented analysObject oriented desig structure Both d
13 Structured Analysis is based on principle of: Top-down Divide and conqure Graphic All of the abo d
14 In DFD's user interactions with system is denoted by: Circle Arrow Rectan Triangle a
15 Which of following is not advantage of modularization? Smaller components Program cannot be Desired Concurren c
16 Which of following defines the degree of intra-dependability within elements of Cohesion Coupling Design VNone of me a
17 Information hiding is to hide from user details that are relevant to himthat are not relevant tothat that are con c
18 Refinement is software design concept that uses a strategy Top-down strategy Bottom-up strategy Divide-coGreedy stra a
19 The refactoring is used in improving quality of software TRUE FALSE a
20 Which of the following is design pattern? behavioral structural Abstract All of the abo d
21 The recurring aspectes of designs are called design: Patterns Documents Structuremethods a
22 Design pattern is solution to a problem that occurs repeatedly in variety of contexts TRUE FALSE a
23 A framework is not considered as architectural pattern but it is a skeleton to be TRUE FALSE a
24 Functional Independence is assesed using following two qualitative criteria: Cohesion and couplingStructure and pattern refineme Abstraction a
25 The design model can be viewed in two different dimentions: Testing model and debanalysis model and d Coding All of the abo b

UNIT-5
Sr. No. Question Option 1 Option2 Option3 Option4 Answer
1 What is multithreaded programming? It’s a process in which It’s a process in which It’s a It’s a B
2 In java multi-threading, a thread can be created by Extending Thread class Implementing Using None of the
c
3 Which of these are types of multitasking? Process based Thread based Process None of the
C
4 Which method is called internally by Thread start() method? execute() run() launch() main() B
5 Thread priority in Java is? Integer Float double long A
6 What is maximum thread priority in Java 10 12 5 8 A
7 What will happen if two thread of the same priority are called to be processed simultaneously? Anyone will be Both of them will be None of It is D
8 Which of these statements is incorrect? By multithreading CPU By multitasking CPU Two A thread D
9 Number of threads in below java program is 0 1 2 3 C
10 In java multi-threading, a thread can be created by Extending Thread class Implementing Using None of the
C
11 Which method is called internally by Thread start() method? execute() run() launch() main() B
12 What will be the output of the following program? 10, 5, 0, 20, 0 10, 30, 20 60, 5, 0, 60, 30, 0,D
13 What is maximum thread priority in Java 10 12 5 8 A
14 Thread are light weight process. TRUE FALSE A
15 _____ is used to find and fix bugs in the Java programs. JVM JRE JDK JDB D
16 Does Thread implements their own Stack Yes No A
17 Which method must be implemented by a Java thread? run() execute() start() main() A
18 Servlet are used to program which component in a web application? client server Tomcat applet B
19 In java multi-threading, a thread can be created by Extending Thread class Implementing Using None C
20 Which method is called internally by Thread start() method? execute() run() launch() main() B
21 Which component can be used for sending messages from one application to another? server client Mq webapp C
22 What is maximum thread priority in Java 10 12 5 8 A
23 What is the name of the thread in the following Java Program? Main Thread system None of the A
24 Which method must be implemented by a Java thread? run() execute() start() None A
25 What is the priority of the thread in the following Java Program? 4 5 0 1 B
26 What is true about threads? Threads consumes Threads enables multi Multi All D
27 A thread can acquire a lock by using which reserved keyword? volatile synchronized locked None B
28 What will happen if two thread of the same priority are called to be processed simultaneously? Anyone will be Both of them will be None of It is D
29 How many threads can a process contain? 1 2 Multiple None C
30 Which of these statements is incorrect? By multithreading CPU By multitasking CPU Two A thread D
31 What is sometimes also called a lightweight process? Thread Process JVM none A
32 When start() method is called on thread it enters ______ state. running runnable new waiting C
33 What is multithreaded programming? It’s a process in which It’s a process in which It’s a It’s a B
34 In pre-emptive scheduling a thread can be in one of the three states: Start, Ready, Resume Running, Ready, Running, Running, B
35 wait(), notify() & notifyAll() are methods of which class or interface? Thread class Runnable interface Object None C
36 How are java web applications packaged? jar war zip Both jar & D
37 What is time slicing in threads In time slicing, a thread Thread in runnable Both A none C
38 How can we take input text from user in HTML page? input tag inoutBufferedReader meta tag scanner tag A
39 What is name of thread which calls main method mainThread Thread Thread-0 main D
40 Which of the below is not a javascript framework for UI? Vaadin AngularJS KendoUI Springcore D
41 Significance of synchronized variable synchronized variable synchronized variable Prevents None A
42 Evaluate the following Java expression, if x=3, y=5, and z=10: 24 23 20 25 A
43 Which method can make Thread to go from running to waiting state wait() resume() notify() alive() A
44 What will be the output of the following program? 15 times *** 15 times +++++ 8 times Both will C
45 How Can we acquire lock on class? By acquiring lock on By acquiring lock on By By acquiring C
46 Can multiple threads exist on one object? Multiple threads can Multiple threads Only 2 None A
47 What is deadlock in java? Deadlock is a situation Deadlock is a situation None A
48 Which is thread safe? StringBuffer StringBuilder All None A
49 Which of these is not a Thread state? New Runnable sleep terminated C
50 Which method can be used to find whether Thread hasn't entered dead state? isAlive() isRunning() isNotDea All A
51 How many ways a thread can be created in Java multithreading? 1 2 3 4 B
52 Which method is used to get current running thread object? runningThread() currentThread() runnable None B
53 Daemon thread runs in Background Foreground Both A None A
54 Which method is used to create a daemon thread? setDaemon(boolean setThread(boolean createDa makeDeam A
55 Which method is used to wait for child threads to finish in Java? wait() sleep() join() isAlive() C
56 If a priority of a java thread is 3 then the default priority of its child thread will be 0 1 5 3 D
57 Which method is used to check if a thread is running? isAlive() run () alive () keepAlive() A
58 Min and Max priority of a thread in Java multithreading are 1, 10 0, 10 0, 255 1, 256 A
59 Which method we implement from Runnable interface? Run () Start () Execute call () A
60 The life cycle of a thread in java is controlled by JRE JDK JVM None C
61 Which of the following creates a List of 3 visible items and multiple selections abled? new List(false, 3) new List(3, true) new new List(3, B
62 What are valid points about thread Thread are subdivision One or more Threads Threads All D
63 What are valid point about processes Processes have their Threads have direct Process All of these D
64 What is pre-emptive scheduling in threads In pre-emptive In pre-emptive In Anyone A
65 What will happen if two threads try to read same resource without synchronization in java It is not allowed in java It doesn't create any Will None B
66 Which method of the Class.class is used to determine the name of a class represented by the getClass() intern() getName toString() C
67 How can we create Thread By Extending Thread Implementing By using All D
Q.No. Question Option 1 Option 2 Option Option 4 Correct
1 Risk management is one of the most important jobs for a: Client Investor Product Project Project
2 Which of the following is not category of software risk? Project risk Product risk Busines Resource Resource
3 Which of the following is not a risk component or risk driver? Performance Cost Suppor Process Process
4 Which of the following risk is the failure of purchased component to perform as Product risk Project risk Busines Programm Product
5 What acess the risk and your plan for risk mitigation and revise these when you Risk monitoring Risk planning Risk Risk Risk
6 Which of the following risks are derived from the software or hardware Managerial risk Technology risks Estimati Organizati Technolog
7  Which of the following strategies means that the impact of the risk will be Avoidance Minimization Conting All of the
8 Risk management is now recognized as one of the most important project TRUE FALSE TRUE
9 one of the following is Risk management responsibility Project team Investor Develo Customer Project
10 ……model is used to project risk factor Prototyping model Waterfall model Spiral None of Spiral
11 RE indicates………. Risk exposure Related expense Risk Risk Risk
12 Which is a software configuration management concept that helps us to control Baselines Source code Data None of
13 Software configuration management can be administered in several ways, these A single software  A separate Softwar All of the A single
14 What combines procedures and tools to manage different versions of Change control Version control SCIs None of Version
15 What complements the formal technical review by assessing a configuration  Software Software  Baselin None of  Software
16 Which of the following option is not tracked by configuration management tools? Tracking of change Storing versions of  Tracki None of None of
17 Which of the following is not a Software Configuration Management Activity? Configuration item Risk management Release Branch Risk
18 The definition and use of configuration management standards is essential for ISO 9000 CMM CMMI  All of the  All of the
19 SCM stands for: Software Control Software Softwar None of Software
20 Which of the following is not a main phase in Configuration Management (CM) CM Planning Executing the CM CM None of None of
21  What allows different projects to use the same source files at the same time?  Version Control Access control CM Version  Version
22 Which of the following is not a change management process? Log the changes Estimate impact on Review None of None of
23 What is one or more software configuration items that have been formally  Baseline Cumulative CM Change  Baseline
24 How are baselines verified? By reviews By inspections By All of the By testing
25 Which of the following is a example of Configuration Items ? SCM procedures Source code Softwar All of the All of the

UNIT-6
1 Which of the following is the basic building blocks of S-expressions? Lists Atoms Number Predicates B
2  Is LISP a case sensitive language? No Yes A
3 Which of the following is part of basic syntax in LISP programming? + #include NULL Primitive D
4 A single LISP program has ........ arguments. Two Three Four Any number of arguments D
5 Can LISP programs be nested? Yes No A
6 Which language is the right to learn for symbol manipulation? LISP Java Pearl Ruby A
7 Identify the type of manipulation in which language works with words and sentences? List manipulation Symbol manipulation Object Ma None of the above B
8 Identify the functional programming languages from the given programming languages as per optio Java,C#,python Prolog,DataLog Lisp, Java Ruby,Perl C
9 Identify the basic building blocks of Symbolic-expressions also called as S-expression? Numbers Atoms PredicatesFunctions B
10 what will be the output of the following expression executed with Lisp as (car (cdr (cdr '(1 2 3 4 5 6 1 2 3 7 C
11 what will be the output of the following expression executed with Lisp as (equal '(LISP) '(PROLOG T () NIL Error in expression C
12 Identify the basic LISP primitive used for assigning values to symbols. setf() setc() setq() sets() A
13 what will be the output of the following expression executed with Lisp as (setf (car '(1 2 10)) 9) 2 10 1 9 D
14 (first ‘(a b c)) and (car ‘(a b c) will produce the same output. Select the correct output with both of a b c T A
15 Identify the Lisp's basic numeric types. integer ratio floating po all of the above D
16 What will be the output of the following expression (car (cdr '(a (b c) d e))) bc de ac ad A
17 Which anonymous function is used to interface functions to argument lists.? Numeric function Lambda function String function none of the above B
18 The lambda special form can be used to define which functions in Lisp.? numeric String Mathemat Anonymous D
19 Which keyword is used to define the function in LISP? defun def define defvar A
20 Which provides a way to write simple counting-oriented iteration procedures do dotimes dolist both dotimes and dolist D
21 Select the programming paradigm which is based on facts and rules. Procedural Object Oriented Functiona Logic / Rule Based D
22 Identify the application of prolog which requires formal reasoning. expert systems natural lanuguage proce Robotics all of the above D
23 .............. is the notation used for writing LISP Syntax. Infix Prefix Postfix None of above B
24 ............. is the notation used for writing LISP Syntax. Infix Prefix Postfix None of above B
25 What does Lisp stands for? Like Processing List Processing Light Pr None of above B
26 In lisp, what is meant by symbolic expression? List Atoms Words Atoms and list D
27 Lisp data and procedures have the same form on lisp. TRUE FALSE A
28 likes(Rahul,Object Oriented Programming).This entire expression before a period is called as? Predicate Fact Relation Primitive A
29 Which language permits to describe facts as symbolic relationships? Lisp Prolog HTML Java B
30 Variables in prolog can be of which types at any given time ? A.Local B.Free C.Bound D.Both B and C D
31 What does the query noFriend(john) return for the following Prolog program TRUE FALSE Infinite loo Error A
32 brother(Ram,Lakshman). What this clause declares? fact relation relationsh Both fact and realtion D
33 Mark all the TRUE statements about Prolog a.Prolog programs can be extended by simply a and b a,b,c c,d a,b and d D
34 Which primitve is used to attach a property value to a symbol? setf set get put A
35 Identify the correct sequence of the following statement translated into Prolog rules. haschild(Ram). haschild(Rahul).hap haschild( Happy(X):-h C
36 Identify the valid variables in Prolog. a. X b. Object2 c._P25 d. Fname_Mname only a only a,b only b,c,d all a,b,c,d D
37 Identify the given type of data object as date(19,June,2021) variable constant number structure D
38 what is Procedural meaning of Prolog procedure? . Executing atoms Executing relations Executing executing a list of goals with respect t D
39 In Prolog, If the given matching operation succeed,what will be the resulting instantiations of D=1,M=June D=D1,M=June,Y1=202M=June,YD=D1,M=June B
40 Which primitive evaluates the single argument and prints it on a new line? print write format None of the above A
41 Which keyword is used to access the elements of array in LISP? aref ref setf setq A
42 How to initialize the array elements in LISP ?Identify the keyword. initial-content content initial-ele initial A
43 which keyword is used to assign a global value to a variable as well as to declare a variable to be defun var defvar car C
44 Which of the following is number predicate? null endp atomp plusp D
45 Which primitve retrieve a property value to a symbol? get put set setf A
46 LISP stands for List Handling List List ProceList manipulation C
47 What will be the output of the following lisp expression as given (first' (p h w)) p h () w A
48 Which language is used when computer intelligence is not involved? Java C Lisp C++ C
49 What will be the output of the following lisp expression as given (rest ' (b k p h)) k b ph kph D
50 What will be the output of the following lisp expression as given (first' (p h ) ( b k)) bk () (ph) error C
51  Lisp data and procedures have the same form on lisp. TRUE FALSE A
52 How many types of arguments are available in lisp? 2 3 4 5 C
53 The Lisp facilitates .................. in computer science learning. Data abstraction Procedure abstracti Both ProNone of above C
54 What is called the symbol manipulation in LISP? Lists Atoms List procNone of above C
55 Which are the general-purpose dialects of LISP? Clojure Common LISP CommonAll of the Above D
Q.No. Question Option 1 Option 2 Option Option 4 Correct
1 Which methodology is used to performed Maintenance testing? Breadth test and Confirmation Retestin Sanity Breadth
2 Which of the following is not part of the Test document? Test Case Requirements Test Project Project
3 Which of the following is not a valid phase of SDLC (Software Development Life Testing Phase Requirement Phase Deploy Testing Testing
4 Which of the following testing is also known as white-box testing? Structural testing Error guessing Design None of Structural
5 Which of the following testing is related to the boundary value analysis? White box and White-box testing Black None of Black box
6 Functional testing is a ------? Test design Test level SDLC Test type Test type
7 What are the different levels of Testing? Integration testing Unit testing System All of the All of the
8 White box testing techniques are? Statement coverage Decision coverage Data All of the All of the
9 In which environment we can performed the Alpha testing? User's end Developer's end User's None of Developer'
10 What is the best time to perform Regression testing? After the software As frequently as When Both Both
11 Cyclomatic complexity is? White-box testing Black box testing Grey All of the White-box
12 Which testing technique is used for usability testing? White-box testing Grey box testing Black Combinati Black Box
13  Which is not the right approach of Incremental testing approach? Big bang approach Top-down Functio Bottom-up Big bang
14 In which environment we can performed the Beta testing? User's and Developer's end User's None of User's end
15 The test levels are performed in which of the following order? Unit, Integration, It is based on the Unit, Unit, It is based
16 Which of the below testing is related to Non-functional testing? Unit Testing Black-box Testing Perfor None of Performan
17 Which of the below testing is related to black-box testing? Boundary value Code path analysis Basic None of Boundary
18 What is component testing? White-box testing Grey box testing Black Both a & c White-box
19 Does the customer get a 100% bug-free product? roduct is old Developers are The All of the The testing
20 Exploratory testing is a -----? Experience-based White Box Test Black Grey Box Experience

You might also like