Pages

Monday, 3 October 2011

Introduction to Computing (CS101) Assignment # 6 Fall 2006

Q1: Read all the instructions carefully and create a Power point presentation accordingly. (Marks: 15)

• Insert a New Slide of type “Title Slide” by going to insert menu


• Write the following on the Title of the Title Slide,
“Cities of Pakistan”

• Write your Name and Roll Number on Title Slide
• Apply the following on “Title Slide”
• Slide design – Textured (used by all slides)
• Font Size – 40
• Font – Century
• Font Style – Bold
• Font Color – Blue

• Insert a New Slide of type Title , Text and Content


• Write the following on the Title of the this Slide,
“Islamabad-Capital of Pakistan”

• Apply the following on the Text of this slide and write the following

Islamabad is a relatively young city compared to the other cities. However, the huge marble Shah Faisal Mosque is the major highlight of the modern city.

• Font Size – 30
• Font – Book Antiqua
• Font Color – Blue
• In Content, “Click on the Insert Picture Icon” and Insert a picture of “Shah Faisal Mosque”.



• Insert a New Slide of type Title and Text

• Write the following on the Title of this new slide
“Provincial capitals of Pakistan”

• Font Size – 32
• Font – Book Antiqua
• Font Color – Blue

Write the following lines on Text part of this slide

 Lahore( Punjab)
 Karachi (Sindh)
 Quetta (Balouchistan)
 Peshawar (NWFP)


• Insert a New Slide of type Title Only


• Write the following on the Title of this new slide
“Weather”

• Font Size – 28
• Font – Bell MT
• Font Color – Blue


Now insert a table, Make five columns and two rows, of that table. Write the following values

 Islamabad(17 °C)
 Karachi (25 °C)
 Lahore(20 °C)
 Quetta (7 °C)
 Peshawar (17 °C)


• Insert a New Slide of type Blank


Now insert a “WordArt” and write the text “Thanks”, rotate the text on any direction.


• Font Size – 36
• Font – Arial Black
• Font Color – Blue


Q#2
You have to develop an interactive page using JavaScript that takes 5 Names in an Array .This page should take 5 Names from the user and then display them in a dialog box. Moreover you have to Sort these names in alphabetical order. You can get the idea from the Screen shots below. (Marks: 10)

Your page should have three buttons. The names of buttons and their functionality are described below:


1. Enter Names: On pressing this button the user should be prompted to give 5 Names one by one.
2. Sort: On pressing this button, all the names, which have been entered in the prompt box, should be sorted alphabetically.
3. Show Names: On pressing this button, all the Names that you have entered should be displayed in a dialog box.