Daily Exam Programmer Mock Test Paper II

Join us on Telegram


Q 1:

Towards the failure of a particular systems development projects, which from the following given factors do/does not necessarily contribute?

(1) Insufficient testing
(2) A project that spans multiple departments
(3) Inadequate or improper systems design
(4) A lack of top management support
Correct Answer: A project that spans multiple departments

Q 2: The lowest level of decomposition for a data flow diagram is a
(1) Primitive DFD
(2) Unit DFD
(3) Context DFD
(4) Level-0 DFD
Correct Answer: Primitive DFD

Q 3: Which relationship specifies an optional behavior?
(1) A generalizations
(2) An inheritance
(3) An include
(4) An extend
Correct Answer: An extend

Q 4: Which chart is represented by vertical bars?
(1) PERT
(2) ROI
(3) GANTT
(4) NPV
Correct Answer: GANTT

Q 5: The vertical dimension of a sequence diagram represents
(1) time
(2) objects
(3) lines
(4) messages
Correct Answer: time

Q 6: Which is not used in context level diagram?
(1) Source
(2) Destination
(3) Data flow
(4) Data Store
Correct Answer: Data Store

Q 7: Outputs from a use case are descried on the use case from along with their corresponding ............
(1) Data models
(2) Destination
(3) Inputs
(4) Source
Correct Answer: Destination

Q 8: Which of the following is not considered as feasibility factor when developing an information system?
(1) Economic
(2) Application
(3) Schedule
(4) Technical
Correct Answer: Application

Q 9: SDLC stands for?
(1) Software design in cycle
(2) Software development life cycle
(3) System design life cycle
(4) System development life cycle
Correct Answer: Software development life cycle

Q 10: Efficiency in a software product does not include ....................
(1) Processing Time
(2) Licensing
(3) Memory Utilization
(4) Responsiveness
Correct Answer: Licensing

Q 11: FAST stands for
(1) Functional Application Specification Technique
(2) Fast Application Specification Technique
(3) Facilitated Application Specification Technique
(4) None of the above
Correct Answer: Facilitated Application Specification Technique

Q 12: Which of the following term is a measure of the probability that the system will cause an accident?
(1) Risk
(2) Accident Damage
(3) Hazard probability
(4) None of the above
Correct Answer: Risk

Q 13: What is the final result of the requirements analysis and specifications phase?
(1) Data flow diagram
(2) SRS Document
(3) Coding the project
(4) User Mannual
Correct Answer: SRS Document

Q 14: COM stands for 
(1) Computer on Microprocessor
(2) Computer Output Microprocessor
(3) Computer on Microfilm
(4) Computer Output Microfilm
Correct Answer: Computer Output Microprocessor

Q 15: Risk analysis of a project is done in ................
(1) System Analysis phase
(2) Implementation phase
(3) Maintenance phase
(4) Feasibility Study
Correct Answer: Feasibility Study

Q 16: Which of the following describes a method of development that is linear and sequential?
(1) Waterfall
(2) Spiral
(3) RAD
(4) Incremental
Correct Answer: Waterfall

Q 17: The fundamental notions of software engineering does not account for?
(1) Software security
(2) Software processes
(3) Software reuse
(4) Software Validation
Correct Answer: Software Validation

Q 18: Which one of the following is a requirement that fits in a developer's module?
(1) Availability
(2) Testability
(3) Flexibility
(4) Usability
Correct Answer: Testability

Q 19: Acceptance testing is
(1) Running the system with line data by the actual user
(2) Testing changes made in an existing or a new program
(3) Is checking the logic of one or more programs in the candidate systems
(4) Making sure that the new programs do in fact process certain transaction according to specifications
Correct Answer: Running the system with line data by the actual user

Q 20: Which of the following is not a Requirement Management workbench tool?
(1) RDD 100
(2) DOORS
(3) Rational Suite
(4) RTM
Correct Answer: Rational Suite

Q 21: Which level of Entity Relationship Diagram (ERD) models all entities and relationship?
(1) Level 4
(2) Level 2
(3) Level 3
(4) Level 1
Correct Answer: Level 2

Q 22: Mistakes made in the requirements analysis stage show up in 
(1) System testing
(2) System design
(3) System development
(4) System implementation
Correct Answer: System implementation

Q 23: ..................... use standardized symbols to represent an algorithm.
(1) Pseudo Charts
(2) Flow Charts
(3) IPO Charts
(4) Flow Diagrams
Correct Answer: Flow Charts

Q 24: Which is NOT a process metric?
(1) Quality
(2) Functionality
(3) Productivity
(4) Efficiency
Correct Answer: Functionality

