23
Lab Manual, Running Computer Center (CS351) 2nd SEM 2016 MR. GULREZ ALAM KHAN LECTURER, COLLEGE OF ART AND SCIENCE, WADI ADDAWASIR, PSAU | January 2016

Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Lab Manual, Running Computer Center (CS351)

2nd SEM 2016

Mr. Gulrez alam KhanLecturer, College of Art and science, wadi addawasir, psau

| January 2016

Page 2: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

INSTRUCTIONS TO STUDENTS1. Students should be regular and come prepared for the lab practice.2. In case a student misses a class, it is his/her responsibility to complete that missed experiment(s).3. Students should bring the observation book, lab journal and lab manual. Prescribed textbook and class notes can be kept ready for reference if required.4.They should implement the given experiment individually.5. While conducting the experiments students should see that their programs would meet the following criteria:•Programs should be interactive with appropriate prompt messages, error messages if any, and descriptive messages for outputs.•Programs should perform input validation (Data type, range error, etc.) and give appropriate error messages and suggest corrective actions.•Comments should be used to give the statement of the problem and every function should indicate the purpose of the function, inputs and outputs•Statements within the program should be properly indented•Use meaningful names for variables and functions.•Make use of Constants and type definitions wherever needed.6. Once the experiment(s) get executed, they should show the program and results to the instructors and copy the same in their observation book.7.Questions for lab tests and exam need not necessarily be limited to the questions in the manual, but could involve some variations and / or combinations of the questions.Guidelines for Instructors:1 . S tuden t s s hou ld be i n fo rmed i n t he beg i nn ing i t s e l f t ha t ques t i ons i n t he practical examination will not necessarily be limited to the questions from the manual, but could involve some variations and/or combinations of the questions mentioned in the manual.2 . A g r o u p o f q u e s t i o n s o f s i m i l a r c o m p l e x i t y a r e g r o u p e d f o r a l a b . T h e instructor can choose any arbitrary set of 3 to 5 questions from the manual for that week so as to avoid students copying from previous batches and also enables the instructor to assess the student.3. The phrase ‘Numbers’ can be assumed to be Bytes or Words suitably.

Page 3: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

LAB-1

Some Basic DOS Commands

Disk drives Default drive

C refers to the hard disk (if one is installed)

Changing the default drive To obtain a listing of the files on the default drive (a directory), give the command: A>dir

To a listing of the files on another drive, type: A>dir a:

Directories

To obtain a listing of the files on the default drive (a directory), give the command: A>dir

To a listing of the files on another drive, type: A>dir a: Specifying a filename Most DOS commands require you to specify one or more filenames. Valid filenames are composed of up

to eight characters and are optionally followed by an extension of up to three characters. The filename and extension are separated by a period. Some examples of DOS filenames are:

sst.exe demo.cmd junk

Extensions can be used to remind you what the file contains. SST uses the extension `.cmd' for files of SST commands and the extension `.sav' for SST system files

LAB-2

Copying files Frequently you will want to make a copy of a file. To copy a file (named oldfile) to a new file named

newfile, enter: A>copy oldfile newfile

Page 4: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

The file newfile will have exactly the same contents as the file oldfile. As always, DOS assumes oldfile is on the default drive and also places newfile on the default drive. The syntax of DOS commands when two filenames are required is usually "from to", i.e. the first filename is the source (or "from") file and the second is the destination (or "to") file.

To copy a file from one disk to another, it is only necessary to precede the filename by a drive designation. If you are copying files between disks, then the copy can have the same filename as the original. In fact, if you do not supply a filename for the destination, DOS assumes that you want to use the same filename as the source. For example, if B is the default drive, the following command makes a copy of the file oldfile from the A disk on the B disk with the same name:

B>copy a:oldfile

On the other hand, if oldfile is on B (the default drive) and you would like a copy on the A disk, type:

A>copy oldfile a:

Abbreviating filenames in DOS DOS allows you to use a simple scheme of wild cards to refer to multiple filenames without having to

type out the entire list of filenames that you want. There are two wild cards, the question mark and the asterisk. A question mark matches any character while an asterisk matches any string of characters. For example, `s?t' matches `sat', `sst', and `st'. Similarly, `s*t' would match each of the previous names as well as `short', `s123.45t'. The abbreviation `*.sav' would match any filename with the extension `.sav' (i.e., any SST system file), while `*' (or, equivalently, `*.*') would match any filename.

To obtain a listing of all the files on the A drive with the extension `.sav', type: B>dir a:*.cmd

To copy all files from A to B, you could use the command: C>copy a:*.* b:

SST uses a similar scheme of wild cards to abbreviate variable names.

Listing the contents of a file on the monitor To display the contents of a text file on the monitor, you can use the DOS type command which has the

following syntax: A>type filename

As always, if the filename is not preceded by a drive specification, DOS assumes the file is on the default drive. To type a file on the A drive, use instead:

B>type a:filename

Not all files in DOS are textfiles. Files with the extension `.exe' or `.com' are executable programs stored in a binary format which cannot be typed.

