CS101 Current Spring 2011 Final Term VU Paper [July 2011] Virtual University of Pakistan

No Comments
CS101 Current Spring 2011 Final Term VU Paper [July 2011] Virtual University of Pakistan

Why we use string functions in JavaScript?
Explain function arguments with the help of an example?
Write the steps to sort an un-sorted list.
Discuss any two situations which show non-ethical behavior?
. Define the anchor tag with the help of example.
What are Trojan Horses ?
What Is the resturction to use in line in a function
Define anchor tag
Write down three advantages of using Functions in a program.
In JavaScript, what is event handling? What are the two types of events?
What is the mistake in the following coding
Student=new array(10)

what is event handler explain. write two types of event handler
What is programming methodology
What is computer screen, explain
what is Turing Machine? explain how its works
Explain why global variable is better than local variable (question was something like that)
What is Relational Database, give two example of RDBMS
Write down the five advantages of multimedia presentation

CS101 Current Spring 2011 Final Term VU Paper [July 2011] Virtual University of Pakistan

Write HTML format to include gif and jpg images in a web page.

Define function and write at least three advantages of function ?

how businesses monitor thier Employees ?

what are the properties, objects in event handling

what are robotics and thier role in daily life

breifly discues atleast two sub catagories of inteligenc system

1.WHy we use javascript?.
Solution:
Small programs that are a part of the Web page and run on the user's (client's) computer
Wel use JavaScript to do client-side scripting. JavaScript can be used (along with HTML) to develop interactive content for the Web. It is designed to be used for developing small programs – called scripts – that can be embedded in HTML Web pages

2. Write names of phases of DoS attack.
Solution:
Three Phases of the DoS
1.Search
2.Arm
3.Attack

3.Errors occur in developing program? write names
Solution:
Types of Errors
• Syntax errors
• Semantic errors
• Run-time errors
4. In which situation we use inline event handling?
Solution:
Where the event needs to be captured and handled with a JavaScript one-liner that is
embedded in the HTML tag

5. what are the properties , method and event handling of image java script?
Solution:
• 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.

6. write names of 5 key characteristics of internet?
Solution:
Key Characteristics
Geographic Distribution Global - reaches around the world
Robust Architecture Adapts to damage and error
Speed Data can travels at near 'c' on copper, fiber, airwaves
Universal Access
Same functionality to everyone
Growth Rate
The fastest growing technology ever
Freedom of Speech
Promotes freedom of speech
The Digital Advantage
Is digital: can correct errors

7. why we use string function in javascript?
Solution:
See Lecture 38
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment