Tulasi Nepali Learning Platform
tulasinepali.com.np • Official Educational & Exam Preparation Notes
1. Overview & Definition (परिचय तथा परिभाषा)
Computer architecture describes the logical design and functional organization of a computer system. It shows how hardware components interact to execute programs. In the context of Loksewa PSC and computer operator training, understanding this architecture is essential for troubleshooting, system configuration, and efficient use of legacy DOS utilities such as AUTOEXEC.BAT and CONFIG.SYS.
2. Core Concepts (मुख्य अवधारणाहरू)
2.1 Block Diagram of a Typical Computer
A block diagram simplifies the complex internal structure into major functional units:
- Central Processing Unit (CPU) – Executes instructions; consists of Control Unit (CU) and Arithmetic‑Logic Unit (ALU).
- Memory Unit – Primary storage (RAM, ROM) for data and instructions.
- Input Devices – Keyboard, mouse, scanner, etc.
- Output Devices – Monitor, printer, speaker.
- Secondary Storage – Hard disk, SSD, floppy, optical media.
- System Bus – Data, address, and control lines that interconnect all components.
- I/O Controllers – Manage communication between CPU and peripheral devices.
Below is a textual representation of the block diagram (you may replace with an actual image on the website):
CPU ↔ System Bus ↔ Memory ↔ Secondary Storage
CPU ↔ System Bus ↔ I/O Controllers ↔ Input/Output Devices
2.2 DOS System Files: AUTOEXEC.BAT and CONFIG.SYS
During the boot process of MS‑DOS and early Windows versions, two configuration files are read:
CONFIG.SYS– Loads device drivers and sets system parameters (e.g., memory management).AUTOEXEC.BAT– Executes a series of commands afterCONFIG.SYSfinishes, typically setting environment variables, launching programs, or configuring the command prompt.
Both files reside in the root of the boot drive (usually C:\) and are plain‑text files editable with any editor (e.g., EDIT).
Creating CONFIG.SYS
DEVICE=C:\DOS\HIMEM.SYS ; Enables extended memory
DEVICE=C:\DOS\EMM386.EXE NOEMS ; Memory manager
FILES=30 ; Increases number of open files
BUFFERS=20 ; Disk buffer count
Explanation:
DEVICEloads driver files.FILESandBUFFERSadjust system resources for multitasking.
Creating AUTOEXEC.BAT
@ECHO OFF
SET PATH=C:\DOS;C:\WINDOWS
SET PROMPT=$P$G ; Shows current drive and >
LH C:\DOS\MSCDEX.EXE /D:MSCD001 ; Load CD-ROM driver
C:\DOS\SMARTDRV.EXE ; Install disk cache
Key points:
@ECHO OFFhides command echoing for a cleaner screen.SETdefines environment variables.LHloads a program into upper memory, preserving conventional memory.
2.3 Internet vs Extranet
Both are network models based on TCP/IP, but they serve different audiences and security scopes.
| Aspect | Internet | Extranet |
|---|---|---|
| Definition | Global public network accessible to anyone with an Internet connection. | Private extension of an organization’s intranet, accessible to selected external partners. |
| Access Control | Open; authentication optional (e.g., public websites). | Restricted; requires VPN, firewalls, or secure credentials. |
| Security Level | Relies on encryption (HTTPS, SSL) and public‑key infrastructure. | Higher security – often uses IP filtering, IDS/IPS, and dedicated tunnels. |
| Typical Users | General public, businesses, governments worldwide. | Suppliers, distributors, customers, or remote offices with a business relationship. |
| Purpose | Information sharing, e‑commerce, social media, research. | Collaborative projects, B2B data exchange, secure document sharing. |
3. Key Points / Rules / Functions
- CPU fetches, decodes, and executes instructions stored in memory.
- System bus bandwidth determines overall data transfer speed.
CONFIG.SYSmust be processed beforeAUTOEXEC.BATduring boot.- Use
DEVICEHIGHorLHto load drivers into upper memory, preserving conventional memory for applications. - Internet is a public network; Extranet is a controlled private network extending the intranet.
- Always secure an Extranet with authentication, encryption, and regular audits.
4. Practical Application / Real‑world Relevance
Understanding the block diagram helps operators diagnose hardware failures – e.g., a faulty RAM module will prevent the CPU from accessing data, leading to boot errors. Knowledge of AUTOEXEC.BAT and CONFIG.SYS is still valuable when maintaining legacy point‑of‑sale (POS) systems, industrial controllers, or archival data centers that run DOS‑based software.
Distinguishing Internet from Extranet is crucial for government agencies and NGOs in Nepal that need to share sensitive data with partners without exposing it to the public. Implementing a secure Extranet reduces risk of data leakage while enabling real‑time collaboration.
5. Quick Review Questions & Answers (अभ्यासका लागि प्रश्नोत्तर)
- Q: Name the three main components shown in a computer block diagram.
A: CPU, Memory Unit, and I/O System (including input & output devices). - Q: Which file is processed first during DOS boot –
CONFIG.SYSorAUTOEXEC.BAT?
A:CONFIG.SYS. - Q: Give one example of a command that can be placed in
AUTOEXEC.BATto set the command prompt.
A:SET PROMPT=$P$G. - Q: What security mechanism is commonly used to protect an Extranet?
A: VPN (Virtual Private Network) with strong authentication. - Q: How does the system bus differ from the data bus?
A: The system bus includes address, data, and control lines; the data bus specifically carries the actual data bits.
Practice MCQs
- Which of the following statements is true?
- A)
AUTOEXEC.BATloads device drivers. - B) The CPU is part of the I/O subsystem.
- C) An Extranet is a public network.
- D)
CONFIG.SYSis read afterAUTOEXEC.BAT.
AUTOEXEC.BATruns commands, not drivers; CPU belongs to the processing unit; Extranet is private;CONFIG.SYSis read first. - A)
- In a DOS system, which command would you use to load a CD‑ROM driver into upper memory?
- A) LOADHIGH
- B) LH
- C) MEM
- D) DIR
- Which layer of the TCP/IP model is common to both Internet and Extranet?
- A) Application
- B) Transport
- C) Network
- D) All of the above