Ads 468x60px

Labels

Join This Site To Comment and Discus Problems

Thursday, November 24, 2011

CS101 Quiz No 2 Solved November 2011

In Analysis of Algorithms ________ generally measured in terms of the number of steps required to execute an algorithm
JavaScript can be used along with HTML to
Creat interactivity in Web


Small programs that are a part of the Web page and run on the user’s (client’s) computer are called ______
Client side Scripts
Server Side Scripts

What step\steps is\are not correct in following sorting algorithm? Step 1 Repeat the following steps while the list is sorted: Step 2 Start with the first object in the listStep 3 Swap it with the one next to it if they are in the correct order Step 4 Repeat the same with the next to the first object Step 5 Keep on repeating until you reach the last object in the list
Select correct option:

Step 1
Step 3 and Step 2
Step 4
Step 1 and Step 3

During one of the international cricket tournaments, one of the teams intentionally lost a match, so that they could qualify for the next round If they had won that particular match, some other team would have qualified This is an example of a _________________
greedy algorithm
Non-greedy algorithm
The process that can be used to solve a problem is termed as the ______________
Use Case

Protocol
Algorithm
Flow Diagram
Share/Bookmark

1 comment:

Post a Comment