Q 25: Build and fix model has
(1) 3 phases
(2) 4 phases
(3) 2 phases
(4) 1 phases
Correct Answer: 2 phases

Q 26: DFD stands for
(1) Data Flow design
(2) Descriptive functional design
(3) Data flow diagram
(4) None of the above
Correct Answer: Data flow diagram

Q 27: COCOMO was developed initially by
(1) B. W. Boehm
(2) Rajiv Gupta
(3) B. Beizer
(4) Gregg Rothermal
Correct Answer: B. W. Boehm

Q 28:

Which approach to development is the most interactive and focus more on the user and their work?

(1) Modern structured analysis
(2) Inforation engineering
(3) Structured design
(4) Object-oriented analysis
Correct Answer: Object-oriented analysis

Q 29: Implemented classes are classes that
(1) Show implementation rules
(2) Describe the use interfase
(3) Describe the computer nodes
(4) Identify the implemented files
Correct Answer: Describe the use interfase

Q 30: Which of the following is not a measurable characteristic of an object-oriented design?
(1) Completeness
(2) Efficiency
(3) Size
(4) Volatility
Correct Answer: Efficiency

Q 31: Which would be the best representation for " A customer sending in a payment"?
(1) Data
(2) Data flow
(3) Information
(4) Processing login
Correct Answer: Data flow

Q 32: CASE stands for
(1) Computer application system environment
(2) Computer-aided system engineering
(3) Computer application system engineering
(4) Computer-aided system environment
Correct Answer: Computer-aided system engineering

Q 33: Which symbol is used to represent Protected visibility in UML?
(1) +
(2) -
(3) @
(4) #
Correct Answer: #

Q 34: Design phase will usually be
(1) top down
(2) bottom up
(3) centre fringing
(4) random
Correct Answer: top down

Q 35: KPA in CMM stands for
(1) Key Process Area
(2) Key Product Area
(3) Key Principal Area
(4) Key Performance Area
Correct Answer: Key Process Area

Q 36: The relationship of data elements in a model is called
(1) Coupling
(2) Granularity
(3) Cohesion
(4) Modularity
Correct Answer: Cohesion

Q 37: Every node is represented by
(1) One row and one column in graph matrix
(2) Two rows and Two columns in graph matrix
(3) One row and two columns in graph matrix
(4) None of the above
Correct Answer: One row and one column in graph matrix

Q 38: The number of clauses used in ISO 9001 are
(1) 15
(2) 10
(3) 20
(4) 25
Correct Answer: 20

Q 39: Which one is not a software quality model?
(1) Boehm model
(2) McCall model
(3) ISO 9000
(4) ISO 9126
Correct Answer: ISO 9000

Q 40: Software quality is 
(1) Conformance to requirements
(2) Level of satisfacton
(3) Fitness of the purpose
(4) All of the above
Correct Answer: All of the above

Q 41:

The cyclomatic complexity of each of the modules A and B show below is 10. What is the cyclomatic complexity of the sequential intergration shown on the right hand side?


(1) 19
(2) 10
(3) 21
(4) 20
Correct Answer: 19

Q 42: Prototyping is used to 
(1) Expand design details
(2) Test the software as an end product
(3) Refine and establish requirements gathering
(4) None of the above
Correct Answer: Refine and establish requirements gathering

Q 43: Which level is called as "defined" in capability maturity model?
(1) Level 0
(2) Level 3
(3) Level 1
(4) Level 4
Correct Answer: Level 3

Q 44: Black Box testing is done
(1) To show that software is operational at its interfaces i.e. input and output
(2) To examine internal details of code
(3) At client side
(4) None of the above
Correct Answer: To show that software is operational at its interfaces i.e. input and output

Q 45: Which type of coupling is least preferred?
(1) Content coupling
(2) Data Coupling
(3) Control Coupling
(4) Common Coupling
Correct Answer: Content coupling

Q 46: Referencing a JAD session, which person usually attends the session only at the very beginning or at the end?
(1) JAD session leader
(2) Scribe
(3) Manager
(4) Sponcer
Correct Answer: Sponcer

Q 47: Which of the following tools is not used during system analysis?
(1) Data Flow Diagram
(2) Structured English
(3) Structured Chart
(4) Decision Table
Correct Answer: Structured Chart

Q 48: The process of converting a new or revised system design into an operational one is known as ......................
(1) Testing
(2) Implementation
(3) Quality Assurance
(4) System Analysis
Correct Answer: Implementation

