Docsity

Computer Architecture Practical CMD, Assignments of Computer Architecture and Organization

Partial preview of the text

Download Computer Architecture Practical CMD and more Assignments Computer Architecture and Organization in PDF only on Docsity!

Practical Training 2019

Bsc Computer Science

1911384 Vashist Chumun

1912371 Bhavesh Bhuckory

Table Of Content

Inc:

Inc:

  • Acknowledgement……………………………………………………………………………………………….. List of figures…………………………………………………………………………………………….……… a-d
  • Executive Summary ……………………………………………………………………………………….……..2-
  • Introduction……………………………………………………………………………………………………..
  • Day 1 Objective……………………………………………………………………………………....
  • Introduction Day 1……………………………………………………………………………………………….
  • Overview………………………………………………………………………………………………………..
  • MS-DOS Environment…………………………………………………………………………………..……….
  • Ways opening cmd………………………………………………………………………………………….……
  • Command……………………………………………………………………………………………………… 7 -
  • Creating and Writnig into notepad……………………………………………………………………………..…
  • Directory command…………………………………………………………………………………………….. 10 -
  • Delete a file……………………………………………………………………………………………………..
  • Networking command………………………………………………………………………………………….. 14 -
  • Create batch file……………………………………………………………………………………………..….
  • Challenge 1…………………………………………………………………………………………………….. 18 -
  • Challenge 2………………………………………………………………………………………………..…… 21 -
  • LINUX Architecture………………………………………………………………………………………..……
  • System info and search command…………………………………………………………………………………
  • Basic command…………………………………………………………………………………………………..
  • Network command…………………………………………………………………………………………...… 24 -
  • MS-DOS vs LINUX Environment……………………………………………………………………………..….
  • Day 2 Objective………………………………………………………………………………….…..
  • Model PC unmounting…………………………………………………………………………………….…….
  • Steps……………………………………………………………………………………………………..…….. 30 -
  • Motherboard Identification………………………………………………………………………………...……..
  • Rear Connector…………………………………………………………………………………………………..
  • Reset CMOS…………………………………………………………………………………………………..
  • Specification………………………………………………………………………………………….……….. 41 -
  • Assembling PC…………………………………………………………………………………………………
  • Technical Bid………………………………………………………………………………………..………… 46 -
  • Day 3 Objective………………………………………………………………………………..……
  • Bios Configuration………………………………………………………………………………………………50-
  • Modyfying Boot Device Priority………………………………………………………………………………….
  • OS intallation……………………………………………………………………………………………………51-
  • Windows installation…………………………………………………………………………………………….52-
  • Linux installation………………………………………………………………………………………………...54-
  • Testing Grub…………………………………………………………………………………………………….
  • Internet Configuration……………………………………………………………………………………………
  • File sharing…………………………………………………………………………………………………….... 58 -
  • Day 4 Objective……………………………………………………………………………………….
  • Procedure to make Straight Through Cable…………………………………………………………………………65-
  • Color Order………………………………………………………………………………………………………
  • Crossover cabling………………………………………………………………………………………………….
  • Setting up LAN using 2 switches………………………………………………………………………………… 68 -
  • Video streaming………………………………………………………………………………………………...
  • Technical skills………………………………………………………………………………………………….72-
  • Conclusion………………………………………………………………………………………………………
  • Bibliography……………………………………………………………………………………………………..
  • Fig 1:Opening Cmd………….............................................................................................................. List Of Figures:
  • Fig 2: help command…………............................................................................................................
  • Fig 3: help cd command………….........................................................................................................
  • Fig 4: color /? command…………........................................................................................................
  • Fig 5: Launching systems application from cmd…………............................................................................
  • Fig 6: notepad command………….......................................................................................................
  • Fig 7: cd command…………..............................................................................................................
  • Fig 8: dir command………….............................................................................................................
  • Fig 9: dir command (with files)…………...............................................................................................
  • Fig 10: dir /w command………….......................................................................................................
  • Fig 11: mkdir (Creating new directory)…………....................................................................................
  • Fig 12: Creating directory “User 1”………….........................................................................................
  • Fig 13:Creating directory………….....................................................................................................
  • Fig 14: tree command………….........................................................................................................
  • Fig 15: del command…………..........................................................................................................
  • Fig 16: rmdir command………….......................................................................................................
  • Fig 17: rmdir command with files…………...........................................................................................
  • Fig 18: rmdir /s command …………...................................................................................................
  • Fig 19 : echo command………….........................................................................................................
  • Fig 20: where command…………........................................................................................................
  • Fig 21: where command…………........................................................................................................
  • Fig 22: ping command…………..........................................................................................................
  • Fig 23: driverquery command…………................................................................................................
  • Fig 24: ipconfig command………….....................................................................................................
  • Fig 25: netstat command………….......................................................................................................
  • Fig 26: nslookup command…………....................................................................................................
  • Fig 27: arp – a command…………........................................................................................................
  • Fig 28: echo command………….............................................................................................................. Inc:
  • Fig 29: Advance Batch file creation …………..............................................................................................
  • Fig 30: Accessing services…………..........................................................................................................
  • Fig 31: Accessing service…………...........................................................................................................
  • Fig 32: Accessing Firewall…………..........................................................................................................
  • Fig 33: Changing Firewall Setting ………….................................................................................................
  • Fig 34: Ipv4 Address………….................................................................................................................
  • Fig 35: Shutdown command…………........................................................................................................
  • Fig 36: Shutdown screen………….............................................................................................................
  • Fig 37: PC Remote Beta Server PC…………................................................................................................
  • Fig 38: PC Remote Beta Server on mobile phone…………..............................................................................
  • Fig 39: Enable app in PC…………............................................................................................................
  • Fig 40: Entering Ip address………….........................................................................................................
  • Fig 41: PC Remote…………..................................................................................................................
  • Fig 42: Mouse via Smartphone………….....................................................................................................
  • Fig 43: Entering text via keyboard from Smartphone………….........................................................................
  • Fig 44: App available via Smartphone…………...........................................................................................
  • Fig 45: Power screen display via Smartphone ………….................................................................................
  • Fig 46: Power control via Smartphone………….........................................................................................
  • Fig 47: Search command…………..........................................................................................................
  • Fig 48: Writing into notepad………….....................................................................................................
  • Fig 49: Notepad Display…………...........................................................................................................
  • Fig 50: List of Directory…………..........................................................................................................
  • Fig 51 : Directories command…………....................................................................................................
  • Fig 52: ifconfig command………….........................................................................................................
  • Fig 53: netstat command…………..........................................................................................................
  • Fig 54: host and tracepath command…………............................................................................................
  • Fig 55: route command & scripts…………................................................................................................
  • Fig 56: cowsay command…………..........................................................................................................
  • Fig 57: Table summary………….............................................................................................................. Inc:
  • Fig 58: PC …………...........................................................................................................................
  • Fig 59: Unscrewing process………….......................................................................................................
  • Fig 60: Inside Casing…………...............................................................................................................
  • Fig 61: Power supply…………..............................................................................................................
  • Fig 62: Unscrewing process ………….....................................................................................................
  • Fig 63: Power Supply Rear………….......................................................................................................
  • Fig 64: All screws & Cmos in secure place…………....................................................................................
  • Fig 65: Power Supply Inside………….....................................................................................................
  • Fig 66: ATX…………........................................................................................................................
  • Fig 67: ATX 4-pin………….................................................................................................................
  • Fig 68: SATA………….......................................................................................................................
  • Fig 69: AUX…………......................................................................................................................
  • Fig 70: Berg………….......................................................................................................................
  • Fig 71: Molex…………....................................................................................................................
  • Fig 72: PATA…………....................................................................................................................
  • Fig 73: CD Drive………….................................................................................................................
  • Fig 74: Inside CD Drive …………........................................................................................................
  • Fig 75: Floppy Disk…………..............................................................................................................
  • Fig 76: Hard Drive…………...............................................................................................................
  • Fig 77: System Fan…………...............................................................................................................
  • Fig 78: CPU Fan…………..................................................................................................................
  • Fig 79: Power Switch Button…………...................................................................................................
  • Fig 80: Motherboard…………..............................................................................................................
  • Fig 81: Motherboard Unit Spec …………................................................................................................
  • Fig 82: RAM & PCI…………...............................................................................................................
  • Fig 83: CPU …………........................................................................................................................
  • Fig 84: CPU socket …………................................................................................................................
  • Fig 85: Heat sink …………...................................................................................................................
  • Fig 86: Heat sink Removed…………........................................................................................................
  • Fig 87: CMOS ………….......................................................................................................................
  • Fig 8 8 : CMOS & CMOS Jumper…………..................................................................................................
  • Fig 89: Motherboard Spec…………..........................................................................................................
  • Fig 90: CPU Socket Spec…………............................................................................................................
  • Fig 91: Hard Disk Drive Spec………….......................................................................................................
  • Fig 92 : CD ROM Spec…………...............................................................................................................
  • Fig 93: Floppy Disk Spec………….............................................................................................................
  • Fig 94: RAM Spec………….....................................................................................................................
  • Fig 95: Power Supply Spec…………...........................................................................................................