Page 5: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

To stop scrolling output on the screen

If you attempt to type a large file, it is apt to scroll down the screen faster than you are able to read it. To stop scrolling, press the <Ctrl> and the <Scroll Lock> keys simultaneously. To restart output, press the <Ctrl> and <Scroll Lock> keys again.

To print what is on the screen

If you have a printer connected to your computer and you would like a "hard" copy of what is currently on the screen, depress the <shift arrow> and <PrtSc> keys simultaneously, and DOS will send a copy of what is on the screen to your printer. If you want to obtain a printed copy of the rest of your computer session, depress the <Ctrl> and <PrtSc> keys simultaneously. Further output will be sent to the printer as it appears on the screen. To stop printing depress these keys again.

Subdirectories DOS allows you to organize disks into subdirectories--groupings of files in a tree structure. For most

purposes a subdirectory on a disk is used as if it were a separate disk.

To create a subdirectory named sst, type: C>mkdir sst

The subdirectory sst now exists. There are two ways to access files in the subdirectory. First, you can make the subdirectory the default directory in the same way that you make a disk drive the default drive. This is done by changing directories:

C>cd sst

You are now located within the sst subdirectory. To obtain a listing of files in the sst subdirectory, give the command:

C>dir

Unless you specify otherwise, DOS assumes that you only want a listing of files in the default subdirectory--which is whatever subdirectory you happen to be located in at the time you issue a command. To return to the main (or root) directory, give the command:

C>cd \

