Skip to main content

CS101 Current Final Term Fall 2013 File 1

q1 2 marks

is it possible to run an application in the private memory space of another application?
Ans:
No, Application can neither run into the private memory space of another app, nor be run into by another application .Different types of memory (e.g. main, cache) in the system must be used properly, so that each app can run most effectively .

q2 marks 2
if we categorize the networks in termos of the distance they cover, then what will be the types of network? just write the names
Ans:
LAN: local area network
WAN: wide area network
MAN: metropolitan area network

q3 maris 2
how animation of images is easy through javascript?

Ans:
Images in JavaScript can be manipulated in many ways using the built-in object,
Image.Properties: name, border, complete, height, width, hspace, vspace, lowsrc, src
• Methods: None
• Event handlers: onAbort, onError, onLoad, etc.
These all easy statements and command helps in javascript to animate any image .

q4 marks 2
each of javascript method has different functionality. Discuss the functionality of tostring() method.

Ans:
The ‘toString’ Method assigns Explicit conversion to a string
EXAMPLE:
Convert 100.553478 into a currency format
a = 100.553478 ;
b = a.toString( ) ;
decimalPos = b.indexOf( ".", 0 ) ;
c = b.substring( 0, decimalPos + 3 ) ;
document.write( c ) ;

q5 marks 3
how can we reduce the heat effect for processor?


Ans:
A component designed to lower the temperature of an electronic device by dissipating heat into the surrounding air. All modern CPUs require a heat sink. Some also require a fan. A heat sink without a fan is called a passive heat sink; a heat sink with a fan is called an active heat sink.



q6 marks 3
suppose A& B are two java script based programs intending to solve the same problem. List any three differences between the program A and the program B assuming that only the program A is coded using the "Function" approach.



q 7 marks 3
Artificial intelligence is a wide field which can be further categorized into sub categories. you are required to briefly discribe its any three sub-categories.

Ans
a)Neural networks: original inspiration was human brainemphasis now
usefulness as a computational tool
1) Genetic Algorithms : based on darwins evolutionary principle
GA requires the ability to recognize a good solution but not howto get to that
solution
2) rulebased systems
b) the right techniques
Examples:
In medical: Artificial intelligence, Expert System for Chest Pain Diagnosis.
In industry: Artificial intelligence ,Expert System for Automobile Troubleshooting
In space: Artificial intelligence, tele-robots.

q 8 marks 3
A program is reviewed for finding and removing errors before it is handed over to its clients. Discuss the two main approaches of finding and removing errors from a program.
Ans:
A program is reviewed for finding and removing errors before it is handed over to its clients. the two main approaches of finding and removing errors from a program are as follows,
Testing: The tasks performed to determine the existence of defects
Debugging: The tasks performed to detect the exact location of defects

q 9 mars 5
explain how does the process of instant messaging from one computer to another cmputer take place?
Ans:
User launches the IM client
IM client finds the IM server & logs in
It sends communication info (IP address, etc) to the IM server
IM server finds user’s contacts & sends him/her the communication info
for the ones online
IM server also tells the contacts that the user is online; sends his/her
communication info to them
Now the user’s & the contact’s IM clients are ready to communicate
directly (P2P)
Once the IM server provides the communication info to the user and his/her contact’s IM client, the two are able to communicate with each other without the IM server’s Assistance.
q 10 marks 5
the appropriateness of a technique of technology can be determined by considering some aspects related to that technique of technology . enlist any five aspects which may be considered while selecting an AI technique.

Ans:
if 2 techniques produce solutions of a similar quality, matching the right technique
to a problem can save on time & resources
Characteristics of an optimal technique:
The solution contains all of the required information
The solution meets all other necessary criteria
The solution uses all of the available (useful) knowledge
How do we determine the suitability of a particular AI technique for a given task. We
look at the task’s requirements and then see which technique fulfils those requirements
more completely – the one which does, is the one we use!

q 11 5 marks
write HTML code for the following output
I have a bike :
i have a car:
i have an airplane:
Ans:
<HTML>
<HEAD>
<TITLE> cs101 final exam</TITLE>
</HEAD>
<BODY>
<UL>
<LI> I have a bike:</LI>
<LI> i have a car:</LI>
<LI> i have an airplane:</LI>
</UL>
</BODY>
</HTML>

q 12 marks 5
how marketing strategies are being changed with the progress in the field of computer and also describe how new marketing strategies are being implemented.
Making and using a marketing strategyhas a strong positive impact on profitability. The Web has changed marketing forever, redirecting it from a mass focus to a
single-person focus.one of the best sating about bussines is “Want more Business – Knock on more Doors”.and for this purpose net provide us the best solutions. The vast quantity of online information and resources should always be utilized intelligently; One of the few exceptions to this premise is when someone discovers a great “Low Cost” product or service, and is able to market it efficiently and effectively using the internet.
Some effective marketing strategies are:
Perfect Website Title
Search engine optimization.
Business Directory Management
TV COMMERCIALS OR RADIO ADVERTISING

Comments

Popular posts from this blog

CS614 Quiz No.4 Shared by Princess (solved), Spring 2014

  “What means What”. The phrase refers to: Select correct option:  Meta data  External data Transformed data Internal representations Question # 2 of 10 Which of the following is NOT one of the activities of “Maintenance and Growth” phase in Kimball’s DWH development approach? Select correct option: Education Technical Education Program Support  Interface Deployment                 Question # 3 of 10 Horizontally wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records Dataset has attribute skews Dataset has partitioning skews                 Question # 4 of 10 Which of the following is NOT one of the top-10 mistakes that should be avoided during DWH development? Select correct option: Not interacting directly with end user Not being an accommodating person Isolating IT support people from business users Training the users with dummy data and considering it success             

CS614 Quiz No.4 Shared by MT Khan (Solved)

Question # 1 of 10 ( Start time: 09:04:39 PM ) Total Marks: 1 A typical cycle of implementing the change in DWH comprises of the sequence: Select correct option: Production -> QA -> Development Development-> QA -> Production(CORRECT) Development -> Production -> QA Production -> Development -> QA Question # 2 of 10 ( Start time: 09:05:16 PM ) Total Marks: 1 Vertically wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records(CORRECT) Dataset has attribute skews Dataset has partitioning skews Question # 3 of 10 ( Start time: 09:05:43 PM ) Total Marks: 1 In ___________ phase of kimballs approach, we identify the components needed now and in future. Select correct option: Requirement definition Architectural design Product development Analytical application development Question # 4 of 10 ( Start time: 09:06:56 PM ) Total Marks: 1 Technical architecture design supports the communicat

CS301 Quiz No.2 Shared by Tayyeba

Binary search algorithm can not be applied to ____ Select correct option: sorted linked list sorted binary trees        ok sorted linear array pointer array During in-order traversal using recursive calls, if we found a node is NULL. It means this node will satisfy following condition. Select correct option: It will not have left child        ok It will not have right child It will not have both left and right children None of given options Identify the data structure which allows deletions at both ends of the list but insertion at only one end. Select correct option: Input-restricted deque Output-restricted deque Priority queues        ok A BST generated from the data in ascending order is ____________. Select correct option: Linear Nonlinear Balanced        ok Un sorted In a program a reference variable, say x, can be declared as Select correct option: int &x ;        ok int *x ; int x ; None of the given options he depth of a complete bina