Nepal Standard Time --:-- NST
लोक सेवा आयोग (Loksewa PSC) #Computer Architecture #Loksewa PSC #AUTOEXEC.BAT #CONFIG.SYS #Internet vs Extranet

Computer Architecture, AUTOEXEC.BAT & CONFIG.SYS, and Internet vs Extranet – Study Note

Tulasi Nepali
Tulasi Nepali Developer & Educator
Nov 22, 2026 Updated Nov 22, 2026 4 min read
Computer Architecture, AUTOEXEC.BAT & CONFIG.SYS, and Internet vs Extranet – Study Note
Font:

Tulasi Nepali Learning Platform

tulasinepali.com.np • Official Educational & Exam Preparation Notes

Date: 2026-11-22
Subject: लोक सेवा आयोग (Loksewa PSC)

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 after CONFIG.SYS finishes, 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:

  • DEVICE loads driver files.
  • FILES and BUFFERS adjust 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 OFF hides command echoing for a cleaner screen.
  • SET defines environment variables.
  • LH loads 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.

AspectInternetExtranet
DefinitionGlobal public network accessible to anyone with an Internet connection.Private extension of an organization’s intranet, accessible to selected external partners.
Access ControlOpen; authentication optional (e.g., public websites).Restricted; requires VPN, firewalls, or secure credentials.
Security LevelRelies on encryption (HTTPS, SSL) and public‑key infrastructure.Higher security – often uses IP filtering, IDS/IPS, and dedicated tunnels.
Typical UsersGeneral public, businesses, governments worldwide.Suppliers, distributors, customers, or remote offices with a business relationship.
PurposeInformation 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.SYS must be processed before AUTOEXEC.BAT during boot.
  • Use DEVICEHIGH or LH to 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 (अभ्यासका लागि प्रश्नोत्तर)

  1. Q: Name the three main components shown in a computer block diagram.
    A: CPU, Memory Unit, and I/O System (including input & output devices).
  2. Q: Which file is processed first during DOS boot – CONFIG.SYS or AUTOEXEC.BAT?
    A: CONFIG.SYS.
  3. Q: Give one example of a command that can be placed in AUTOEXEC.BAT to set the command prompt.
    A: SET PROMPT=$P$G.
  4. Q: What security mechanism is commonly used to protect an Extranet?
    A: VPN (Virtual Private Network) with strong authentication.
  5. 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

  1. Which of the following statements is true?
    • A) AUTOEXEC.BAT loads device drivers.
    • B) The CPU is part of the I/O subsystem.
    • C) An Extranet is a public network.
    • D) CONFIG.SYS is read after AUTOEXEC.BAT.
    Answer: None of the above; correct statements are: AUTOEXEC.BAT runs commands, not drivers; CPU belongs to the processing unit; Extranet is private; CONFIG.SYS is read first.
  2. 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
    Answer: B) LH
  3. 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
    Answer: D) All of the above – both use the same protocol stack.

What do you feel about this note?

0%
Love
0%
Happy
0%
Haha
0%
Sad
0%
Angry
Be the first to react!

Related Study Notes

TN
Tulasi Nepali Desk
WhatsApp Study Help

Have questions about Loksewa, notes, MCQs, or tools? Message directly on WhatsApp.

Chat on WhatsApp
Direct study help & inquiries