Q 49: Reusable software components must be
(1) Catalogued for easy reference
(2) Standardized for easy application
(3) Validated for easy integration
(4) All of the above
Correct Answer: All of the above

Q 50: Real-time application add a new and potentially difficult element to the testing mix.
(1) Performance
(2) Reliability
(3) Security
(4) Time
Correct Answer: Time

Q 51:

What is the output of the following JAVA program?


(1) dogood: dogoodgood
(2) dogood : gooddogood
(3) dogood: dodogood
(4) dogood: dogood
Correct Answer: dogood: dogood

Q 52: 'void' pointer can point to which type of objects?
(1) double
(2) int
(3) float
(4) All of the above
Correct Answer: All of the above

Q 53:

Find the output of the following C++ program.


(1) 448
(2) 248
(3) 218
(4) 148
Correct Answer: 148

Q 54: Which of the following is a method of ASP application object?
(1) Write
(2) Form
(3) Timeout
(4) Lock
Correct Answer: Lock

Q 55: A constructor is called whenever
(1) an object is declared
(2) a class is used
(3) a class is declared
(4) an object is used
Correct Answer: an object is declared

Q 56: File extension used for ASP.NET files.
(1) .Web
(2) .ASP
(3) .ASPX
(4) None of the above
Correct Answer: .ASPX

Q 57: What class does the ASP.NET Web Form class inherit form by default?
(1) System.Web.UI.Page
(2) System.Web.GUI.Page
(3) System.Web.UI.Form
(4) System.Web.Form
Correct Answer: System.Web.UI.Page

Q 58: Which Do ................. Loop statement should be used to process test scores where a test score over 100 is a signal to stop the processing?
(1) Loop While Score > 100
(2) Do Until Score > 100
(3) Do While Score > 100
(4) Loop Until Score > 100
Correct Answer: Do Until Score > 100

Q 59: With A = False and B = True, which statement evaluates as True?
(1) A AND A
(2) A AND B
(3) B AND B
(4) None are true
Correct Answer: B AND B

Q 60: Which of the following is true to declare variable for ASP?
(1) Set
(2) Dim
(3) $
(4) Var
Correct Answer: Dim

Q 61: When an .aspx page is requested from the web server, the output will be rendered to browser in following format.
(1) HTML
(2) WML
(3) XML
(4) JSP
Correct Answer: HTML

Q 62: Which windows media player control property will hide the player from user's view?
(1) File Name
(2) Anchor
(3) Show Control
(4) Visible
Correct Answer: Visible

Q 63:

What is the output of the following code?

MyString = "Hello World"

LeftString = left

(MyString,3)

(1) Hel
(2) World
(3) Hello World
(4) Wor
Correct Answer: Hel

Q 64: Ass("A") is 65. What is displayed by txtBox. Text = Chr(65) & "BC"?
(1) ABC
(2) 656667
(3) A BC
(4) Not enough information is available.
Correct Answer: ABC

Q 65: In Java, when we implement an interface method, it must be declared as:
(1) Friend
(2) Prtected
(3) Public
(4) Private
Correct Answer: Public

Q 66: Which one of the following will declared an array and initialize it with five number?
(1) Array a = new Array (5)
(2) int []a = {23,22,21,20,19};
(3) int a [] = new int [5]
(4) int (5) array;
Correct Answer: int []a = {23,22,21,20,19};

Q 67: If m and n are int type variables, what will be the result of the expression m%n when m=5 and n=2?
(1) 0
(2) 1
(3) 2
(4) None of these
Correct Answer: 1

Q 68: A top down approach is also known as
(1) stepwise design
(2) top-up
(3) top-to-top design
(4) down-top design
Correct Answer: stepwise design

Q 69: Which of these keywords is used to define packages in Java?
(1) Pkg
(2) pkg
(3) package
(4) Package
Correct Answer: package

Q 70: main() return a value of type
(1) null
(2) char
(3) int
(4) real
Correct Answer: int

Q 71: Which is known as compound assignment operator
(1) =
(2) +
(3) +=
(4) =+
Correct Answer: +=

Q 72: Class is a
(1) User define data type
(2) Same as the structure
(3) Simple data type
(4) None of these
Correct Answer: User define data type

Q 73: Streams that will be performing both input and output operations must be declared as class ......................
(1) iostream
(2) fstream
(3) stdstream
(4) stdiostream
Correct Answer: fstream

Q 74: Which one of the following is not a possible state for a pointer?
(1) Point one past the end of an object
(2) Hold the address of the specific object
(3) Zero
(4) Point to a type
Correct Answer: Point to a type

