Business > EXAM > CMPE 131 Exam 1|38 Questions with Verified Answers,100% CORRECT (All)

CMPE 131 Exam 1|38 Questions with Verified Answers,100% CORRECT

Document Content and Description Below

CMPE 131 Exam 1|38 Questions with Verified Answers Software Development means only coding • True • False - CORRECT ANSWER False Software Engineering is an iterative process • True •... False - CORRECT ANSWER True Abstraction is the key to modularity • True • False - CORRECT ANSWER True In MVC architecture, models cannot directly communicate with the controller • True • False - CORRECT ANSWER True UML stands for Unified Modules Language • True • False - CORRECT ANSWER False Inventory Management system's services, constraints and goals are defined in which stage of Waterfall model process • System and software design • Implementation and Unit Testing • Integration and System Testing • Requirement Analysis and definition • Operation and Maintenance - CORRECT ANSWER Requirement Analysis and definition Consider the following function definition for Employee management system, int getEmpNumbers(int firstEmp, int LastEmp) { // return all the employee numbers between the first and last employee numbers } What type of abstraction is being used here? • Data Abstraction • Abstraction by Parameterization - CORRECT ANSWER Abstraction by Parameterization The custom datatypes for Inventory management system can be created by using the following □ Enum □ Encapsulation □ Class □ Interface - CORRECT ANSWER All of the above package com.Inventory.retail; public class Article { public String name; public String USN; } The code snippet is an example for information hiding. • True • False - CORRECT ANSWER False Class, Package and compilation unit are the examples for encapsulation. • True • False - CORRECT ANSWER True Operating overloading is very much like functional overloading. • True • False - CORRECT ANSWER True Select different types of non-functional requirements □ External Requirements □ Product Requirements □ Organization Requirements □ System Requirements - CORRECT ANSWER External Requirements, Product Requirements, Organization Requirements Inventory management system is an example of what application type. • Language processing system • Data processing applications • Transaction processing application - CORRECT ANSWER Transaction processing application When designing the ERD diagram for Employee Management system, We have to create an entity Person with the attribute Id and Address. The address attribute contains : Street, State and Zip Code. The address attribute belongs to a type called. • Composite • Unique • Optional • Derived - CORRECT ANSWER Composite Consider the table Employee, Emp Id Emp Name DeptId 1234 Becky 1 and the table Department, Dept Id DeptName DeptLocation 1 Sales Suite A The attribute DeptId in Employee table is, • Composite Key • Primary Key • Foreign Key - CORRECT ANSWER Foreign Key Consider the table Employee, Emp Id Emp Name DeptId 1234 Becky 1 and the table Department, Dept Id DeptName DeptLocation 1 Sales Suite A Identify the 'm' side of the relationship. • Department • Employee - CORRECT ANSWER Employee Consider the table Employee, Emp Id Emp Name DeptId 1234 Becky 1 and the table Department, Dept Id DeptName DeptLocation 1 Sales Suite A Identify the '1' side of the relationship • Department • Employee - CORRECT ANSWER Department Consider the table Employee, Emp Id Emp Name DeptId 1234 Becky 1 2345 Molly 2 3456 Rob and the table Department, Dept Id DeptName DeptLocation 1 Sales Suite A 2 Purchasing Suite B Dept Id attribute in Employee table is : • Optional • Unique • Composite - CORRECT ANSWER Optional Pattern that concerns the process of object creation is • Creational Pattern • Behavioral Pattern • Structural Pattern - CORRECT ANSWER Creational Pattern public class Person { private static Person instance = new Person(); public Person () {} public static Person getPerson() { return instance; } } Person is a singleton class. • True • False - CORRECT ANSWER False Stages in Software Engineering process are □ Requirement Gathering □ Team Collaboration □ Software Testing □ Extreme Programming - CORRECT ANSWER Requirement Gathering, Software Testing Test cases are written in the design phase • True • False - CORRECT ANSWER True Process of converting the system specification into an executable _________________ - CORRECT ANSWER Software design and implementation When reusing an existing software system for a new application it is generally advisable to maintain the same functional modules as removing or altering functional modules could introduce new faults. • True • False - CORRECT ANSWER False A data type whose representation is hidden from the client: ____________ - CORRECT ANSWER ADT Pure ADTs are created by using • Class • Interface • Enum - CORRECT ANSWER Interface Parent.java package d; public class Parent { private int a = 10; public int getA() { return a; } } Child.java package d; public class Child extends Parent { public int b = 5; public Child() { b = a; } public void printB() { System.out.println(b); } public static void main(String str[]) { Child c = new Child(); c.printB(); } } What will the o/p when we execute Child.java • 5 • 10 • Runtime error • Compile time error - CORRECT ANSWER Compile time error The process of putting methods and data members in a single class is called • Encapsulation • Inheritance • Interface • Abstraction - CORRECT ANSWER Encapsulation "The passwords must be stored with MD5 encryption in Database" is an example for • Functional requirement • Non-functional requirement - CORRECT ANSWER Non-functional requirement In sequence diagrams, time proceeds from • Left to right • Right to left - CORRECT ANSWER Left to right Which of the following UML diagrams represents a "has a" relationship? • Aggregation • Composition • Generalization - CORRECT ANSWER Aggregation Conceptual design are written by stakeholders • True • False - CORRECT ANSWER False MVC architecture is best benefited when used with simple data model and interactions • True • False - CORRECT ANSWER False Overloading is which kind of polymorphism? • Adhoc polymorphism • Universal polymorphism - CORRECT ANSWER Adhoc polymorphism Encapsulation is supported by • Objects • Methods • Classes • None of the above - CORRECT ANSWER Classes Can we create a clone of singleton object? • True • False - CORRECT ANSWER False The following diagrams are used database modeling □ ERD □ Relational □ Sequence □ State - CORRECT ANSWER ERD, Relational Test cases are written in the design phase • True • False - CORRECT ANSWER True [Show More]

Last updated: 5 months ago

Preview 1 out of 10 pages

Add to cart

Instant download

Also available in bundle (1)

CQM-C EXAM (27 Sets) Questions with Verified Answers,100% CORRECT

CQM-C Exam 40 Questions with Verified Answers,CMQ/OE Exam Terms 2017/2018|101 Questions with Verified Answers,ASQ CMQ/OE 34 Questions with Verified Answers,Ready, Fire, Aim" by Michael Masterson Exam...

By securegrades 5 months ago

$28.5

28  

Reviews( 0 )

$7.50

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

REQUEST DOCUMENT
21
0

Document information


Connected school, study & course


About the document


Uploaded On

Nov 29, 2023

Number of pages

10

Written in

Seller


seller-icon
securegrades

Member since 4 years

117 Documents Sold


Additional information

This document has been written for:

Uploaded

Nov 29, 2023

Downloads

 0

Views

 21

Recommended For You

Get more on EXAM »
What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·