Thursday, April 09, 2009
Posted In
Mkt
Edit This
1-A
2-B
3-A
4-D
5-D
6-C
7-D
8-D
9-B
10-A
11-D
12-C
13-A
14-B
15-B
16-B
17-B
18-A
19-A
20-C
Thursday, April 09, 2009
Posted In
Mth
Edit This
Q:1
Find the composition of the relations
{(1,2),(1,6),(2,4),(3,4),(3,6),(3,8)}
& {(2,u),(4,s),(4,t),(6,t),(8,u)}
Solution:-
{(1,u),(1,t),(3,t),(3,u),(3,s),(2,s),(2,t)}
Q-2
Solution:-
{(a,b),(b,a),(a,c),(b,d),(c,c),(c,d)}
inverse:
{(b,a),(a,b),(c,a),(d,b),(c,c),(d,c)}
Q-3
Solution:-
a. R={(4,7),(5,7),(6,7)}
b. 5R2 false
6R7 True
Thursday, April 09, 2009
Posted In
CS and IT
Edit This
DFD for information about the learning Management System (LMS)
Thursday, April 09, 2009
Posted In
CS and IT
Edit This
Association is a relationship where all object have their own lifecycle and there is no owner. Let’s take an example of Teacher and Student. Multiple students can associate with single teacher and single student can associate with multiple teachers but there is no ownership between the objects and both have their own lifecycle
Aggregation : It indicates a “whole/part” relationship.
For example a department of the faculty has instructors.
Parts ( instructors ) can still exist even if the whole ( the department ) does not exist.
Composition : Composition is a strong kind of aggregation where the parts cannot exist independently of the “whole” object.
For example “ A human has head ”
Here head cannot be as a single part. Hence it is said to be a composition.
The relations among them are given as,
Thursday, April 09, 2009
Posted In
CS and IT
Edit This
Q-1:Question No.2i. If we can extend the LAN then why we need a WAN?
Generally we extend LANs (Local Are Networks) using repeaters. But the maximum number of repeaters that can be used is limited by the Ethernet standard to be four.
In Ethernet LAN, the maximum length of the segment is fixed and the maximum number of nodes in a segment is also fixed for the particular type of Ethernet LAN.
Therefore we cannot indefinitely extend LANs..so we need WAN
ii. How can a bridge know whether to forward frames? The bridge uses the MAC address in the frame for forwarding. It only forwards the frame from one segment to another segment if it is necessary. The bridges will come to know where to send the frame by learning using the source addresses of the frames.
iii. Can the length of an Ethernet be increased to many segments of 500 meter each merely by adding a repeater to connect each additional segment?The Ethernet standards have limited the maximum number of repeaters to be used to four.
SO there can only be five segments each with a maximum length of 500m therefore overall length is 2500 meters.
So the length of the Ethernet cannot be increased to many segments of 500 meters each by merely adding a repeater to connect each segment.
iv. How can a computer attach to a network that sends and receives bits faster than the computer’s CPU can handle them?The data to be sent will be placed in buffer (some space) before and then the data will be transmitted. The data may be present in the buffer till the sender gets an acknowledgement from the receiver saying that the data has been received (like in TCP).
Similarly the data will be received into a buffer first...after that the data from the buffer will be forwarded to CPU for further processing etc
Thursday, April 09, 2009
Posted In
CS and IT
Edit This
SYMBOL POSTFIX STACK
3 3
↑ 3 ↑
2 3 2 ↑
+ 3 2 ↑ +
5 3 2↑5 +
* 3 2↑5 + *
4 3 2↑5 4 + *
↑ 3 2↑ 5 4 + *↑
3 3 2↑5 4 3 + *↑
- 3 2↑5 4 3↑*+ -
18 3 2↑5 4 3↑*+18 -
/ 3 2↑5 4 3↑*+18 9 -/
9 3 2↑5 4 3↑*+18 9/-
INPUT OPERAND1 OPERAND2 VALUE STACK
3 3
2 3 2
↑ 3 2 9 9
5 95
4 9 5 4
3 9 5 4 3
↑ 4 3 64 9 5 64
* 5 64 320 9 320
+ 9 320 329 329
19 329 18
9 329 19 9
/ 18 9 2 329 2
- 329 2 327 327
2)
Indorder:
1,2,3,4,5,6,7,8,9,10,11,12,13,14,18
Postorder:
2,1,6,7,9,8,5,11,10,12,4,3,18,14,13
Thursday, April 09, 2009
Posted In
CS and IT
Edit This
#include
#include
#include
using namespace std;
void swap(string*, int ,int );
void sort(string*);
int main(){
string strings[5];
for(int i=0;i<5;i++)//taking user input
{
cout<<"Enter String "<cin>>strings[i];
}
sort(strings);//calling sort function
for(int i=0;i<5;i++){//print names
cout<}
cout<
}
void swap(string *str, int i, int j)
{
string temp;
temp = str[i];
str[i] = str[j];
str[j] = temp;
}
void sort (string *str)
{
for(int i=0;i<5;i++)
{
for(int j=i+1;j<5;j++)
{
if(str[i].compare(str[j]) >0)
{
swap(str, i, j);
}
}
}
}
Thursday, April 09, 2009
Posted In
Fin
Edit This
Q Correct Option
1 The security is being overvalued
2 Gross Profit/Net Sales
3 Dividend Discount Model
4 Operating income/Net Sales
5 Liquidity and profitability
6 Price-Earnings Ratio
7 Defensive industry
8 Growth stock
9 Changes in the economy
10 The ability of the company to use its assets to produce profits
11 Financial position of business
12 Goodwill
13 Income statement
14 Operating, investing, and financing activities
15 Low
16 High
17 Marketplace is full of competitors
18 Company
19 Pioneering stage
20 All of given options
Thursday, April 09, 2009
Posted In
Fin
Edit This
1. If a cultivator used its agricultural produce as raw material in its business what will be the tax treatment of such agriculture produce?
a) Market price of such produce will be deducted as business
expenditure
b) The expenses of cultivation will be deducted as expense from
business
c) The land revenue rent paid will be deducted as expense from
business
d) All of the given options
2. Which of the following is similar to the concept of clubbing of Incomes?
a) Unification only two heads of Income
b) Association of two or more heads of Incomec) Splitting up of only two heads of Income
d) Division of two or more than two heads of Income
3. The process of clubbing of income results in which of the
following?
a) Lower Bracket rate of tax is charged
b) Higher Bracket rate of tax is charged
c) Moderate Bracket rate of tax is chargedd) No change occur due to clubbing
4. What is the tax treatment of the salary of an employee of foreign government but citizen of Pakistan?
a) Exempt form taxb) Wholly Taxable
c) Partly Taxable
d) No Tax treatment given in IT Ordinance 2001
5. Any Pakistan-source income which Pakistan is not permitted to
tax under a tax treaty shall be _______.
a) Wholly Taxable
b) Wholly Exemptc) Partly Exempt
d) Not mention in Ordinance
6. An Individual will be termed as Short Term Resident under
section 50 of the IT Ordinance 2001 on which of the following
condition meet?
a) His period of stay equal to 183 days
b) The employee of Federal Government
c) The citizen of Pakistan
d) Resident solely by reason of the individual’s employment
7. Income chargeable under the head “Income from Business”
derived by a Provincial Government or local authority from a
business carried on outside its jurisdictional area, how it will be
treated under sec (49) IT Ordinance 2001?
a) Wholly taxableb) Wholly exempt
c) Partially exempt
d) Section is silent about it
8. In Income Tax Ordinance 2001 tax concessions meant for which
of the following?
a) Reduction in tax liabilityb) Reduction in tax rate
c) Reduction in taxable Income
d) All of the given options
9. Senior citizen-age 60 years & above where taxable income not
exceeding ________ tax liability reduced by 50% under Part 3
of second schedule.
a) Rs. 200,000
b) Rs. 300,000
c) Rs. 400,000
d) Rs. 500,000
10. The age of senior citizen was 65years and now amended to
60years which of the following finance act substituted 65 to
60years?
a) Finance Act 2005
b) Finance Act 2006
c) Finance Act 2007
d) Finance Act 2008
11. M/s ABC & Co. has been incorporated under Pakistan
Companies Ordinance 1984. However its most of the branched
are operated out of Pakistan? What will be the residential status
of M/s ABC & Co.?
a) Resident Company
b) Non- Resident Company
c) Resident Individual
d) Resident AOP
12. Mr. Joseph is an employee of Foreign Government posted in
Pakistan? What will be the residential status of Mr. Joseph?
a) Resident Individual
b) Non- Resident Individual
c) Resident HUF
d) Resident AOP
13. What is the residential status of Provincial Government of
Pakistan?
a) Resident Individual
b) Resident Company
c) Resident AOP
d) Resident HUF
14. What is the residential status of Federal Government of
Pakistan?
a) Resident Person
b) Resident Company
c) Resident AOP
d) Resident HUF
15. For a resident AOP which of the following condition must be
satisfied?
a) Control and management of affairs of AOP is situated partly in
Pakistan
b) Control and management of affairs of AOP is situated wholly in
Pakistan
c) Control and management of affairs of AOP is situated wholly or
partly in Pakistan
d) None of the given options
16. Which of the following days shall be counted as whole day for
the computation of residential status of an individual?
a) A public holiday
b) A day of sick leave
c) Any strike day
d) All of the given options
17. Which part of income is charged to tax of non-resident person
under the income tax ordinance 2001?
a) Pakistani source of income
b) Foreign source of income
c) Both Pakistan and foreign source of income
d) None of the given option
18. Rental income shall be Pakistan-source income if it is derived
from:
a) The lease of immovable Property in Pakistan
b) The lease of immovable Property outside Pakistan
c) The lease of immovable Property both in and out of Pakistan
d) None of the given options
19. Any gain arising on the disposal of shares in a non-resident
company belongs to which of the following?
a) Pakistan- source income
b) Foreign source of income
c) Both Pakistan and foreign source of income
d) None of the given option
20. What is the tax treatment of losses from the foreign source under section 104 of the ordinance?
a) Wholly taxable
b) Partly Taxable
c) Deductible expenditure
d) None of the given options
Thursday, April 09, 2009
Posted In
MGT
Edit This
1 C
2 C
3 A
4 D
5 B
6 B
7 B
8 D
9 A
10 B
Thursday, April 09, 2009
Posted In
MGT
Edit This
1. D
2. A
3. A
4. B
5. B
6. C
7. A
8. C
9. B
10. D
11. A
12. C
13. B
14. D
15. B
16. D
17. C
18. D
19. A
20. C
Thursday, April 09, 2009
Posted In
Mkt
Edit This
1 A
2 C
3 A
4 B
5 B
6 B
7 A
8 B
9 C
10 D
Thursday, April 09, 2009
Posted In
HRM
Edit This
1B
2A
3B
4B
5A
6A
7D
8D
9C
10A
-----------------------
1. When you behave and respond with evaluative responses that are critical, judgmental,
opinionated, demanding and disapproving, you are in which ego state?
a. Sympathetic Parent
b. Critical parent
c. Natural Child
d. Critical child
2. When the ___________ is in control, people behave in a thinking, rational, calculating,
factual, unemotional manner.
a. Adult Ego State
b. Parent ego state
c. Child ego state
d. None of the given options
3. The verbal cue for child ego state includes all except:
a. “I wish”
b. “How much”
c. “I want”
d. “I don't know”
4. Which transaction can be helpful when the negative parent or child ego response is
crossed with an adult response?
a. Complementary transaction
b. Crossed transactions
c. Ulterior transactions
d. None of the given options
5. The term democracy originated from Greek word “demokratia” where “demo” means:
a. People
b. Process
c. Power
d. Policy
6. “That really brightens my day” belongs to:
a. Auditory Sub-modalities
b. Kinesthetic Sub-modalities
c. Visual Sub-modalities
d. Gustatory Sub-modalities
7. Which of the following dimensions of trust deals with willingness to protect a person,
physically and emotionally?
a. Openness
b. Competence
c. Consistency
d. Loyalty
8. ______________ means that members of an organization participate in the processes
of organizing and governance.
a. Organization productivity
b. Employee morale
c. Economic democracy
d. Organizational democracy
9. Gestures, facial expression, and body movements are all part of __________.
a. Facilitation
b. Intonation
c. Nonverbal communication
d. Posturing
10. The transfer and understanding of meaning is __________.
a. Communication
b. Nonverbal communication
c. Organizational communication
d. Interpersonal communication
Thursday, April 09, 2009
Posted In
HRM
Edit This
1-D
2-A
3-B
4-D
5-B
6-B
7-C
8-A
9-B
10-D
--------
1. A person is communicating about himself or herself in public, he is showing:
A. Self-concept
B. Self-knowledge
C. Private self
D. Projected self
2. A set of people with different set of behaviors and beliefs that distinguishes them from a larger culture are called:
A. Sub-culture
B. Society
C. Group
D. Culture
3. The cognitive process, in which an individual selects, organizes and gives meaning to environmental stimuli called:
A. Intelligence
B. Perception
C. Reasoning
D. Emotion
4. The meanings which you want to communicate to the viewers are known as:
A. Pure meanings
B. Perceived meanings
C. Dictionary meanings
D. Intended meanings
5. Which one of the following is NOT the characteristic of a group?
A. Share common goals
B. One sided interaction
C. Characterize themselves as members
D. Belongingness to members
6. A social group towards which an individual feels opposition or a desire to compete is called:
A. In group
B. Out group
C. Reference group
D. Secondary group
7. Knowledge or intellectual beliefs are the _____________component of attitude.
A. Positive
B. Behavioral
C. Cognitive
D. Social
8. An individual who develops a strong work ethic will:
A. Be qualified for a managerial position
B. Behave in a highly decent manner
C. Develop a learning-goal orientation
D. Be strongly motivated
9. Emotional intelligence generally compacted with the ability to:
A. Know how to throw a explosion for effect
B. Connect with people and understand their emotions
C. Stay in control while taking tests
D. Using common sense to earn a living
10. Cocaine and diet pills are _____________ that produces feelings of optimism and high energy.
A. Depressant
B. Narcotic
C. Relaxant
D. Stimulants
Thursday, April 09, 2009
Posted In
MGT
Edit This
1. D
2.C
3.B
4.C
5.A
6.A
7.A
8.A
9.C
10.C
11.C
12.C
13.A
14.A
15.B
16.B
17.D
18.B
19.C
20.B
Thursday, April 09, 2009
Posted In
MGT
Edit This
1 C
2 D
3 A
4 C
5 A
6 B
7 A
8 B
9 B
10 B
11 C
12 C
13 C
14 C
15 A
16 A
17 B
18 A
19 A
20 B