Tuesday, July 3, 2012

.::VULMSIT::.eNoxel Daily Quran and Hadith by VIRTUALIANS.NING.COM TEAM


 



 



This is an invitation to join the http://virtualians.ning.com/   it is a leading student's social network in world of education and entertainment. Virtualians.ning.com provides help in study, a lot of entertainment information about Pakistan and highlight current affairs all around the world.

There is also a great chat room you can easily communicate with students for study discussion and also share your views about the current situation of Pakistan here on http://virtualians.ning.com/main/authorization/signUp?

 

Regards

 

Virtualians.ning.com team

--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.geniusweb.tk
 
http://itncs.tk
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en

.::VULMSIT::.eNoxel MGT602 Teacher Comments on GDB

Teacher's Comment

First of all, I would like to congratulate those students who have worked hard and earned good grades. Keep it up students and keep on participating in graded activities with learning spirit.  Being a teacher it is so delightful to observe that students are coming up with good answers. So once againCONGRATULATION. For those students who couldn't score good marks, don't worry this was a minor activity keep on watching video lectures and reading handout and try your level best in upcoming activities.

You may consult the sample discussion for your reference. The objective of the GDB was to generate the discussion on the importance and implication of business plan development for the entrepreneurs and the measures SMEDA should take in order to persuade entrepreneurs for business plan development. It was delightful to observe that most of the students have clutched the point of discussion in a right way. There were some students who came up with outstanding arguments and scored good grades. In addition to that, those who have misunderstood the question but shared excellent arguments were accommodated with good marks. In spite of several reminders, there were few students who have copied the relevant and irrelevant text from multiple internet sources mentioned in the comment box. You are advised to stop this intellectual dishonesty as there is no short cut in learning.

I guess you all are familiar with the blogs promoting "DO NOT LEARN and JUST COPY PASTE" attitude among out students. They are earning money and you are earning ZEROs in this game.

Few examples are as follows:

vugujranwala.com/vc/showthread.php?tid=1751&pid=3867

www.smebank.org/SME%20Sector.htm

http://www.vu39.com/forum/mgt602-entrepreneurship/24465-mgt602-2nd-gdb-spring-2012-22-6-2012-a.html

There is no short cut


--
Zindagi mein 2 Logo ka buhat khayal rahkoooo

Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo (Father)

2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)

Regards, 
Umair Saulat

--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.geniusweb.tk
 
http://itncs.tk
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en

.::VULMSIT::.eNoxel CS504 - Quiz No.3 Dated 3, 2012

CS504 - Software Engineering – I

Quiz No. 3

Dated July 3, 2012

 

Str  = 0;// str is string Which rewritten from of above line of code is more in line with the self-documentation philosophy than the code above.

Str = false;

Str = NULL;

Str = '\0;

Str = 0.0;

 

Struct packed_struct  { unsigned int f1:1;} pack; Here in "packed_struct":

Value of f1 =1

Size of f1 = 1 bit

Value of f1 should not exceede 1 (Not Sure)

None of given options

 

In the switch statement, cases should always end with a -------statment.

Switch

Go

Break

Stop

 

Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem

Lack of Usability

Lack of Security

Lack of Performance

Lack of Portability

 

If(!(block < activeBlock)) is equvivalent to:

If ((block < activeBlock))

If ((block == activeBlock))

If ((block >= activeBlock))

None of the given

 

Bit fields allow the packing of data in a structure. Using Bit fields we can:

Read 9 bit integers

Avoid memory leakages

Avoid memory overflow

Avoid syntax errors

 

The order in which bytes of one word are stored is _________ dependent

Hardware

Software

Language

Syntax

 

In order to write a portable code which of the following guideline will be helpful:

 

Stick to the standards

Program in the mainstream

Size of data types

All of give options

 

Complex expressions:

Make the code easy to modify

Make the code difficult to modify

Make the code easy to understand

Does not effect understandability

 

In the switch statement, cases should always end with a -------statment.

Switch

Go

Break

Stop

 

x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.

x = false

x = NULL

x = 0.0;

x = '\0'

 

using proper paranthesis normally makes the code

easy to read

easy to understand

less ambiguous

All of the given options

 

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

True

False

 

Bit fields allow the packing of data in a structure. using Bit fields we can:

Read 9 bit integers

Avoid memory leakages

Avoid memory overflow

Avoid syntax errors

 

 

1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;

Statement (2) is more complex than (1)

Statement (2) is more complex than (1)

Both statements are very complex

None of the given options

 

80/20 rule states that:

you spend 80 percent of your time in 20 percent of the code
you spend 20 percent of your time in 80 percent of the code

We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.

Be very careful when you use functions with side effects – functions that change the values of the ________

Objects

Classes

Structures

Variables

 

 

Comma ( , ) is very dangerous because 
Select correct option: 

Compiler does not recognise this symbol 
It creates linkage problem 
It causes side effects 
All of the given options (Not Sure)

The C/C++ language has not specified whether ____ is arithmetic or logical. 
Select correct option: 

Right shift >> 
Right shift << 
&& 
|| 




In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible
Select correct option: 
STL 
ANSI 
ISO 
CMMI 


The order in which bytes of one word are stored is _________ dependent
Select correct option: 

hardware 
software 
language 
syntax 


Be very careful when you use functions with side effects – functions that change the values of the ________


Select correct option: 

