lab manual, computer skills (tqn-1400) · web viewlab manual, computer skills (tqn-1400) | january...

22
Lab Manual, Computer Skills (TQN-1400) 2nd SEM 2019 MR. LUAI FUAD LECTURER, COLLEGE OF ART AND SCIENCE, WADI ADDAWASIR, PSAU | January 2019, 2 nd SEM

Upload: others

Post on 25-Feb-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

Lab Manual, Computer Skills (TQN-1400)

2nd SEM 2019

Mr. Luai fuadLecturer, College of Art and science, wadi addawasir, psau

| January 2019, 2nd SEM

Page 2: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

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, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-1Lab exercise (guiding student)

1) Create a folder with you university number in drive D:\

2) Create a file in Notepad and save it by your name in your own folder

3) Open an existing file of Notepad and add some more text to it, and save it

4) Copy any text from your notepad file and paste it at different location in same file

5) Cut any text from your notepad file and paste it at different location in same file

Lab practice (assignment for student)

Q1. Create a folder of name “whether” on the desktop and create a new notepad file of the name

“rainy” inside it.

Q2. Also write the following text inside the notepad file.

The rainy season, monsoon season or is the time of year when most of a region's average annual rainfall

occurs. It usually lasts one or more months. The term "green season" is also sometimes used as a

euphemism by tourist authorities. Areas with wet seasons are dispersed across portions of the tropics

and subtropics. Under the Koppen climate classification, for tropical climates, a wet season month is

defined as a month where average precipitation is 60 millimetres (2.4 in) or more.

Page 4: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-2Lab exercise (guiding student)

1) Create a folder with you university number in drive D:\

2) Create a file in Notepad and save it by your name in your own folder

3) Open an existing file of Notepad and add some more text to it, and save it

4) Copy any text from your notepad file and paste it at different location in same file

5) Cut any text from your notepad file and paste it at different location in same file

Q1. Create a folder of name “whether” on the desktop and create a new notepad file of the name

“rainy” inside it.

Q2. Also write the following text inside the notepad file.

The rainy season, monsoon season or is the time of year when most of a region's average annual rainfall

occurs. It usually lasts one or more months. The term "green season" is also sometimes used as a

euphemism by tourist authorities. Areas with wet seasons are dispersed across portions of the tropics

and subtropics. Under the Koppen climate classification, for tropical climates, a wet season month is

defined as a month where average precipitation is 60 millimetres (2.4 in) or more.

Page 5: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-3Lab exercise (guiding student)

Introduction to the commands

1. DIR, DIR/W, MKDIR

2. MKDIR, CHDIR

3. CHKDSK

4. COPYCON

5. CLS, DEL, REN

6. RMDIR

7. CD, CD., CD.., DATE

8. EDIT

9. MOVE

Lab practice (assignment for student)

Q1. Create a file of name “test1” on the c drive and give the operation inside it.

Q2. Also write the following text inside the notepad file.

Saudi Arabia has a dry climate with very high temperatures in most of the country. Temperatures in

Saudi Arabia however are different in each part of the country. The south has moderate temperatures,

which can go as low as 10 degrees Celsius (50° Fahrenheit) during the summer

Page 6: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-4Lab exercise (guiding student)

1) Create a folder by name info in d drive

2) Create a file in MS Word by name "soft" with the following information

“Microsoft Windows is the name of several families of software operating system by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphics user interface (GUI). Microsoft Windows came to dominate the world's personal computer market, overtaking Mac OS, which had been introduced previously. The most recent client version of Windows is Windows Vista. The current server version of Windows is Windows Server 2008”.

3) Insert a picture in the Word file

4) Insert a Table in the word file

NameTable of the student’s marks

Test-1 Test-2 Total

Abdullah 5 3 8

Mubarak 7 9 16

Lab practice (assignment for student)

1) Practice the lab exercise for today

2) Open the file soft and type the following matter and save the file with new name unix.

“Unix operating systems are widely used in both servers and workstations. The Unix environment

and the client server program model were essential elements in the development of the internet and

Page 7: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

the reshaping of computing as centered in networks rather than in individual computers.”

3) Insert a Chard According to the above table

Page 8: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-5Lab exercise (guiding student)

1) Create a MS-Word file “lab-5.doc” and save it into your folder.

2) Create the following payment voucher and save it to your folder.

TO: ____________________ PAYMENT VOUCHER

____________________

____________________ NO._________________

____________________ DATE_______________

____________________ BACH NO____________

We enclose the cheque in settlement of

TRANS. NO C. CODE PARTICULLAR AMOUNT

Cash / Cheque No. Total

…………………………… …………………………… ………………………

PREPARED BY AUTHORISED BY RECEIVED BY

3) Insert the Header and Footer of the document.

4) Insert Word Art, Background Arrangement.

5) Insert the Page Number of the Page.

6) Practice the last lab Session about Table, page Setup alignment.

Page 9: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-6Lab exercise (guiding student)

1) Understanding worksheet

Cell, cell address, entering data, copy, cut, paste, delete, hide and unhide cells

2) Make the following table, and format the text and cells, make the text in center align

SALMAN BIN ABDULAZIZ UNIVERSITY

COLLEGE OF ARTS AND SCIENCE

WADI AL DAWASIR

SL.NOUNIVERSITY NUMBER

STUDENT NAME PHONE

Total Marks/100

Pass/Fail

1 483930223 ABDULLAH 53493333 85

2 438292942 MOHAMMAD 59834974 44

3 431989458 RASHID 59873842 76

4 432039483 ALI 58736423 48

5 432894585 MUBARAK 56343734 78

6 431937459 HUSSAIN 59362345 90

7 433484449 AMER 53268509 97

3) Copy the complete data in another sheet, and rename the sheet4) show how to generate numbers

Lab practice (assignment for student)

1) Make the following table and format the text and cells, make the text in center align

KINGDOM OF SAUDI ARABIA

KING SAUD UNIVERSITY

RIYADH

Page 10: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

SL.NO

EMPLOYEE NUMBER

EMPLOYEE NAME

PHONE

SALARY PLACE

1483930223

ABDULLAH

53493333 5000

RIYADH

2438292942

MOHAMMAD

59834974 6000 WADI

3431989458 RASHID

59873842 8000

JEDDAH

4432039483 ALI

58736423 10000

DAMMAM

5432894585

MUBARAK

56343734 12000

BURADAH

6431937459 HUSSAIN

59362345 4000 MECCA

7433484449 AMER

53268509 7000

MEDINA

2) Copy the complete data in another sheet and rename the sheet3) Show how to hide, unhide cells

Page 11: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-7Lab exercise (guiding student)

1) Enter numbers in two different cells and add them

2) Enter numbers in adjacent cells and add them

3) Use of Graphs in for the data.

4) Use of ‘IF’ condition and its practices.

Lab practice (assignment for student)

Repeat last lab exercise and today's lab exercise

Page 12: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

LAB-8Lab exercise (guiding student)

Topic Covered: Using Functions in MS-Excel, Charts in MS-Excel

1) Write the following data into excel sheet and create the chart of that data.

The product chart (number 0) is for understanding the topic

0. 1.

Page 13: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

. 3.

LAB-9Lab exercise (guiding student)

Topic Covered: Using Functions in MS-Excel, Charts in MS-Excel

1) Write the following data into excel sheet and calculate the following.

1. Total number of each student2. Each student Pass or Fail due to his total marks.3. Graphs for student marks in each subject4. Graphs for each students total.

S. No. Name Ac no. English Computer Math Physics Chemistry TOTAL P/F

1 ali 423446373 54 87 65 46 98

2 mubarak 423446374 54 87 53 77 65

Page 14: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

3 fahad 423446375 24 78 76 34 55

4 Faris 423446376 36 56 76 44 65

5 mohammad 423446377 54 76 45 89 87

6 ahmad 423446378 45 87 89 89 67

7 faiz 423446379 67 89 67 56 79

8 saied 423446380 69 80 90 79 69

Total

LAB-10Lab exercise (guiding student)

Giving the knowledge about MS-Power Point and explaining the following functions.

1. Home Tab functions: Cut, copy, paste, layout, find, replace, drawing etc.2. Insert Tab functions: Table, Picture, Clip art, screen shot, photo album, Text Box, Word art etc.3. Design Tab functions: Page Setup, Slide orientation.4. Transition Tab functions: Cut, paste, push wipe etc.5. Animation Tab functions: Add animation, Animation pane.6. Slide Show Tab functions: From beginning, from current slide show, broadcast slideshow etc.7. Review Tab functions: Spelling Research, thesaurus.8. View Tab functions: Normal, Slide sorter, Notes page, reading view.9. Format Tab function: Edit shape; Shape fill, outline, effects.

Page 15: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

Practice for the Students

Practice with the given above tabs. Revise the earlier lab sessions.

LAB-11

1) Simple 'Hello World' C++ Program

#include<iostream>

#include<conio.h>

using namespace std;

int main()

{

cout<<"Hello World";

getch();

return 0;

}

Page 16: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

2) Simple Program for read user Input (Integer) Using cin

#include<iostream>

#in

clude<conio.h>

using namespace std;

int main() {

int a;

cout << "Simple Program for Read user Input (Integer) Using cin \n";

cout << "Enter Number : ";

cin >> a;

cout << "Entered Input Is = " << a;

getch();

return 0;

}

LAB-12

3) Simple Addition Add Two Integers Example Program

#include<iostream>

#include<conio.h>

using namespace std;

int main() {

int a, b, result;

cout << "Simple Addition : Add Two Integers Example Program\n";

cout << "Enter two Integers : ";

cin >> a >> b;

result = a + b;

cout << "Result :" << a << " + " << b << " = " << result;

getch();

return 0;

Page 17: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

}

4) Program for If Statement (Greater than or less)

#include<iostream>

#include<conio.h>

using namespace std;

int main()

{ int a;

cout<<"Enter the Number :";

cin>>a;

if(a > 10)

{

cout<<a<<" Is Greater than 10";

}

getch();

return 0;

}

LAB-13

5) Program Check Whether Number is Even or Odd#include <iostream>using namespace std;

int main()

{ int n;

cout << "Enter an integer: ";

cin >> n;

if ( n % 2 == 0)

cout << n << " is even.";

else

cout << n << " is odd.";

return 0;

}

Page 18: Lab Manual, Computer Skills (TQN-1400) · Web viewLab Manual, Computer Skills (TQN-1400) | January 2019, 2nd SEM Mr. Luai fuad Lecturer, College of Art and science, wadi addawasir,

6) Program to Find Largest Number out of 2 numbers

#include <iostream>using namespace std;int main(){ int n1, n2;

cout << "Enter two numbers: "; cin >> n1 >> n2; if(n1 >= n2) { cout << "Largest number: " << n1; } Else { cout << "Largest number: " << n2; }

return 0;}