In the name of ALLAH, the most beneficient, the most merciful

Introduction to Computing (CS101)

Subjective, Short Questions from Past Papers

 

Subjective Questions

Question

(Final, 2011, Spring, Marks = , Lesson No. )

For what purpose FTP is used in network?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

Define key weakness of the web?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

What are distinct features of computers?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

How would you briefly explain an intelligent system?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

Briefly mention any three problems in old modes of presentation development?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

Differentiate deterministic and randomized algorithms?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

How global corporations are becoming more powerful?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

What are the disadvantages of a flat file database?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

Why the quality of image in the dithering scheme is not good?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

What is main difference between Microprocessor and Microcontroller?

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

What are other viruses like programs? Discuss any two.

Answer:

Question

(Final, 2011, Spring, Marks = , Lesson No. )

There may be some properties methods and event handlers of Image object in java script. If you know, write four properties, one methods and two event handlers of Image object.

Answer:

Question

(Mid, 2007, Fall, Marks = 5, Lesson No. 13)

What makes System Software different from Application software? Explain the attributes of good application software. Please write down the concise and to the point answer.

Answer:

Question

(Mid, 2007, Fall, Marks = 5, Lesson No. 11)

Draw the OS components diagram? What are the main responsibilities that Kernel plays in Operating system? Please write down in 6-7 lines max.

Answer:

Question

(Mid, 2007, Fall, Marks = 3, Lesson No. 7)

How you can enhance the capability of a micro processor? Write down the answer in maximum 5-6 lines.

Answer:

Question

(Mid, 2007, Fall, Marks = 10, Lesson No. )

Create the following page using html and javascript as shown in the image below. If someone press “Ok” (submit) button without entering “age”, it should show a message “Please enter your age”.
Options in drop down menu are

  1. Chocolate
  2. Vanilla
  3. Cherry Garcia
  4. Pizza Pancake
  5. None of the above!
Image0001.jpg

Answer:

Question

(Final, 2005, Fall, Marks = , Lesson No. )

Write down the code, to take two input numbers from user (as shown in first two figures), compare them and show results, whether they are same or not (as shown in third figure). View the given below Images very carefully and try to fulfill all requirements given in image.
(Hint: Make web page using JavaScript to Compare two numbers)
Image0002.jpg

Image0003.jpg

Image0004.jpg

Answer:

Question

(Final, 2005, Fall, Marks = , Lesson No. )

Describe the following terms?

  • FTP
  • Telnet Protocol
  • IP Address

Answer:

Question

(Final, 2005, Fall, Marks = , Lesson No. )

What are local variables? Compare them with global variables?

Answer:

Question

(Final, 2005, Fall, Marks = , Lesson No. )

Examine the logic of following pseudo code:
initialize x to 10
initialize y to 0
initialize sum to 0
Repeat while (y <= 6)
{
Add x and y and put results into sum
decrement x by 2
increment y by 3
}
print sum
Stop

What will be the value of the variables "sum, x and y", each time after the loop is executed?

Answer:

Question

(Final, 2005, Fall, Marks = , Lesson No. )

Write down a JavaScript function with the name "BinConvert( )" that takes a decimal number and converts it into its equivalent binary number and displays the result in browser. Call that function in the body of the web page.

Answer:

Question

(Final, 2005, Fall, Marks = , Lesson No. )

What is database? Describe Data Integrity?

Answer:

Question

(Mid, 2004, Fall, Marks = 3, Lesson No. 19)

What do you know about structured design methodology?

Answer:

Question

(Mid, 2004, Fall, Marks = 3, Lesson No. 12)

Write down code for drop down list having options Cricket, Hockey and Soccer.

Answer:

Question

(Mid, 2004, Fall, Marks = 3, Lesson No. 17)

What are the basic steps to write pseudo code? Write any four.

Answer:

Question

(Mid, 2004, Fall, Marks = 10, Lesson No. 8)

a) Make truth table for the following Boolean expression z=(x XOR y).y'
b) Convert 1011 binary number to equivalent decimal number. Show each step of Conversion.

Answer:

Question

(Mid, 2004, Fall, Marks = 3, Lesson No. )

What do you know about Mobile Computers? Explain Briefly.

Answer:

Question

(Mid, 2004, Fall, Marks = 10, Lesson No. )

a) Take a look at the image of the browser screen shown below. Write down the HTML code that will produce this screen. View the given below Image very carefully and try to fulfill all requirements given in image.

Image0005.jpg

b) Write down a function in JavaScript that compares two inputs taken from HTML Form shown above and as a result display any one of the following message:

"First number is greater than the second" OR "Second number is greater than the first"

Image0006.jpgImage0007.jpg

Answer:

Question

(Mid, 2004, Fall, Marks = 5, Lesson No. 21)

What is difference between Literals, Identifiers and Variables in JavaScript? Give at least one example of each.

Answer: