Order PDF of any content from our website with a little minor Fee to donate for hard work. Online MCQs are fully free but PDF books are paid. For details: contact whatsapp +923028700085 Important notes based PDF Books are available in very little price, starting from 500/-PKR; Order Now: contact whatsapp +923028700085

VU Past Papers CS506 – RUP & Software Engineering important MCQs


Q#1: In Rational Unified Process (RUP), horizontal dimension represents the aspect of the process.
(A) dynamic
(B) correct
(C) static
(D) linear circular
Answer: (A) dynamic

Q#2: There are two very different approaches to cost estimation. The older approach is called LOC estimation, since it is on initially estimating the number of lines of code that will need to be developed for the project.
(A) Based
(B) Good
(C) None of given
(D) Bad
Answer: (D) Bad

Q#3: Vision phase in a software process focuses on:
(A) What
(B) Why
(C) How
(D) Change
Answer: (B) Why

Q#4: If requirements are uncertain, which model will be a suitable option?
(A) incremental
(B) RAD
(C) Waterfall
(D) Prototype
Answer: (D) Prototype

Q#5: Caper Jones is a famous researcher in the field of ______ who made a company named Software Productivity Research.
(A) Biology
(B) Chemistry
(C) Mathematics
(D) Software Engineering
Answer: (D) Software Engineering

Q#6: Continuous process improvement is enabled by ______ feedback from the ______.
(A) analytical, user
(B) mathematical, user
(C) logical, process
(D) qualitative, process
Answer: (D) qualitative, process

Q#7: W5HH Principle consists of seven ______.
(A) answers
(B) questions
(C) points
(D) steps
Answer: (B) questions

Q#8: eXtreme programming model is the concept of ______ programming.
(A) structural
(B) sequential
(C) pair
(D) event driven
Answer: (C) pair

Q#9: ______ is the ability to encourage technical people to produce their best.
(A) Improvement
(B) Motivation
(C) Innovation
(D) Creation
Answer: (B) Motivation

Q#10: Each process defines certain deliverables known as the ______.
(A) work products
(B) Software
(C) Final product
(D) Items
Answer: (A) work products

Q#11: The keyword “this” is used to:
(A) invoke constructor of super class from sub class
(B) invoke alternate constructor of the same class
(C) invoke constructor of another class
(D) invoke constructor of sub class from super class
Answer: (B) invoke alternate constructor of the same class

Q#12: Which of the following feature does Java provide?
(A) Multiple Inheritance
(B) Overriding
(C) Pointers
(D) Operator Overloading
Answer: (B) Overriding

Q#13: If we want to call toString() method of parent class in JAVA, which of the following statement will be used?
(A) super.toString();
(B) sub.toString();
(C) new.toString();
(D) this.toString();
Answer: (A) super.toString();

Q#14: Overloading is ______ whereas overriding is ______.
(A) Run time binding, compile time binding
(B) Late binding, compile time binding
(C) Compile time binding, run time binding
(D) Run time binding, late time binding
Answer: (C) Compile time binding, run time binding

Q#15: Which of the following command is used to compile Java code?
(A) javac filename.java
(B) javac filename
(C) java filename.java
(D) java filename
Answer: (A) javac filename.java

Q#16: Which of the following is true about primitive data types and reference data types?
(A) Primitive data types are created on heap whereas references are created on stack
(B) Both primitive data types and references are created on stack
(C) Primitive data types are created on stack whereas references are created on heap
(D) Both primitive data types and references are created on heap
Answer: (C) Primitive data types are created on stack whereas references are created on heap

Q#17: To develop and execute a Java program, it goes through ______ phases.
(A) 2
(B) 3
(C) 4
(D) 5
Answer: (C) 4

Q#18: Which of the following statement regarding Java is false?
(A) The Java program can run on any CPU or operating system.
(B) Its object-oriented model enables programmers to benefit from its large set of existing classes.
(C) Java needs to be compiled only once.
(D) Java can run only on a Windows operating system.
Answer: (D) Java can run only on a Windows operating system.

Q#19: Which of the following operator is used to concatenate strings?
(A) +=
(B) +-
(C) ++
(D) +
Answer: (D) +

Q#20: If there is a class “Student”, then the Java file must be saved with name:
(A) Student_File.java
(B) student.java
(C) Any name
(D) Student.java
Answer: (D) Student.java

Q#21: What will happen if the String array is not provided as an argument to main method?
(A) The program does not compile
(B) The program compiles but does not run
(C) The program compiles and runs successfully
(D) None of the given options
Answer: (B) The program compiles but does not run

Q#22: Which one of the following understands the byte code?
(A) Operating system
(B) Java compiler
(C) Java Virtual Machine
(D) Java Interpreter
Answer: (C) Java Virtual Machine

Q#24: The collection API are defined in package:
(A) java.io
(B) java.util
(C) java.awt
(D) java.sql
Answer: (B) java.util

Q#25: Which one of the following feature is not available in Java?
(A) Data hiding
(B) Data encapsulation
(C) Single inheritance
(D) Multiple inheritance
Answer: (D) Multiple inheritance

Q#26: Converting a bigger data type into smaller data type is called:
(A) Up-casting
(B) Down-casting
(C) Normal-casting
(D) High-casting
Answer: (B) Down-casting

Q#28: If a super class method is protected, then overriding method:
(A) must be protected
(B) must be public
(C) must be private
(D) may be either protected or public
Answer: (D) may be either protected or public

Q#29: Which of the following is used for inheritance in Java?
(A) implements
(B) extends
(C) : (colon)
(D) inherit
Answer: (B) extends

Q#30: Which of the following is true about primitive data types and reference data types?
(A) Primitive data types are created on heap whereas references are created on stack
(B) Both primitive data types and references are created on stack
(C) Primitive data types are created on stack whereas references are created on heap
(D) Both primitive data types and references are created on heap
Answer: (C) Primitive data types are created on stack whereas references are created on heap

Q#31: Which one of the following feature is not available in Java?
(A) Data hiding
(B) Data encapsulation
(C) Single inheritance
(D) Multiple inheritance
Answer: (D) Multiple inheritance

Q#32: Which of the following statement regarding Java is false?
(A) The Java program can run on any CPU or operating system.
(B) Its object-oriented model enables programmers to benefit from its large set of existing classes.
(C) Java needs to be compiled only once.
(D) Java can run only on a Windows operating system.
Answer: (D) Java can run only on a Windows operating system.

Contents Copyrights Reserved By T4Tutorials