MGT301-GDB SOLUTION, JUNE 2013



Q MOBILE; A COMPETITOR OR DETRACTOR:
Nokia is the Finnish multinational company founded in 1871 and the largest vendor of mobile phones providing its services in more than 120 countries. Nokia had the biggest customer base around the globe and is the market leader since many years but with the growing technology and due to vendors of smart phones, Nokia is facing declining market from last five years. Competitors came with latest technology, attractive features, innovative designs with lowest prices thus, attracted large chunk of customers. The entrance of HTC, Apple and iphone in Pakistan has damaged Nokia customer base. The android technology led by iphone and HTC changed the perception of market segments and made them inclined towards products with latest features to show their identity distinctively. The android market offer customers fast, attractive and awesome applications to spend their time in leisure. In 2011, Nokia had partnership with Microsoft and now Nokia’s phones 710 and 800 have windows phone operating system to compete with other mobile phone companies. The entrance of Q mobile in 2002 captured large market share with providing eye-catching designs, stunning features with very low prices. It caters low price segment by fulfilling their demands thus, segmentation is critical for all businesses. The features like Wi-Fi, Camera, Bluetooth; Nokia provided in expensive mobiles only but recently, people can have all these features in just Rs. 5000 Mobile phone. The customer’s preference should be the prime concern for every company. This emergence not only changed the perception of customers but market direction shifted from one market leader to many others. But this fact cannot be left unnoticed that Nokia is market leader due to its reliability.
POINT OF DISCUSSION:

How Nokia can re-gain its market share? Give at least three suggestions and support each suggestion with solid argument(s).



Solution:

Nokia is the world’s most reliable company and remains leading for many years. But with the growing business of mobile phones and with rapidly changing technology, every firm changes with the change in technology. With increasing technology, people are also changing their lifestyle, working style and thoughts. Now it is impossible for everyone to leave technology behind and achieve success. So companies should also have to change their thoughts and bring a change with rapidly changing technology that can fulfill customer’s needs, satisfaction and style behavior.
Nokia just only hold reliability and durability. And seems like left behind in the field of technology, style and price maintenance. While Q mobile holds all these things and easily attracts customers due to having technology, style and affordable price. Nokia can improve its product and re-gain its share by
  • Holding reliability and adding some stylish look.
  • By lowering its price and adding prizes.
  • And by providing latest technology and application.

MGT402 Midterm Past Paper


MGT402 (Cost and management Accounting)

Midterm papers Semester: spring2013



Total questions 27
22 short questions (mostly from past papers)
5 long question


Short questions are about:
·        Markup rate
·        Cost of goods sold
·        No. of units
·        Cost per unit
·        Overhead rates


Subjective questions:
1.     Calculate no. of units?  Marks: 2

2.     Calculate Net profit? Marks: 2

3.     Write pros and cons of group bonus?     Marks: 3

4.     Analyze the given data and answer the following:Mark :3

Salaries per unit
Total units
Senior consultant
84
54
Junior consultant
      60
120
Overhead rate for both consultant
       200
?

5.     Calculate of final salaries of each consultant senior and junior?        Marks: 5

6.     Apportion the cost of each department?    Marks: 5


Eng101 Final term paper 2011



Subjective   40 marks  
Time allowed :  160

Q:1 describe the correctly comma splice? 2 marks

Q:2what are the  uses of   modifiers and its types? 2 marks

Q:3write a paragraph on computer education? 2 marks

Q:4 what is the structure of a paragraph and describe its main elements? 3 marks

Q:5 describe the cycle of malarial parasite and describe its flow and detail? 3 marks

Q:6 describe the four type of linear organization ? 3 marks

Q:7 fill in the blanks with the refused correct words? 5 marks
1) There are six basic tenses in English (T/F).
2) The past tense is formed with regular verbs adding ____or_____to the bsic form of the verb.
3) His skinny arms ____out of the flopping sleeves that ____down to his wrists.
4) Mr Saeed _______employed by the primary firm for 25 years in December.
5) In my dreams a snake ______along the side.

Q: 8 identify the function in the following sentences. Marks 5
Sara: if you want to increase the rate of literacy you must educate women and girls.
Zara: I think the same as you
a) Agree
b) To compliment
c) To reject
d) To persuade.

Q:9 find the suffix and prefix from the following paragraph (paragraph was given ) marks 5

Q:10 What is the difference between Skimming and Scanning? Marks 5


Q:11 Read the paragraph and identify the main idea? Marks 5

Eng101 (English Comprehension ) Finalterm 2010

Eng101  (English  Comprehension )
Finalterm    2010