Q 75: A class named student must have a constructor whose name is
(1) Student
(2) Any legal C++ name
(3) Students
(4) ~ Student
Correct Answer: Student

Q 76: In object oriented programming, an object is an instance of -
(1) Class
(2) State
(3) Behaviour
(4) Message
Correct Answer: Class

Q 77: Which of the following is not a built-in exception found in java API?
(1) IOException
(2) NullPointerException
(3) FileNotFoundException
(4) SystemFoundException
Correct Answer: SystemFoundException

Q 78: The extends keyword creates a new
(1) Instance
(2) Subclass
(3) Baseclass
(4) Superclass
Correct Answer: Subclass

Q 79: File class is included in which package?
(1) java.io package
(2) java.lang package
(3) java.awt package
(4) java.net.package
Correct Answer: java.io package

Q 80: Which of the following statement is true?
(1) The subclass of a non-abstract class can be declared abstract
(2) All the members of the superclass are inherited by the subclass
(3) A class in which all the members are declared private, cannot be declared public
(4) A final class can be abstract
Correct Answer: The subclass of a non-abstract class can be declared abstract

Q 81: A package is a collection of
(1) Classes
(2) Interface
(3) Editing tools
(4) Classes and interfaces
Correct Answer: Classes and interfaces

Q 82: The wrapping up of data and functions into a single unit is called
(1) Encapsulation
(2) Abstraction
(3) Data Hiding
(4) Polymorphism
Correct Answer: Encapsulation

Q 83: Object oriented inheritance models the
(1) "is a kind of" relationship
(2) "has a" relationship
(3) "want to be" relationship
(4) "contains" of relationship
Correct Answer: "is a kind of" relationship

Q 84: All exception types are subclass of the built-in class
(1) Exception
(2) RuntimeExceptioon
(3) Throwable
(4) Error
Correct Answer: Throwable

Q 85: The default value of a static integer variable of a class in Java is,
(1) 0
(2) 1
(3) Garbage value
(4) Null
Correct Answer: 0

Q 86: Which of the following is NOT an interface declared in System.Collectioon namespace?
(1) IComparer
(2) Enumerable
(3) IDictionaryComparer
(4) IDictionaryEnumerator
Correct Answer: IDictionaryComparer

Q 87: The members of a class, by default are
(1) public
(2) protected
(3) private
(4) mandatory to specify
Correct Answer: private

Q 88: A copy constructor takes
(1) no argument
(2) one argument
(3) two argument
(4) arbitary no. of arguments
Correct Answer: one argument

Q 89: Maximum number of template arguments in a function template is 
(1) One
(2) Two
(3) Three
(4) Many
Correct Answer: Many

Q 90: A package is a collection of 
(1) Classes
(2) Interface
(3) Class and interfaces
(4) Editing tools and interfaces
Correct Answer: Class and interfaces

Q 91: Choose an invalid C++ file extension for one or another C++ system
(1) .cxx
(2) .C
(3) .cc
(4) .out
Correct Answer: .out

Q 92: What is the transport protocol you use to call a Web service?
(1) HTTP
(2) SMTP
(3) TCP
(4) SOAP
Correct Answer: SOAP

Q 93: What is used to validate complex string patterns like an e-mail address?
(1) Extended expressions
(2) Regular expressions
(3) Irregular expressions
(4) Basic expressions
Correct Answer: Regular expressions

Q 94: How do you manage states in asp.net application
(1) Session Objects
(2) Application Objects
(3) Viewstate
(4) All of the above
Correct Answer: All of the above

Q 95: What is default time of expire session?
(1) 20 minute
(2) 40 minute
(3) 100 minute
(4) 1200 hours
Correct Answer: 20 minute

Q 96: What's the top .NET class that everything is derived from?
(1) System.Object
(2) System
(3) System.Data
(4) System.net
Correct Answer: System.Object

Q 97: Which of the following can be used to debug .NET application?
(1) Visual Studio .NET
(2) Runtime Debugger
(3) Systems.Diagnostics classes
(4) All the above
Correct Answer: All the above

Q 98: The number of forms that can be added to a aspx page is 
(1) 2
(2) 3
(3) 1
(4) More then one
Correct Answer: 1

Q 99: In ASP.NET application the Global.asax file lie in which directory
(1) ROOT
(2) System
(3) Application
(4) None of the above
Correct Answer: ROOT

Q 100: WAS stands for
(1) Windows Action Server
(2) Windows Activation Server
(3) Web application services
(4) Web activation server
Correct Answer: Windows Activation Server