Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
Rules for Marking
1. You have to develop the assignment in Notepad. If you use any tool other than Notepad. Your marks will be deducted.
2. You have to submit the .html or .htm file. None of the other files will be acceptable.
3. The assignments will not be graded if it will be submitted after the due date mentioned above.
4. The assignment will not be graded if the solution file will not be opened.
Objective
This assignment has been designed to provide you some hands-on experience on Java script and HTML.
Question
1. You have to develop a web page visible in the snap shot using notepad, HTML and JAVA SCRIPT.
2. On page load a message should display “Welcome from roll no” : Please specify your roll number here, for example, if your roll no is mc040700xxx, it should display a message “Welcome from mc040700xxx”. Put your own ID instead of mc040700xxx.
3. At the top centre of the page, time should be displayed with postfix AM or PM. Please refer to the snap shot for correct format.
Hint: var date=new Date();
4. Display the centre aligned text “Please, Click on your favourite colour”.
5. Choose any five colours of your choice, and develop one button for each colour.
6. When someone clicks on the button, background colour of the webpage should change accordingly. For example, if you click on button “red”, colour of the background should change to red. Use only on click event. On mouse over is not acceptable.
7. On page unload display “Thanks for visiting”.
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
Rules for Marking
Please note that your assignment will not be graded if:
• It is submitted after due date
• The file you upload does not open
• The file you uploaded is copied from some one else
• Submit only Excel file with extension .xls , no other file like Notepad or word file should be submitted.
Objective
This assignment has been designed to enable you to draw graphs and use functions in MS Excel.
Assignment
You have to make an Excel sheet, similar to the one provided in the snapshot at the end of the document. Following things ought to be part of your solution:
• Enter the provided marks in the sheet, and then calculate the Total marks using Sum function provided in Excel or use a formula to calculate the Total marks. You will not get any marks if you entered these two values manually. Also draw borders around the values entered in the sheet. (Marks 7)
• Make a graph of these marks using Column Chart, as shown in the snapshot. The graph should have a title named Assignments’ Marks and the x-axis and y-axis should be labeled Assignments and Marks respectively. (Marks 8)
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
Rules for Marking
Please note that your assignment will not be graded if:
• It is submitted after due date
• The file you upload does not open
• The file you uploaded is copied from some one else
• It is developed using any tool / software like MS Front Page, Dreamweaver etc. (Only Use HTML Tags in Notepad).
• Submit only html file with extension .html / .htm . No other file like Notepad or word file should be submitted.
Objective
This assignment has been designed to enable you to draw a table in a webpage and use mouse event-handler in JavaScript.
Assignment
You have to develop a web page similar to the one given below. (Find the Screen Capture attached below) This page must have the following properties:
• Use HTML tags that you studied in Web Development lectures of CS101.
• The title of the page should be “My student ID is xxxxxxxxxxx”. Instead of writing x’s you should display your own ID, not of someone else or not the one shown in the screenshot.
• Use H1 tag for the heading “Fall-2007 CS101 Assignment # 4”.
• Draw a table with the given columns and rows. The size of table border should be “1”, the background color should be “SkyBlue”, and it should be aligned in the center. The following text must be written in the caption of the table “Wheat and Rice Production in South Asia”. The table should be exactly like the one shown in the screen capture.
• Use H4 tag for the heading “Displaying the title of the webpage on the Status bar”.
• Draw a button “Display Status”. When this button is clicked, the status bar should display the text written in title of the webpage. The title of the page can be read using the “title” property of the “document”. For this assignment use “onClick” event-handler. If you use “onMouseOver” event-handler, marks will be deducted for that.
Your assignment must be uploaded before or on 5th of November 2007
Upload Instructions
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
Rules for Marking
Please note that your assignment will not be graded if:
• It is submitted after due date
• The file you upload does not open
• The file you uploaded is copied from some one else
• It is in some format other than .doc
Objective
The objective of this assignment is to give the students some hands-on experience to develop a word document.
Assignment
You have been given the screen shot of VU Book Invoice. Make the invoice similar to the following one by using Microsoft Word features. Following points should be kept in mind while developing this assignment.
Use Header for writing VU BOOK INVOICE
Use clip arts to add three Bullets (circles visible at top)
Use Text Box to write the name Virtual University with Size 28 and Font Style Arial. Text should be center aligned in the text box.
Size of Book Invoice Text should be 14 (text under text box)
Draw a table with given fields. The colors should be according to the screen shot.
Draw another table giving details of invoice with fields in screen shot. First Row of the table should be aligned centered with given background color Green and font color White. The text in the lower rows should also be center aligned with Font 12.
Write Remittance Bolded and Underlined.
Use Bullets with details as given in screen shot
At the end of the page give Complete Address along with web and email Addresses as given in the screen shot.
Do follow the given below sample in screen shot.
a. 1100100
Solution:
1100100
= 0*20 + 0*21 + 1*22 + 0*23 + 0*24 + 1*25 +1*26
= 0 + 0 + 4 + 0 + 0 + 32 + 64
= 100 Ans
b. 110001
Solution:
110001
= 1*20 + 0*21 +0*22 + 0* 23 + 1*24 + 1*25
= 1 + 0 + 0+ 0 + 16 + 32
= 49 Ans
Question No. 2: Convert the following Decimal Numbers into Binary Numbers. Show complete procedure.
a. 459
2 459 Remainder
2 229 1
2 114 1
2 57 0
2 28 1
2
14 0
2 7 0
2 3 1
1 1
Ans: 111001011
b. 19
2 19 Remainder
2 9 1
2 4 1
2 2 0
1 0
Ans: 10011
Question No. 3: x, y, w and z are Boolean variables. Make the truth table for the expression given below.
z = NOT( x XOR y ) AND w
Solution:
The symbol of XOR is
x y w x XOR y NOT( x XOR y ) z = NOT( x XOR y ) AND w
0 0 0 0 1 0
0 0 1 0 1 1
0 1 0 1 0 0
0 1 1 1 0 0
1 0 0 1 0 0
1 0 1 1 0 0
1 1 0 0 1 0
1 1 1 0 1 1
Question No. 4: Why cache memory is faster than main memory. Explain it briefly.
CPU spends huge time on accessing data from Main Memory to reduce this time wastage Architect designers introduce cache concepts.
Cache is a temporary storage area where frequently accessed data can be stored for rapid access. Once the data is stored in the cache, future use can be made by accessing the cached copy rather than re-fetching original data, so that the average access time is shorter. Cache is small memories close to the CPU chip can be made faster than the much larger main memory. Cache, therefore, helps accelerate data access that the CPU would otherwise need to fetch from main memory.
Your assignment must be uploaded before or on 26th October 2007.
Upload Instructions
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
Rules for Marking
Please note that your assignment will not be graded if:
• It is submitted after due date
• The file you upload does not open
• The file you uploaded is copied from some one else
• It is in some format other than .doc (Word Document).
Objective
This assignment is designed to help you enable understand the conversion between different number systems; how truth tables are constructed for logical operations and hardware details.
Assignment
Question No. 1: Convert the following Binary Number into Decimal Numbers. Show full procedure (Marks 3 + 3 = 6)
a. 1100100
b. 110001
Question No. 2: Convert the following Decimal Numbers into Binary Numbers. Show complete procedure.
(Marks 3 + 3 = 6)
a. 459
b. 19
Question No. 3: x, y, w and z are Boolean variables. Make the truth table for the expression given below. (Marks 8)
z = NOT( x XOR y ) AND w
Question No. 4: Why cache memory is faster than main memory. Explain it briefly.
(Marks 5)
Upload Instructions
Please view the assignment submission process document provided to you by the
Rules for Marking
Please note that your assignment will not be graded if:
· It is submitted after due date
· The file you upload does not open
· The file you uploaded is copied from some one else
· It is developed using any tool / software like MS Front Page, Dreamweaver etc. (Only Use HTML Tags in Notepad).
· Submit only html file with extension .html / .htm . No other file like Notepad or word file should be submitted.
Objective
This assignment has been designed to enable you in developing a simple web page.
Assignment
You have to develop a web page similar to the one given below.( find the Screen Capture attached below) This page must have following properties:
· Use HTML tags that you studied in lecture 6.
· Use font tag to give the heading “Computer Systems”. Use font “Verdana”, size is ‘8’ and colors the text “Brown”. The word “Computer Systems” should be aligned in center.
· Use H1 tag for the heading “Computer Types According to Capability”. Use H2 tag for writing the names of different types of computer (Super Computers, Mainframes etc.)
· Instead of such lines
----Write at least 2-3 lines about supercomputers here----
You have to write brief introduction of each type of computer. You can take this text from your handouts or from the internet.
· When you click to hyperlinked words “Click here” in the second last line of the page, then the website vulms.vu.edu.pk must be opened.
· When you click xxxxxxxxxx@vu.edu.pk in the last line, the outlook express should open in result to send a mail to your VU ID.
· You must use all the essential tags like ,
,