Subjective   40 marks
MCQS mostly from past papers and mostly about suffix ,prefix  and comma splice.

Q: 1 write a paragraph on arrange marriages? 2 marks

Q:2 define the compound sentences? 2 marks

Q:3 define the correct comma splice? 2 marks

Q: 4 correct the following? Marks 3
1) The rage pickers (sort, sorts) huge bundles of rages.
2) The student (listen, listens) the music while study.
3)the gardeners (whistle, whistles)while watering the pots.

Q:5 what is the structure of a paragraph and describe its main elements? 3 marks

Q:6 define the dependent word fragments with examples? 3 marks

Q:7 describe the difference between the single word modifier and the dangling modifier? 5 marks
Q:8 what is the usage of proofreading? 5 marks


Q:9 why do you make notes describe 4 reasons? 5 marks

Q:10 identify the function in the following sentences. 5 marks

Sara:if you wants to increase the rate of literacy  you must educate women and girls.
Zara:I think the same as you
a)agree
b)to compliment
c)to regect
d)to persuade.

Q:11 describe the four type of linear organization ? 5 marks

CS506- Web Design and Development Final term Paper


FINALTERM EXAMINATION
Spring 2009
CS506- Web Design and Development
Total subjective marks:40

Question No: 2 ( M a r k s: 2 )
 Why do we use doTag() method in tag handler class?
 Answer:- the dotag() method is used to implement/override to code functionality of tag. 
 And this is invoked when the end element of the tag encountered.

  Question No: 3 (M a r k s: 2 )
How many types of comments are used in JSP?
Answer:- JSP may contain the following elements.
Directive element
Scripting element
Action element


Question No: 4 ( M a r k s: 2 )
Disadvantage of Page-centered approach.
 Answer:- The page-centric approach has lot of draw backs such as the code becomes a 
 mixture of presentation, business and data access logic. The maintenance and up-gradation 
of the application becomes a nightmare


Question No: 5 ( M a r k s: 3)
Advantages of using Custom Tags?
Answer:-
Provides cleaner separation of processing logic and presentation, than JavaBeans.
Have access to all JSP implicit objects like out, request etc.
Can be customized by specifying attributes.


Question No: 6 ( M a r k s: 3 )
Why do we need Expression language?
 Answer:The Expression Language, not a programming or scripting language, provides a 
way to simplify expressions in JSP. It is a simple language that is geared towards looking up 
objects, their properties and performing simple operations on them. It is inspired form both
 the ECMAScript and the XPath expression language.

Question No: 7 ( M a r k s: 3 )
Differentiate between Sequential Execution and multithreading.
Answer:
Every program has atleast one thread. Programs without multithreading executes sequentially.
 That is, after executing one instruction the next instruction in sequence is executed. If a function
 is called then until the completion of the function the next instruction is not executed. Similarly 
if there is a loop then instructions after loop only gets executed when the loop gets completed.

Question No: 8 ( M a r k s: 5 )
What is the difference between custom tags and JavaBeans?
Answer: In the context of a JSP page, both accomplish similar goals but the differences are:
Custom Tags
 Can manipulate JSP content.
 Custom tags can simplify the complex operations much better than the bean can. But require a bit more work to set up.
 Used only in JSPs in a relatively self-contained manner.

JavaBeans
 Can't manipulate JSP content.
 Easier to set up.
 Can be used in both Servlets and JSPs. You can define a bean in one Servlet and use them in another Servlet or a JSP page.

Question No: 9 ( M a r k s: 5 )
Jsp  page directive?
Answer :  Give high level information about servlet that will result from JSP page. It can be used 
anywhere in the document. It can control. – Which classes are imported – What class the servlet 
extends – What MIME type is generated – How multithreading is handled – If the participates 
in session – Which page handles unexpected errors etc.
Question No: 10 ( M a r k s: 5 )
Why we need jsp as we already have servlet ?
Answer:
While JSP may be great for serving up dynamic Web content and separating content from presentation,
 some may still wonder why servlets should be cast aside for JSP. The utility of servlets is not in question.
 They are excellent for server-side processing, and, with their significant installed base, are here to stay.
 In fact, architecturally speaking, you can view JSP as a high-level abstraction of servlets that is 
 implemented as an extension of the Servlet 2.1 API. Still, you shouldn't use servlets indiscriminately;
 they may not be appropriate for everyone. For instance, while page designers can easily write a JSP
 page using conventional HTML or XML tools, servlets are more suited for back-end developers 
because they are often written using an IDE -- a process that generally requires a higher level of 
programming expertise.


Question No: 11 ( M a r k s: 5)
What are the characteristics of web services?
Answer: Web services are XML-based throughout. Pretty much everything in the domain of Web services is defined in XML. For example, the format of the data being exchanged between service user and service provider is defined in XML or the description of web service is defined in XML. Web services can be dynamically located and invoked. And typically they will be accessed and invoked over both internet and intranet.
Interoperable Connect across heterogeneous networks using ubiquitous web-based standards
Economical Recycle components, no installation and tight integration of software
 Automatic No human intervention required even for highly complex transactions
Accessible Legacy assets & internal apps are exposed and accessible on the web
Available Services on any device, anywhere, anytime
Scalable No limits on scope of applications and amount of heterogeneous applications

CS604- OPERATING SYSTEM FINAL TERM PAPER

SOLVED SUBJECTIVE
SPRING 2011
TOTAL MARKS : 40
TIME ALLOWED :120MIN


QNo.1   What is mounting? Name two types of mounting. Give your answer with respect to File System?   (MARKS  :  2)
Answer:-
Mounting makes file systems, files, directories, devices, and special files available for use at a particular location. Mount point is the actual location from which the file system is mounted and accessed. You can mount a file or directory if you have access to the file or directory being mounted and write permission for the mount point
There are types of mounts:

  1. Remote mount
  2. Local mount      
QNo.2   How to implement hold and wait which can ensure that a deadlock will not occur?   (MARKS  :  2)

Answer:-
A process must be holding at least one resource and waiting to acquire additional resources that are currently being held by other processes.

QNo.3   what is the purpose of “stub” in dynamic linking, give answer with respect to memory?   (MARKS  :  2)
Answer:-
With dynamic linking, a stub is included in the image for each library-routine reference. This stub is a small piece of code that indicates how to locate the appropriate memory-resident library routine or how to load the library if the routine is not already present. During execution of a process, stub is replaced by the address of the relevant library code and the code is executed .If library code is not in memory, it is loaded at this time

QNo.4 how page fault frequency can b used as a method of thrashing.   (MARKS  :  3)
Answer:-
Page fault frequency is another method to control thrashing. Since thrashing has a high page fault rate, we want to control the page fault frequency. When it is too high we know that the process needs more frames. Similarly if the page-fault rate is too low, then the process may have too many frames. The operating system keeps track of the upper and lower bounds on the page-fault rates of processes. If the page-fault rate falls below the lower limit, the process loses frames. If page-fault rate goes above the upper limit, process gains frames. Thus we directly measure and control the page fault rate to prevent thrashing.

QNo.5 File control block? (MARKS  :  3)
Answer:-
A file control block is a memory data structure that contains most of the attributes of a file. In UNIX, this data structure is called inode (for index node).

QNo.6 Define Roll in & Roll out with respect to swapping? (MARKS  :  3)
Answer:-
A process needs to be in the memory to be executed. A process, however, can be swapped temporarily out of memory to a backing store, and then brought back into memory for continued execution. Backing store is a fast disk large enough to accommodate copies of all memory images for all users; it must provide direct access to these memory images. The system maintains a ready queue of all processes whose memory images are on the backing store or in memory and are ready to run. This technique is called roll out, roll in.

QNo.7 Write one advantage and one disadvantage of using large size block? (MARKS  :  5)
Answer:-
Advantages:-
If you use larger block then relatively less overhead. Per I/O you can fetch more data. This is very good for sequential access, or very large rows. 
Disadvantages:-
Large block size is not good for index blocks used in an OLTP(Online Transaction Processing) type environment, because they increase block contention on the index leaf blocks.

QNo.8 Explain the FIFO page algorithm with a scenario where the Belady’s anomaly true? (MARKS  :  5)
Answer:-
The problem with this algorithm is that it suffers from Belady’s anomaly: For some page replacement algorithms the page fault rate may increase as the number of allocated 199
frames increases, whereas we would expect that giving more memory to a process would improve its performance.

QNo.9 writes the formula to calculate page table size     ? (MARKS  :  5)
Answer:-
Page table size = NP * PTES , where NP is the number of pages in the process address space and PTES is the page table entry size (equal to |f| based on our discussion so far).

QNo.10Difference between deadlock avoidance and deadlock (snowz) prevention?  (MARKS  :  5)
 Answer:-
  1. Deadlock prevention: is a set of methods for ensuring that at least one of the necessary conditions cannot hold. These methods prevent deadlocks by constraining how processes can request for resources.

  1. Deadlock Avoidance: This method of handling deadlocks requires that processes give advance additional information concerning which resources they will request and use during their lifetimes. With this information, it may be decided whether a process should wait or not.
                                                                    GOOD LUCK