Page Number:

Acknowledgement

The 4 days of the practical training was indeed a very fruitful and enriching experience. For its

successful completion we had to take the help of our classmates and we were assisted by Mr. Razvi

Doomun who deserve our deepest gratitude and sincere appreciation.

Through the guidance of Mr. Razvi, we were able to attain the skillset we were expected to achieve

at the end of the module. Thanks to him, the daily activities were of great amusement and we never

felt the tiredness of the execution of the tasks even though they required lot of patience and

understanding and were quite demanding and lengthy in process.

All students present came to the aid of each other, hence we collaborated and made a solid

teamwork. We managed to produce high quality outputs with the reviews and advice we got.

Additionally, we want to extend our thanks to the lab attendants who provided us with the

necessary tools and equipment.

We are really grateful to have had the opportunity to be part of such an incredible set up and hence

we were able to gain beneficial skills.

Page Number: Day2: We had the chance to unmount a CPU and got to know about the numerous components of it. As per the requirement of the day, we had to write the specifications using the model number and manufacturer or supplier. We had to be meticulous here and be attentive with the screws since there was a lot and also were of different kind. Just to make sure not to lose any screw, we wrote down to which component it belongs on a paper and placed it there. We kept the unmounted floppy disk drive, hard disk drive, CD drive and power supply well. We had to pay great attention which cables belonged to which component. Interestingly, we had the pleasure to further disassemble the floppy disk drive, hard disk drive, CD drive and power supply. For day 2 we dealt more with the hardware part. It was a very enthusiastic day because it was the first time that we could see the internal part. Day3: The task was to set up windows and Linux on a given CPU. We struggled a bit with the windows installation at first but we troubleshooted the issue and were able to install both windows and Ubuntu respectively. We first had to modify BIOS setting so that the OS can be booted from a DVD. We created partitions that is providing the appropriate space needed for each operating systems. When all was set up we set the internet connection and hence we did windows to windows, windows to Linux, Linux to windows and Linux to Linux file sharing. Additionally we did video streaming through network. Day 3 required patience and endurance to be able to do the tasks as expected since the process was quite demanding but we obtained precious skills. Day4: We needed RJ-45 ports to make straight through and crossover cables. We were given a clipper and a grey cable with twisted tiny colored wires inside. We had to follow a certain order of color code to make each cable. We used two straight through cables to connect two PCs and a switch and be able to set communication. We also set up peer to peer connection by connecting two PCs with a crossover cable. We also learnt how to set up LAN by making use of 2 switches. Lastly, we did video file sharing on LAN and peer to peer connection.As the previous days of the course, on day 4 also we learnt valuable materials and had a amazing experience.

Page Number: Introduction

Through this practical training module, we gained skill involving software, hardware and to troubleshoot

various kind of issues of a computer. We were able to work in a technical based environment and put into

practice several activities like the disassembly and analysis of the internal components of a computer, using

command prompt to set communication between two computers, set up LAN on computers, among others.

Each day had different level of challenges and had tasks to complete both individually and as a team of two.

Hence, we worked cooperatively to make each day accomplished and rewarding. Individually, we were able

to strengthen certain virtues of ours like patience, problem-solving skills, endurance and the will to

complete the task effectively and also in certain time constraint.

This portfolio is a clear summary of what we learnt and did throughout the 4-day course which started from

10 th^ December 2019 to 13th^ December 2019.

Page Number:

  • Tim Paterson invented MS-DOS.
  • First GUI was demonstrated in Alto personal computer in 1973 by Xerox PARC. Introduction

Purpose of this activity:

  • Explore MS-DOS and Linux environment.
  • Help us familiarize with command line interfaces such as command prompt.
  • More acquainted working with command line. Overview:

Many computer operating systems such as Windows and OS X provide a GUI (Graphical User Interface)

that enables us to navigate, manipulate and command our computer, through simple gestures. Another way

of commanding our computer is called the Command Line Interface also known as Command

prompt.

Like a GUI, the command line is a way that the

operating system represents the computer's files

and directories to the user. In fact, the command line is a text-based interface through which one can

navigate, create, execute, and act on a computer's files with precision .( Keyboard only can make the

software fully operable, hence purely textual.)

Mr. Razvi made us familiar with Day 1 objectives and asked us to work individually on one PC, still working as a team and to operate accordingly with the portfolio.

Page Number:

  1. Go to Start menu → All Programs → Accessories → Command Prompt.
  2. Hold the special Windows key on keyboard. Then press the "R" key to get a “Run” window. Type “cmd” in the box and click on OK key.
  3. Click on windows button then search for “cmd”. And select command prompt. Technical Content:

Ways of opening cmd:

MS-DOS Environment Fig 1: Opening CMD Fig 2: Help command Fig 3: Help cd command

Page Number: Step:

  • Choose the desktop directory where the file will be saved.
  • Then write echo so that it displays the message( “message”) into the notepad.
  • Save the filename as Hello.txt.
  • Open the file from the desktop.
  • To go back to the previous directory, “cd ..” is used.
  • The “\” used between directories to form a path. Fig 6: notepad command Fig 7: cd command

Page Number: Directory Command :

  • dir – Directory list.
  • chdir / cd – To change directory.
  • mkdir / md – To create directory
  • rmdir / rd – To delete directory.
  • ren – To rename file. Fig 8: dir command Fig 9: dir command

Page Number:

Create Directory:

Steps:

  • Use “cd” command to go to the desired directory.
  • Enter mkdir/md [ directory name]
  • Multiple directories can be created at once by separating the command with spaces between the directory names.
  • Single directory can be created with a space in its name, enclosed by the directory name in quotes. Fig 13: Creating a directory “User1” and it’s directory Fig 14: tree command
  • For a better visual understanding and representation of directories and all other sub-directories in a drive,“tree” command is used to print a map of the drive on the screen
  • Usually the tree command will print out a very long map but if you want to stop this activity, press “CTRL+C”
  • After the creation of the directory, to view it,either type in “ dir ” while in the parent directory.
  • Or you can also type in “ tree ” in the current directory to see graphically the directory and sub- directory created. Fig 12: Creating a directory “User1” and it’s directory

Page Number:

Delete a file:

Steps:

  • Open cmd.
  • Go to the folder containing the file you want to delete
  • Press dir and it will list all the current files.
  • Select the file you want to delete.
  • del – This command will delete the file in a directory. ( del filename )

Delete directory:

Steps:

  • Use cd command to go to the desired directory.
  • rmdir or rd- This command will delete directory or mulltiple directories just lij mkdir can create multiple folders.
  • For the deletion confirmation, press “Y” for yes if not then press “N” for no. Deleting a non empty folder
  • Simple rmdir does not work for folders that have content.
  • rmdir /s – to delete folder content along with the folder Fig 17: rmdir command Fig 16: rmdir command Fig 15: del command Fig 18: rmdir /s command