The backslash (`\') is DOS's symbol for the top directory. The other way to access files in a subdirectory is to provide DOS with a path telling it how to

find the file you are interested in. If you are in the root directory and you would like to see the contents of a file in the sst subdirectory, try:

C>type sst\filename

Thus, it is not necessary to change directories to access a file in another directory.

Page 6: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

DOS allows you to create subdirectories in subdirectories so directory structures can become rather complicated. We do not recommend this practice if you are a newcomer to DOS. For the purposes of this manual we will assume that you do not have subdirectories to subdirectories.

Specifying pathnames can become rather tedious and DOS provides a facility for specifying which directories are to be searched for programs with the path command. If you type:

C>path \;\sst

DOS will search the root directory (\) and the sst subdirectory (\sst) when it looks for programs to execute. With the above path command, it is possible to execute sst, for example, without being located in the sst subdirectory.

LAB-3General information about the computer Hardware.

1) CD-Rom drive 2) Motherboard introduction3) Hard Drive Introduction4) CPU working processing5) PCI slots (RAM, Graphic Card)6) Connecting the power supply to CPU.7) Connecting the SMPS (switched mode power supply) to the motherboard8) General information to assembly of computer9) Connection of NIC (Network Interface card)

Lab-4

Using the Mail Merge Funtion for sending same document to different persons.

Q1. Write the steps using mail merge functionality of the MS-Office. To send the given document

to four persons as their data is given below using MS Access database.

Office_Address_List

Title First Name Last Name Company Name Address Line 1 Address Line 2 City State ZIP Code

Mr Gulrez Khan123 Abc softech Example address-1

Example address-2

Wadi Riyadh 101001

Mr Ali Mubarak SABIC Sulyl Riyadh Region Sulyl Riyadh 101002

Page 7: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Office_Address_List

Title First Name Last Name Company Name Address Line 1 Address Line 2 City State ZIP Code

Mr Ahmad Abdullah SAU Main Campus SAU main campus

Al-Kharj Riyadh 102940

Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300

Page 8: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Letter:

Dear [Name] [Company Name]

Your counter proposal on the above referenced projecthas been reviewed and is acceptable in its entirety.

We are enclosing an executed copy of the agreement alongwith two copies for your files.

We are enthusiastically looking forward to this projectand are pleased about having the opportunity to worktogether.

[Address Line 1]

[Address Line 2]

Lab-5

Report flying to management: Making the spreadsheet using the MS-Excel, Advance formulas, Making the marksheet of the students of the centers.

Lab exercise (guiding student)

1) MS-Excel exercise on the following table

Calculate the total sale for each month “SUM(b3:e3) Calculate the total for each type of fruit over the year SUM (B3:E3).

Page 9: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Creating a chart Use of “IF” Formula.

Lab practice (assignment for student)

Practice: - Exercise the following on MS-EXCEL

Mrs. Jenkins’s ClassStudent Name Exam #1 Exam #2 Exam #3 AverageTommy 87 93 99Billy 75 0 66Susie 97 84 65Sally 100 100 70

Each student average Test’s, sorting the Result, use of “IF” formula.

1) Creating a student Mark sheet by the help of Excel spreadsheet

Page 10: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Lab-6

Solve the following Tasks:

Continuation of the previous lab

Q1. Use each function in spreadsheet in the given example.

Q2. Make a report in Excel and apply all the report making formulae.

1) Creating a student Mark sheet by the help of Excel spreadsheet

Lab-7

Recruitment in IPC:

Understanding the recruitment process by using the advanced functions of HTML.

1) Practice HTML page with the following HTML tags and make the page like given below.

Page 11: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

LAB Practice:

2) Write HTML document to create a given table structure using all the table related tags to include the

following features:

Different colors and background Images

Spanning of rows and columns

Cell spacing and padding.

1) Write HTML document to create a given table structure using all the table related attributes to

include the following features:

Page 12: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Lab-8

Brifely Explanation of LAB 8-3-2015

Recruitment in IPC:

Understanding the recruitment process by using the advanced functions of HTML.

Experiment (7): Experiment / Task / Quiz / Program … (Performed by student)

Solve the following Tasks:

Lab exercise (guiding student)

1) Practice HTML page with the following HTML tags and make the page like given below.

LAB Practice:

Page 13: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

2) Write HTML document to create a given table structure using all the table related tags to include the

following features:

Different colors and background Images

Spanning of rows and columns

Cell spacing and padding.

Lab practice (assignment for student)

1) Write HTML document to create a given table structure using all the table related attributes to

include the following features:

Lab-9

Reports Flying to management:

Report Making using the html, java script, and cascading style sheet.

___________________________________________________________________________

1) Practice HTML page with the following HTML tags and make the page like given below.

Page 14: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

2) Write HTML document to create a given table structure using all the table related tags to include the

following features:

Different colors and background Images

Spanning of rows and columns

Cell spacing and padding.

3) Design an HTML page including the following options given below.

Practice of HTML Radio button, check boxes.

HTML Font color size.

HTML Submit button.

HTML Frame.

HTML Form, Email Submit Reset button.

Create the following HTML page.

Page 15: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter
Page 16: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Lab-10

Reports Flying to management:

Report Making using the html, java script, and cascading style sheet.

1) Practice HTML page with the following HTML tags and make the page like given below.

2) Write HTML document to create a given table structure using all the table related tags to include the

following features:

Different colors and background Images

Spanning of rows and columns

Cell spacing and padding.

3) Design an HTML page including the following options given below.

Practice of HTML Radio button, check boxes.

HTML Font color size.

HTML Submit button.

HTML Frame.

HTML Form, Email Submit Reset button.

Lab-11

Sample web page with scripting checking the assignment:

Making an introduction of advances funtionality of Macromedia Dreamweaver MX 2004.

Revision of HTML, Java Script, CSS

1) Continuation to html; html tags and text box, button and link creation

Page 17: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

2) HTML tables uses. Use the following table in the web page and design all tags under the given

table.

3) Design an HTML page including the following options given below.

Practice of HTML Radio button, check boxes.

HTML Font color size.

HTML Submit button.

HTML Frame.

HTML Form, Email Submit Reset button.

4) Uses and program of CSS

Page 18: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Lab-12

1) Practice HTML page with the following HTML tags and make the page like given below.

2) Write HTML document to create a given table structure using all the table related tags to include the

following features:

Different colors and background Images

Spanning of rows and columns

Cell spacing and padding.

3) Design an HTML page including the following options given below.

Practice of HTML Radio button, check boxes.

HTML Font color size.

HTML Submit button.

HTML Frame.

HTML Form, Email Submit Reset button.

Lab-13

Changing the Computer, Workgroup or Computer Name, Install the different drivers in windows, System Restore at any point, Sharing Drives or Folders and Files.

Page 19: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Experiment (13): Experiment / Task / Quiz / Program … (Performed by student)

Solve the following Tasks:

Q1. How you will change the name of computer with the same workgroup.

Q2. Install the different drivers through ‘Device manager’?

Q3. How to take System Restore via ‘System Protection Tab’?

Q4. Give the Steps for Sharing Drives or Folders on your Computer in Windows 8.1 or 7?

LAB-14Create a Web Page using HTML, JAVA Script and CSS. That makes the page look and feel like the following. (1 Marks)

Background color green

Font size: 12 point.

Font bold color: Red

Note: When the Button ‘Click for Java Script’ is clicked, an alert window saying “Hello” appears.

Page 20: Lab Manual, Running Computer Center (CS351)€¦ · Web viewRiyadh 102940 Mr Saleh Abdullah ARAMCO Address-1 Address-2 Hyil Dammam 012300 Letter: Dear [Name] [Company Name]Your counter

Faculty

Gulrez Alam Khan

Signature……………………………………………