KILL "student.dat"int — declares an integer variableif — conditional statement keyword| Guided Media | Unguided Media |
|---|---|
| Uses physical medium (cables) | Uses wireless signals (air) |
| E.g., Twisted pair, coaxial, optical fiber | E.g., Radio waves, microwaves, infrared |
Cyber Law: A set of legal rules and regulations governing the use of the internet, computers, and digital information to prevent cybercrimes and protect users' rights. In Nepal, the Electronic Transaction Act 2063 is the main cyber law.
Antivirus Software: A program designed to detect, prevent, and remove malicious software (viruses, trojans, spyware, ransomware) from a computer system. It regularly scans files, monitors running processes, and updates its virus database.
E-Governance: The use of ICT (Information and Communication Technology) by the government to deliver public services, share information, and communicate with citizens efficiently.
Database: An organized collection of structured data stored electronically in a computer system so that it can be easily accessed, managed, and updated.
| Field | Record |
|---|---|
| A single column of a table | A single row of a table |
| Represents a category of data (e.g., Name) | Represents one complete data entry |
Report: A formatted, printable document in DBMS that presents summarized data from tables/queries in a structured layout for analysis or presentation.
Why necessary: Reports help in making decisions by presenting data in a readable, organized format that can be printed and distributed to stakeholders.
Query: A request to retrieve, manipulate or display specific data from a database based on set criteria.
T$ = "COMPUTER", LEN = 8, loop C goes 1, 3, 5, 7 (STEP 2)
| C | C ≤ LEN(T$)? | D$ = MID$(T$,C,1) | PRINT D$; |
|---|---|---|---|
| 1 | 1 ≤ 8 ✓ | MID$("COMPUTER",1,1) = "C" | C |
| 3 | 3 ≤ 8 ✓ | MID$("COMPUTER",3,1) = "M" | M |
| 5 | 5 ≤ 8 ✓ | MID$("COMPUTER",5,1) = "U" | U |
| 7 | 7 ≤ 8 ✓ | MID$("COMPUTER",7,1) = "E" | E |
| 9 | 9 ≤ 8 ✗ | Loop ends | |
Buggy program:
FOR OUT → should be FOR APPEND to add to existing file; (2) TOP → label should be POP:; (3) INPUT#2 → should be WRITE#2; (4) UCASES → UCASE$; (5) STOP → ENDINPUT "Enter any word"; W$, add: