Saturday, January 21, 2012

Database Management Systems CS403 assignment no 5 fall January 2012

Assignment No. 05
Semester Fall 2011
Database Management Systems-CS403 Total Marks: 30

Due Date:
26 – 01 – 2012

Objective
To understand the Creation of tables and Forms in MS-Access

Software to Use MS - Access

Submission Format Your-Rollno.mdb (.mdb is extension of MS-Access file)

Instructions:
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit if:

The assignment is submitted after due date.
The submitted assignment does not open or file is corrupt.
The assignment is copied (from other student or copy from handouts).
The assignment is in the format other than (.mdb) is not acceptable.
Student ID is not mentioned in the assignment File or name of file is other than student ID.

GOOD LUCK

Assignment: There are Three (3) Tasks in this assignment.

Task 1: (Marks: 5)
Create Four tables in MS – Access according to information given below;

Customer (Customer-ID, Customer-Name, Customer-Address, Customer-Phone)
Product (Product-ID, Product-Name, Unit-Price)
Order (Order-ID, Customer-ID, Order-Date, Ship-Date)
Order-Detail (Order-ID, Product-ID, Quantity)

Select suitable data types for each attribute.
Task 2: (Marks: 5)
Enter at-least five (5) valid entries in each table

Task 3: (Marks: 20 = 5 + 5 + 10)
Design Forms as given below; (Prototype Forms)
* You may change interface of forms

Form 1: Customer Information Form (Based on Table CUSTOMER

Form 2: Product Information Form (Based on Table PRODUCT

Form 3: Order Information Form (Based on Tables ORDER and ORDER-DETAIL)

Object Oriented Programming CS304 assignmnet no 5 fall January 2012

Object Oriented Programming (CS304)

Assignment No.05

Total Marks 10

Deadline

Your assignment must be uploaded before or on 26th January, 2012.

Rules for Making

It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date
  • The assignment is copied

Objectives

This assignment has been designed so that you would be able to implement the Electronic Card system in OOP. After the completion of this assignment you should have a good grasp on how to implement.

  • Integrate different classes
  • Template classes
  • Inheritance and Templates
  • Template functions
  • Template Constructor

In previous assignments we have understood all the basics of the Electronic Card System including the Object Model Diagram and highlighted the Abstraction of classes in terms of attributes and functions prototype. Implement of User and Card related functions of Electronic Card System. Now we want:

  1. Now we want to integrate both the User and Card implementation, and write the main function for the entire Electronic Card System.
  2. Make Cards and User Class as a template Class, Inherit different classes form them.

Assignment:

1st Part of the assignment:

In first part of the assignment, integrate the User class and Card class code (3rd and 4th assignment solution) in a single file. And write the main function for them. Such as:

For User:

In the main function you will create object of “User” class, and through that particular object you will call add, view, and delete method of user class.

Create an object of “Card” class, and through the particular object you will call add, view, and delete method for “Card” class.

When you call the add method of User class, then the following options will appear:

Please select any option:

  1. Member User
  2. Admin User

If user select 1 option, then the following output will be required:

Enter User Id:

Enter User Name:

Enter User Password:

Similar functionality for the Admin User

If the view method is called through User class object, then the following output will appear:

User Id:

User Name:

Status:

If the delete method is called through User class object, then the following output will appear:

Enter user Id:

This user has been deleted successfully

For Cards:

In main function, create an object of Cards class, and through that object call different functions of Cards class, such as AddCards, ViewCards, and DeleteCards.

If the user calls the AddCards method, then the following will appears:

Please select any one option:

  1. Birth Cards
  2. Marriage Cards
  3. Friendship Cards
  4. Baraat Cards
  5. Walima Cards
  6. Mehindi Cards

When user select any one option form the above, then the following will appears:

Enter Card Id:

Enter Card Name:

Enter Message for the receiver:

If the user calls the ViewCards method, then the following will appears:

Enter Card Id:

CardId :__( card id will be show here) _ CardName_(Card Name will be shown here)___

Message for the receiver :________( Here will be the message for the receiver) ______

________________________________________________________________________________________________________________________________________________

If the user calls the DeleteCards method, then the following will appears:

Enter Card Id:

This Card has been deleted successfully

Note:

Please include the code of 3rd and 4th assignment with the 5th assignment.

For this assignment consider “Cards” class as a concrete class, not an abstract class

2nd part of the assignment:

In the second part of the assignment, we declared template classes, template functions, template constructor, and inheritance in the case of template.

Make Users, Member Users, Admin Members, Cards, BirthCards, MarriageCards, Friendship Cards, as a template classes.

Declared template constructors for all the above classes.

Show the inheritance relationship between the above template classes.

Make add, view, and delete functions as a template functions.

Note: just write the declaration of template class, template functions, template constructors, and just write that how inheritance relationship is represented in the case of templates between the given classes.

Uploading Instructions:

You have to upload your running zipped Dev c++ project.

Wednesday, January 18, 2012

CS401 GDB Solution solution soon Janury 2011-2012

CS401 GDB Solution & Discussion Fall 2011


The topic for GDB is:
"Suppose we have two processors A and B. Both have equal number of internal components; the only difference is the number of registers. Processor A has 16 registers and processor B has 64 registers. Which one is best in terms of Cost, Speed and Size?"
Give your answer in the following table format and justify your answer with appropriate reasons.


Property Best Processor Reason
Cost
Speed
Size





cs201 GDB Solution & Discussion Last Date: 24-01-2012

You have two classes, Class A and Class B. Being a programmer either you can implement Class B as nested class of Class A or you can inherit Class B from Class A.

These are two ways to describe the relationship between classes. Discuses the situations in which, concept of public inheritance and nested class is more appropriate to use. Justify with solid reasons.




cs101 final term papers January 2011-2012

Question No: 1 ( Marks: 1 ) - Please choose one
Analytical Engine is ------------------
► An electrical machine
► A digital machine
► An analog machine
► A special purpose machine
Question No: 2 ( Marks: 1 ) - Please choose one
__________% of the users have left websites in frustration due to poor navigation.
► 40
► 62
► 83
► 91
Question No: 3 ( Marks: 1 ) - Please choose one
__________ breaks down the message to be sent over the internet into packets.
► FTP
► HTTP
► TCP
► IP
Question No: 4 ( Marks: 1 ) - Please choose one
The first spread sheet was called as_____________.
► Excel
► PowerPoint
► Word
► VisiCalc
Question No: 5 ( Marks: 1 ) - Please choose one
Which is correct?
► onUnload
► onUnLoad
► onUNLOAD
► All of the above
Question No: 6 ( Marks: 1 ) - Please choose one
Variables allow us to manipulate data through the ___________.
► Actual Value
► Reference
► Length
► Name
Question No: 7 ( Marks: 1 ) - Please choose one
We use ___________ to stop Break-Ins.
► Scanners
► Intrusion detectors
► Utilities
► None of the given options
Question No: 8 ( Marks: 1 ) - Please choose one
Which attribute of the IMG tag tells us about the source of the image ____________.
► source
► path
► loc
► src
Question No: 9 ( Marks: 1 ) - Please choose one
The developer report to ___________ in a development team.
► Team Lead
► Project Manager
► CEO
► IT Manager
Question No: 10 ( Marks: 1 ) - Please choose one
The key responsibilities of the architect of the project is______________.
► Technology selection
► High-level design
► Makes certain that the implementation remains true to the design
► All of the given options
Question No: 11 ( Marks: 1 ) - Please choose one
Using smart editors they can automatically color different parts of statements in
different colors e.g. HTML tags in ____________ color.
► Green
► Grey
► Blue
► None of the given options
Question No: 12 ( Marks: 1 ) - Please choose one
_______ is responsible for all the essential operations like basic house keeping, task
scheduling, etc. Also contains low-level HW interfaces
► Hardware
► Device Manager
► Kernel
► Device Driver
Question No: 13 ( Marks: 1 ) - Please choose one
Randomized algorithms are often ________ than deterministic algorithms for the same
problem.
► Simpler and more slow
► Simpler and more efficient
► Complex and more efficient
► Complex and more slow
Question No: 14 ( Marks: 1 ) - Please choose one
Compound Statement after decision constructs in JavaScript is enclosed with
► ( )
► [ ]
► { };
► { }
Question No: 15 ( Marks: 1 ) - Please choose one
The key property of the ‘Array’ object in JavaScript is
► Value
► Length
► Name
► All of the given choices
Question No: 16 ( Marks: 1 ) - Please choose one
Which protocol is used to send email ?
► FTP
► SMTP
► TELNET
► All of the given choices
Question No: 17 ( Marks: 1 ) - Please choose one
Following is highest level of heading tag in list given below.
► H3
► H4
► H5
► H2
Question No: 18 ( Marks: 1 ) - Please choose one
Blue Pacific is a name of ______ computer.
► Mini
► Desktop
► Micro
► Super
Question No: 19 ( Marks: 1 ) - Please choose one
__________ correctness is easier to check as compared with __________
► Syntactic, Semantic
► Semantically, Syntactically
► Systematically, Semantically
► None of the given options
Question No: 20 ( Marks: 1 ) - Please choose one
__________ refers maintaining the correctness and consistency of data
► Security
► Integrity
► Reliability
► None of the given

ACC501 GDB no 2 full solution fall January 2011-2012

Discussion Question:

Suppose you were hired as an Assistant Finance Manager in a leather manufacturing concern last month. The first task assigned to you was to calculate company’s weighted average cost of capital (WACC) and provide a detailed report about it to the CEO of the company. Although you have calculated the WACC after incorporating the required data but the problem is there in reporting it to the CEO because he doesn’t have enough financial knowledge. For him, the WACC is just a rate that is used in different financial affairs of the company whereas you have to make him understand the financial usages of WACC. You are, therefore, required to identify the different financial usages for which this particular rate can be used by the company.

NOTE:
You are required to provide at least four different financial usages in bulleted form only. Avoid unnecessary details.



Solution



Acc501 Current Gdb Idea Solution 2012

Idea solution:
By taking a weighted average, we can see how much interest the
company has to pay for every dollar it finances.
it is often used internally by company directors to determine the
economic feasibility of expansionary opportunities and mergers.
It is the appropriate discount rate to use for cash flows with risk that
is similar to that of the overall firm.
It gives companies an insight into the cost of their financing, can be
used as a hurdle rate for investment decisions, and acts as a measure
to be minimized to find the best possible capital structure for the
company
Investors use WACC to help decide whether a company represents a
good investment opportunity. To some extent, WACC represents the
rate at which a company produces value for investors—if a company
produces a return of 20% and has a WACC of 11%, then the company
creates 9% additional value for investors. If the return is lower than
the WACC, the business is unlikely to secure investment.
If the management does not have a good understanding of the
WACC Weighted Average Cost of Capital of their firm, then they will
not be able to make good investment decisions that will benefit the
shareholder.
By understanding how the WACC Weighted Average Cost of Capital
is calculated, a firms management can choose a capital structure that
will provide the highest possible return for their shareholders relative
to the perceived risk of the company. It is important to understand
that increasing the amount of debt in a company will reduce the
WACC Weighted Average Cost of Capital. When this happens, the
hurdle rate for capital projects is lowered and projects that were
previously rejected may now be approved. But this does not
necessarily mean that shareholders will benefit. By increasing
leverage, the company has increased the risk to shareholders that
returns could be reduced due to the higher amount of interest that
need to be paid. It is important to understand the risk expectations of
shareholders when making changes to the capital structure.





Business and Technical English ENG201 Assignment No. 04 Fall January 2011-2012

Business and Technical English (ENG201)

Fall 2011

Assignment No. 04

Total Marks: 15

Lecture: 30-40

Due Date: January 23, 2012

Objectives:

The assessment of students’ understanding, also get them motivated for acquiring conceptual knowledge and practical application of the grammatical rules.

Instructions

  1. Late assignments will not be accepted.
  2. If the file is corrupt or problematic, it will be marked zero.
  3. Plagiarism will never be tolerated. Plagiarism occurs when a student uses work done by someone else as if it was his or her own; however, taking the ideas from different sources and to express it in your own words will be encouraged.
  4. If any assignment is found copied work, no marks will be awarded and the case may be referred to the head of the department for disciplinary action.
  5. No assignment will be accepted via e-mail.
  6. The file should be in Word doc form; the font color should be preferably black and font size can be 12 Times New Roman.

Q1. Good and famous writers just don’t fall from sky rather acquire their art of good writing from this very world. Explain in detail how world teaches them to create writing master pieces by avoiding certain frequent writing lapses and problems. (05 marks)

Q2. Correct the sequence of Tenses in the following sentences. (05 marks)

  1. Ali said that he had worked hard all day, that he was tired and that he will go to bed early.
  2. The boy ran away from home. He will never come back.
  3. Had the man ever told you that he has been beaten by her wife first time?
  4. The man reported the fact that he has heard a shot in the street to the police.
  1. John had a very good memory, which he had always thought of as a great advantage. He stores up the things his friends said to him and if he did not understand them.

Q3- Part 1 (2 marks)

Directions:

Read the given passages below and choose the correction that fixes the fragment.

1. Scooting the glass of iced tea closer to her plate. Brave Vanessa dipped the tortilla chip into Pedro’s infamous hot sauce.

a) Scooting the glass of iced tea closer to her plate, brave Vanessa dipped the tortilla chip into Pedro's infamous hot sauce.

b) Scooting the glass of iced tea closer to her plate brave Vanessa dipped the tortilla chip into Pedro's infamous hot sauce.

c) Brave Vanessa dipped the tortilla chip into Pedro's infamous hot sauce scooting the glass of iced tea closer to her plate.

2. As he scrubbed the tile grout with the toothbrush and bleach. Nick vowed never again to let the bathroom get so filthy.

a) As he scrubbed the tile grout with a toothbrush and bleach Nick vowed never again to let the bathroom get so filthy.

b) As he scrubbed the tile grout with a toothbrush and bleach, Nick vowed never again to let the bathroom get so filthy.

c) Nick vowed never again to let the bathroom get so filthy, as he scrubbed the tile grout with a toothbrush and bleach.

Q3- Part-2 (3 Marks)

Directions:

Read the sentences below. Then decide whether or not it contains an error in parallel structure.

3. Pancakes dripping with syrup, coffee steaming in big mugs, and bacon frying on the stove make breakfast at Grandma’s house a real treat.




MCM301 GDB fall January 2011-2012 solution soon

  • Informality: It provides an open forum for policy makers and officials to discuss any political, economy and social issues of common interest. In this way, it complements rather than duplicates the work already being carried out in bilateral and multilateral fora;
  • Multi-dimensionality: It covers the full spectrum of relations between the two regions and devotes equal weight to political, economic and cultural dimensions;
  • Emphasis on equal partnership: It eschews any "aid-based" relationship taken forward under our bilateral relations in favour of a more general process of dialogue and co-operation based on mutual respect and mutual benefit;
  • Dual focus on high-level and people-to-people: It provides a platform for meeting of heades of states or governments, ministers and senior officials, and with an increasing focus on fostering contacts between societies in all sectors in the two regions .

Make changes accordingly. Else u’ll get zero marks.

Data Structures CS301 Assignment No 05 SEMESTER fall January 2011-2012

Question No.1 (5+5 Marks)

Consider the following array as input

13

4

6

8

9

7

10

15

I) Prove that it is a heap and also explain what type of heap it is.?

II) Add 16 and 3 into the heap and convert it into Max heap.

Question No: 2 Marks: 10

Perform the following sequence of Union operations on the set of elements {1,2,3,4,5,6,7,8,9,10,11} using Union by Size.

Union(1,2)

Union(3,5)

Union(3,6)

Union(1,4)

Union(3,9)

Union(10,11)

Union(1,10)

Union(7,8)

Union(10,7)

Union(1,3) .

CS301 Data Structures GDB fall 19 January 2012

Total Marks 5
Starting Date Thursday, January 19, 2012
Closing Date Friday, January 20, 2012
Status Open
Question/Description

The topic for GDB is:



“Is heap an implicit data structure for Priority queue? yes or no justify. “



A concise, coherent and to-the-point comment is preferred over lengthy comment having irrelevant details.



Comments posted on regular Lesson's MDB or sent through e-mail will NOT be considered.

Solution


Is heap an implicit data structure for Priority queue?

No, A priority queue is an abstract data structure, independent of how the data is organized. A priority queue can be implemented as an unordered list, a sorted list, a linked list, etc. Some better than others in their support of the priority queue operations, depending on the characteristics of the data to be managed. A heap happens to be a good data structure for an efficient implementation of a priority

CS403 - Database Management Systems GDB fall 19 January 2011-2012

CS403 - Database Management Systems GDB fall 19 January 2011-2012
Total Marks 5
Starting Date Wednesday, January 18, 2012
Closing Date Thursday, January 19, 2012




“Normalization Process removes the anomalies from the data but ultimately it affects the Query Performance of DML operations:” why..? Justify the statement.

Guidelines

  • Discuss both “Positive and negative effects” (if any)
  • Your answer should be precise and should not be greater than 6 lines
  • Do not post the answer of GDB topic in MDB


Solution :


This is because the Normalization process removes the anomalies from the data but ultimately it affects the Query performance of operations

Positive Affect: Normalization save our space by removing redundancy and anomalies and also save our record for corruption or damage.

Negative Affect: It makes the DML query slow because number of joins are involved




Sunday, January 15, 2012

GDB idea solution of MGT401 Financial Accounting

Mr. Businessman is the Chairman of “Empire Business Group (EBG)” – a large industrial and financial conglomerate of an Asian Country. This group was founded in early 40’s.


According to a recent report issued by the group, EBG comprised of 25 companies with assets worth Rs 15,860 millions by the end of year 2010 with the plan of establishing 5 new units in the coming 3 years. The group with a well diversified investment structure is enjoying a significant existence in Cement, Sugar, Textile, Insurance, Power, Aviation, and Financial sectors in the country.


Mr. Businessman's rise started in late 80’s, when he purchased Hypothetical Financial Bank Limited (HFBL) - ranked among the country’s 5 strongest banks. HFBL is now one of the most professionally lead Business entity in the country with net assets base of over Rs.150 billion, and enjoying deposits base over Rs. 325 billion. This has ranked EBG among the top five business families in the country. Mr. Businessman has significantly come a long way… and no doubt, EBG is still growing.


Among other factors responsible for such prestige, is the group’s truly high class modern, innovative and flexible Information and Financial Reporting System (IFRS) which ensures input of strictly & truly verified data and output of error-free information. This is the reason that every financial information disseminated by the group is respected in the outer world.


These days, the group’s one export oriented textile unit named High Textile Mills Limited (HTML) is planning to install a hi-tech plant of finest quality to increase its current production by 250% with the 0.95 efficiency level. This plan needs an investment of Rs. 1,250 million. The group has planned to raise Rs. 250 million of this amount through the public issue and the balance from HFBL as a loan for a period of 7 years on quarterly installment basis.


The bank is under the chairmanship of Mr. Businessman who is also working as CEO of the textile company. In this case there is no problem in getting loan for the company. But Chief Financial Officer (CFO) of HFBL has raised his concern that this dual relationship of Mr. Chairman as the chairman can influence the bank’s Board of Directors to issue loan on soft terms. Moreover, being related party, both HFBL and HTML has to issue their annual reports to the shareholders of the concerned entities and this deal is a big concern for these reports as significant information.


Requirement:


As a student of accounting, you are required to give your opinion on the CFO’s concern while considering the provisions (relevant to this deal) of IAS - 24 on “Related Party Disclosures” applicable to HFBL’s Annual Report 2011?


Please find solution here
MGT401 Financial Accounting GDB

cs504 Software Engineering solve Mcqz 2012 for final term paper irtual universioty of pakistan

Client Server model tries to data and processing
Distribute
Merge
Clone
Proceed

Anti- Patterns is another concept that corresponds to common in analysis and design.
Mistake
Issues
Problems
All of the given

Three tier architecture contains layers

Presentation
Application
Database
All of the above

MVC stands for

Model View Controller
Modern View Center
Model View Center
Modern View Controller

Fat client model is one of the configurations of model

Data-Centered

Layered

Reference

Client Server

Description of communicating objects and classes that are customized to solved a general problem in a particular context is called

Design Pattern

System Patter

System Design

None of the Given

In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.

Usability

Performance

Interpretability

None of the given

Thin Client model is one of the configurations of ….. model

Data Centered

Client Server

Layered

Reference

Dynamic process model shows the process ………….. of the system

Components

Objects

Structure

Linkage

It ensures that a class only has one instance and provides a global point of access to it.

Singleton Pattern

Observer Pattern

Real Pattern

None of the given

Question # 1 of 10 ( Start time: 06:15:15 PM ) Total Marks: 1

STL Stnads for ------------------

Standard Template Library

Standard Type Link

Standard Tempo Line

None of the given

Question # 2 of 10 ( Start time: 06:16:10 PM ) Total Marks: 1

Three tier architecture contains ------------- layers

Select correct option:

Presentation

Application

Database

All of the above

Question # 3 of 10 ( Start time: 06:17:05 PM ) Total Marks: 1

Which of following is/are among ten things,which the basic template of GOF design pattern includes.

Select correct option:

Problem

Context

Forces

All of the given

Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1

Vertical partitioning is also known as…..

Select correct option:

Balancing

Mutating

Parallelizing

Factoring

Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1

Vertical partitioning is also known as…..

Select correct option:

Balancing

Mutating

Parallelizing

Factoring

Question # 5 of 10 ( Start time: 06:20:06 PM ) Total Marks: 1

Patterns are devices that allow programs to share knowledge about their -------------.

Select correct option:

Code

Design

Analysis

None of the given

Question # 6 of 10 ( Start time: 06:22:07 PM ) Total Marks: 1

Client server model tries to …….data and processing.

Select correct option:

Distribute

Merge

Clone

Proceed

Question # 7 of 10 ( Start time: 06:23:24 PM ) Total Marks: 1

N-tier architecture stems from the struggle to find a ----------- between the fat-client architecture and the thin-client architecture.

Select correct option:

Concurrency

Distribution point

Middle ground

Similarity

Question # 8 of 10 ( Start time: 06:24:20 PM ) Total Marks: 1

Vertical partitioning divides the architecture application from a …… making perspective.

Decision

Design

Conclusion

Move

Question # 9 of 10 ( Start time: 06:25:23 PM ) Total Marks: 1

Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture.

Select correct option:

Subtracting

Partitioning

Cloning

Balancing

Question # 1 of 10 ( Start time: 01:35:10 PM ) Total Marks: 1

The nominal case should be put in the if-part and the exception in the else-part of an if statement.

Select correct option:

TURE

FALSE

sec(s)

Question # 2 of 10 ( Start time: 01:35:59 PM ) Total Marks: 1

Charles Simonyi first discussed Hungarian Notation. He was of ------ .

Select correct option:

Microsoft

IBM

Dell

Cisco

sec(s)

Question # 3 of 10 ( Start time: 01:36:25 PM ) Total Marks: 1

The terms get/set must be used where an attribute is accessed

Select correct option:

Indirectly

Directly

sec(s)

Question # 4 of 10 ( Start time: 01:36:37 PM ) Total Marks: 1

A self documented program/code contains the following attribute(s):

Size of each function

Choice of variable

Choice of variable

All of the given choices

sec(s)

Question # 5 of 10 ( Start time: 01:37:42 PM ) Total Marks: 1

"is" prefix should be used for------ variables and methods.

Select correct option:

General

Boolean

Constant

None of the given

sec(s)

Question # 6 of 10 ( Start time: 01:38:16 PM ) Total Marks: 1

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an

explicit logical structure.

Select correct option:

TRUE

FALSE

sec(s)

Question # 7 of 10 ( Start time: 01:38:44 PM ) Total Marks: 1

Variables should be initialized where they are ------and they should be declared in the ------scope possible.

Select correct option:

defined and smallest

declared and medium

defined and medium

declared and smallest

sec(s)

Question # 8 of 10 ( Start time: 01:39:56 PM ) Total Marks: 1

Unrelated variables should be declared in the same statement.

Select correct option:

True

False

sec(s)

Question # 9 of 10 ( Start time: 01:40:22 PM ) Total Marks: 1

which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2

Select correct option:

(1) and (3) only

(2) and (3) only

(1) and (2) only

All procduce the same result

sec(s)

Question # 10 of 10 ( Start time: 01:41:38 PM ) Total Marks: 1

Goto statements violate the idea of

Select correct option:

object oriented code

structured code

control structure

repetition structure

sec(s)

Question # 2 of 10 ( Start time: 01:44:29 PM ) Total Marks: 1

MVC pattern was based on the --------------- pattern.

Select correct option:

Observer

Structural

Behavioral

None of given

sec(s)

Question # 3 of 10 ( Start time: 01:44:56 PM ) Total Marks: 1

Which one is correct?

Select correct option:

double total = 0.5;

double total = .5;

double total = .50;

all of the given

sec(s)

Question # 4 of 10 ( Start time: 01:46:09 PM ) Total Marks: 1

Code should not be:

Select correct option:

commented

indented

cryptic

aligned

sec(s)

Question # 5 of 10 ( Start time: 01:46:41 PM ) Total Marks: 1

Global variables in C++ should always be referred to by using the

Select correct option:

:: operator

: operator

Without an operator

None of the given

sec(s)

Question # 6 of 10 ( Start time: 01:47:17 PM ) Total Marks: 1

_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model

View Controller pattern

Select correct option:

Smalltalk

PASCAL

JAVA

C++

sec(s)

Question # 7 of 10 ( Start time: 01:47:56 PM ) Total Marks: 1

using proper paranthesis normally makes the code

Select correct option:

easy to read

easy to understand

less ambigous

All of the given options

sec(s)

Question # 9 of 10 ( Start time: 01:48:58 PM ) Total Marks: 1

Which of the following shows a commented statement in C++

Select correct option:

# Ans = first + second

// Ans = first + second

\\ Ans = first + second

/# Ans = first + second

sec(s)

Question # 1 of 10 ( Start time: 01:51:42 PM ) Total Marks: 1

The form for (;;) should be used for

Select correct option:

nested loop

empty loop

more than 1000 iterations

sec(s)

sec(s)

Question # 2 of 10 ( Start time: 01:52:09 PM ) Total Marks: 1

Identifier names also play a significant role in enhancing the -------- of a program.

Select correct option:

Writ ability

Readability

Reliability

sec(s)

Question # 3 of 10 ( Start time: 01:53:08 PM ) Total Marks: 1

It ensures that a class only has one instance and provides a global point of access to it.

Select correct option:

Singleton Pattern

Observer Pattern

Real Pattern

None of the given

sec(s)

Question # 4 of 10 ( Start time: 01:53:49 PM ) Total Marks: 1

Names representing methods and functions should be----and written in mixed case starting

with -----case.

Select correct option:

Noun—lower

Verb----lower

Noun ---upper

Noun----upper

sec(s)

Question # 5 of 10 ( Start time: 01:54:45 PM ) Total Marks: 1

A function should not be larger in any case and should not exceed ______ in length .

Select correct option:

Half page

One page

Two pages

Three Pages

sec(s)

Question # 7 of 10 ( Start time: 01:55:56 PM ) Total Marks: 1

-----provides a unified interface to a set of interfaces in a sub-system.

Select correct option:

Observer Pattern

Singleton Pattern

Façade Pattern

All of the above

sec(s)

Question # 8 of 10 ( Start time: 01:56:35 PM ) Total Marks: 1

MVC stands for ---------------

Select correct option:

Model View Controller

Modern View Center

Model View Center

Modern View Controller

sec(s)

Question # 8 of 10 ( Start time: 01:59:40 PM ) Total Marks: 1

A self documenting code is a code that explains itself without the need of comments and

extraneous documentation, like _______

Select correct option:

Flowcharts

UML diagrams

Process-flow state diagrams

All of the given choices

sec(s)

Question # 10 of 10 ( Start time: 02:00:38 PM ) Total Marks: 1

Complex expressions:

Select correct option:

Make the code easy to modify

Make the code difficult to modify

Make the code easy to understand

Does not effect understandablity

Question # 10 of 10 ( Start time: 01:49:27 PM ) Total Marks: 1

Comments should NOT be indented relative to their position in the code

Select correct option:

TRUE

FALSE

----Provides a unified interface to a set of interfaces in a sub-system

Observer Pattern

Singleton Pattern

Façade Pattern

All of the above

In Client Server model, there application is modeled as a set so --- that are provided by server

Application

Protocol

Services

All of the above

Vertical Partitioning is also know as

Balancing

Mutating

Parallizing

Factoring

Façade Pattern provides a unified interface to a set of interfaces ina sub-system.

True

False

Which of the is/are among ten things which the basis template of GOF design pattern includes.

Problem

Context

Forces

All of the above

Thin Client Model places a heavy processing load on……

Only Server

Only Network

Both Server and Network(Not Sure)

Neither server nor network

Zero install architecture does not need any installation on ____________.

Server side (not Sure)

Client side

Client & Server Side (Not Sure)

None of the above

Data-Centered Architectural Style is also called ….

Repository model

Client Server model

Sub system model

Reference model



Vugurus. Powered by Blogger.

Popular Posts

Blog Archive

Labels

Imp Links

Followers

Total Pageviews

Subscribe for email

Blog Archive

Labels

Search

Loading...