Objects 
Classes 
Structures 
Variables 


When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives: 
Select correct option: 

use a better algorithm OR re-write the code 
debug the code OR place assertions in code 
remove the functions OR add more functions 
changed programming language OR compiler at least 


_______ cause major portability issues 
Select correct option: 

Loops (Not Sure)
Bugs in code 
Sizes of data types 
Conditional Structures 

In the switch statement, cases should always end with a -------statment. 
Select correct option: 

Switch 
Go 
Break 
Stop 



Some bit field members are stored: I) left to right II) right to left III) in circular array 
Select correct option: 

only (I) is true 
Only (II) is true 
Both (I) and (II) are true 
All of the options (I, II and III) are true


x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.

x = false

x = NULL

x = 0.0;

x = '\0'

 

 

Comma ( , ) is very dangerous because

Compiler does not recognise this symbol

It creates linkage problem

It causes side effects

All of the given options(Not sure)

 

using proper paranthesis normally makes the code

easy to read

easy to understand

less ambiguous

All of the given options

 

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

True

False

 

 

Bit fields allow the packing of data in a structure. using Bit fields we can:

Read 9 bit integers

avoid memory leakages

avoid memory overflow

Avoid syntax errors

 

1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;

Statement (2) is more complex than (1)

Statement (2) is more complex than (1)

Both statements are very complex

None of the given options

 

80/20 rule states that:

you spend 80 percent of your time in 20 percent of the code

you spend 20 percent of your time in 80 percent of the code

We should try to optimized 80 percent or at least 20 percent of the code

None of the given options.

 

Be very careful when you use functions with side effects – functions that change the values of the ________

Objects

Classes

Structures

Variables

 

A test case involves
Input/output specification plus a statement of the function under test
Steps to perform the function
Expected results that the software application produces
All of the given options

The C/C++ language has not specified whether ____ is arithmetic or logical. 

Select correct option:

Right shift >>

Right shift <<
&&
||


If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ------------
Select correct option:

Validated

Corrected
Checked
Traced

The raising of the imaginary error flag is simply called raising or ________ an error
Select correct option:

Catching
Casting
Throwing
None of given options


In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible
Select correct option:

STL
ANSI
ISO
CMMI

struct packed_struct { unsigned int f1:1; } pack; Here in "packed_struct":
Select correct option:

value of f1 = 1
size of f1 = 1 bit
value of f1 should not exceede 1
None of given options

The idea behind exception handling is to raise some error flag every time ________
Select correct option:

The code compiles
The code links
Memory is allocated
Something goes wrong



Bit fields allow the packing of data in a structure. using Bit fields we can:
Select correct option:

Read 9 bit integers
avoid memory leakages
avoid memory overflow
Avoid syntax errors

The order in which bytes of one word are stored is _________ dependent
Select correct option:

hardware

software
language
syntax

A __________ is a variance from a desired product attribute.
Select correct option:

Exception
Error
Mistake
Defect


The C/C++ language does not define the alignment of items within
Select correct option:

structures
classes
unions
All of the given options

The raising of the imaginary error flag is simply called raising or ________ an error
Select correct option:

Catching
Casting
Throwing
None of given options





Consider the following statement: int a,b=10; Which of the following is correct:
Select correct option:

variable "a" is initialized to 10
Variable "b" is initialized to 10
Both variables "a" and "b" are initialized to 10

variables can not be initialized this way

Exception handling is a powerful technique that separates error-handling code from ______ code.
Select correct option:

Normal
Faulty
Buggy
Complex

Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem
Select correct option:

Lack of usability
Lack of security
Lack of performance
Lack of portability


The complexity of a program may ______ if there are exceptional paths in it
Select correct option:

Decrease
Increase
Remain same

All of given options

80/20 rule states that:
Select correct option:
you spend 80 percent of your time in 20 percent of the code
you spend 20 percent of your time in 80 percent of the code

We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.




When an error is thrown the overall system (on the lookout for this error flag) responds by ______ the error.
Select correct option:

Ignoring
Casting
Catching
All of the given options(Not Sure)

 

Comments are not syntax checked

TRUE

FALSE

 

Modularity is a tool that can help us in increasing the size of individual functions, making them less readable.

True

False


--
Zindagi mein 2 Logo ka buhat khayal rahkoooo

Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo (Father)

2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)

Regards, 
Umair Saulat

--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.geniusweb.tk
 
http://itncs.tk
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en

.::VULMSIT::.eNoxel cs401 assignment no 5 idea solution no 1, cs401 solution 2 by cybarien network.

cs401 assignment no 5 idea solution no 1, cs401 solution 2 by cybarien network.
http://vucybarien.com/index.php

--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.geniusweb.tk
 
http://itncs.tk
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en

.::VULMSIT::.eNoxel CS504 today quiz confernce will be held at 6 pm







Dear Students of CS504,

 Quiz  conference of CS504 is going to held today at 6 pm.. Quiz will be open for 24 hours only. Quiz will be from 
Lecture # 23 to Lecture # 39




Send your gmail id (…@gmail.com) for participation in quiz conference, you should send your request through Gmail.
through VU id bc000000 you cant participate in quiz conference so, don't send your request through VU id.

for participation in quiz conference you should send your invitation or request at quiz.vu@gmail.com 

--

--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.geniusweb.tk
 
http://itncs.tk
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en