Topics

Search This Blog

Monday, March 17, 2025

Programming: QBASIC, Modular programming, File Handling, C programming

VERY SHORT ANSWER (KEYWORDS ONLY):

Programming: QBASIC, Modular programming, File Handling, C programming


1.       What is QBASIC?

Beginners' programming language

2.       Which command is used to clear the screen in QBASIC?

CLS

3.       Which statement is used to take input from the user?

INPUT

4.       Which statement is used to display output on the screen?

PRINT

5.       What is the use of the LET statement in QBASIC?

Assigns values to variables

6.       Which loop executes a block of code multiple times?

FOR...NEXT, WHILE...WEND, DO...LOOP

7.       What is the function of the INT() function in QBASIC?

Returns the integer part of a number

8.       Which operator is used for exponentiation in QBASIC?

^ (Caret)

9.       Which keyword is used to define a subprocedure in QBASIC?

SUB

10.   Which command is used to terminate the program execution?

END

11.   What is modular programming?

Dividing a program into smaller modules

12.   What are the two main modular programming structures?

Subroutines and Functions

13.   Which keyword is used to define a subroutine in QBASIC?

SUB

14.   Which keyword is used to define a function in QBASIC?

FUNCTION

15.   What is a module?

A self-contained program block

16.   What is the main advantage of modular programming?

Code reusability

17.   What is the difference between a function and a subprocedure?

Function returns a value; subprocedure does not

18.   Which programming technique does modular programming support?

Top-down approach

19.   Which command is used to call a function in QBASIC?

CALL function_name

20.   What is a library in modular programming?

A collection of reusable modules

21.   What is file handling?

Reading and writing files

22.   Which statement is used to open a file in QBASIC?

OPEN

23.   Which mode is used to read a file?

INPUT

24.   Which mode is used to write to a file?

OUTPUT

25.   Which mode is used to add data to an existing file?

APPEND

26.   Which statement is used to read data from a file?

INPUT #

27.   Which statement is used to write data to a file?

PRINT #

28.   Which function checks the end of a file in QBASIC?

EOF()

29.   Which statement is used to close a file in QBASIC?

CLOSE

30.   What is the purpose of a sequential data file?

Stores data in a continuous sequence

31.   What is structured programming?

Organizing code using functions and loops

32.   Which are the main control structures in structured programming?

Sequence, Selection, Iteration

33.   What is the main advantage of structured programming?

Better code readability and maintenance

34.   Which symbol is used to terminate a statement in C?

Semicolon (;)

35.   Which function is used to display output in C?

printf()

36.   Which function is used to take input in C?

scanf()

37.   Which loop is used for definite iteration in C?

for loop

38.   What is a function in C?

A reusable block of code

39.   Which keyword is used to define a function in C?

void, int, float, etc.

40.   What is recursion in C?

A function calling itself

Database Management System

 VERY SHORT ANSWER (KEYWORDS ONLY):

DBMS



1.       What is DBMS?

Software for managing databases

2.       What is a database?

Collection of organized data

3.       Give two examples of DBMS.

MySQL, Oracle

4.       What is a relational database?

Data stored in tables

5.       What is SQL?

Structured Query Language

6.       What is a primary key?

Unique identifier for records

7.       What is a foreign key?

Link between two tables

8.       What is normalization?

Process of organizing data

9.       What is denormalization?

Combining tables for speed

10.   What is a table in DBMS?

Rows and columns storage

11.   What are data types in DBMS?

Integer, String, Date

12.   What is a constraint?

Rule on database fields

13.   What is a composite key?

Multiple columns as key

14.   What is an alternate key?

Candidate key not chosen

15.   What is an index in DBMS?

Speeds up search queries

16.   What is a view in DBMS?

Virtual table in SQL

17.   What is a transaction in DBMS?

Sequence of database operations

18.   What is atomicity in DBMS?

All or nothing execution

19.   What is database backup?

Copy of database for recovery

20.   What is database replication?

Copying data to multiple locations

21.   What is database encryption?

Securing database data

22.   What is MS Access?

Database Management System (DBMS)

23.   Which type of database is MS Access?

Relational Database Management System (RDBMS)

24.   What is a table in MS Access?

Stores data in rows and columns

25.   What is a field in MS Access?

Column in a table

26.   What is a record in MS Access?

Row in a table

27.   What is a primary key in MS Access?

Unique identifier for records

28.   What is a foreign key in MS Access?

Links two tables together

29.   What is a query in MS Access?

Retrieves specific data

30.   What is a form in MS Access?

User-friendly data entry interface

31.   What is a report in MS Access?

Used for formatted data presentation

32.   What are the main data types in MS Access?

Text, Number, Date/Time, Currency

33.   What is a calculated field in MS Access?

Stores the result of a calculation

34.   What is the use of Yes/No data type?

Stores True/False values

35.   What is a lookup field in MS Access?

Provides dropdown list values

36.   What is an action query?

Performs actions like delete, update

37.   What is a parameter query?

Asks for input before execution

38.   What is a wildcard in MS Access?

Used in queries for pattern matching

39.   What is the purpose of relationships in MS Access?

Defines links between tables

40.   What are the types of relationships in MS Access?

One-to-One, One-to-Many, Many-to-Many

41.   Which view is used to design a table in MS Access?

Design View

42.   What is the use of a macro in MS Access?

Automates database tasks

43.   What is an index in MS Access?

Speeds up searches

44.   What is Referential Integrity?

Ensures valid relationships between tables

45.   Which file extension is used for MS Access databases?

.ACCDB (new), .MDB (older)

46.   What is the function of the "Compact and Repair" tool in MS Access?

Optimizes and fixes database errors

Contemporary Technology

 VERY SHORT ANSWER (KEYWORDS ONLY):

Contemporary Technology



1.       What is contemporary technology?

Modern advanced technology

2.       Give two examples of contemporary technology.

AI, Blockchain

3.       What is Artificial Intelligence (AI)?

Machine-based decision-making

4.       What is the Internet of Things (IoT)?

Connected smart devices

5.       What is blockchain?

Decentralized digital ledger

6.       What is Virtual Reality (VR)?

Immersive digital environment

7.       What is Augmented Reality (AR)?

Digital overlay on real world

8.       What is 5G technology?

High-speed wireless network

9.       What is nanotechnology?

Science of tiny particles

10.   What is Big Data?

Large-scale data analysis

11.   What is cloud computing?

Internet-based data storage

12.   What is Edge Computing?

Processing data near source

13.   What is Machine Learning (ML)?

Self-learning algorithms

14.   What is Quantum Computing?

Advanced computing using qubits

15.   What is cybersecurity?

Protecting digital systems

16.   What is FinTech?

Technology in financial services

17.   What is Biometric Authentication?

Identity verification using biology

18.   What is Robotic Process Automation (RPA)?

Automating repetitive tasks

19.   What is Smart Home Technology?

Automated home devices

20.   What is Digital Twin Technology?

Virtual replica of physical objects

21.   What is Wi-Fi 6?

Faster wireless internet

22.   What is Li-Fi?

Light-based wireless internet

23.   What is Near Field Communication (NFC)?

Short-range wireless connection

24.   What is VoIP?

Voice over Internet Protocol

25.   What is Satellite Internet?

Internet via satellite

26.   What is Metaverse?

Virtual digital universe

27.   What is Blockchain in communication?

Secure decentralized messaging

28.   What is Chatbot Technology?

AI-powered conversational agent

29.   What is Smart Wearable Technology?

Digital accessories (e.g., smartwatch)

30.   What is Brain-Computer Interface (BCI)?

Direct communication with brain

31.   What is Industry 4.0?

Smart automation in industries

32.   What is self-driving technology?

Autonomous vehicle system

33.   What is Renewable Energy Technology?

Solar, wind, and hydropower

34.   What is Smart Agriculture?

AI and IoT in farming

35.   What is Smart Grid Technology?

Efficient energy distribution

36.   What is Regenerative Medicine?

Tissue and organ regeneration

37.   What is CRISPR Technology?

Gene-editing tool

38.   What is Bioinformatics?

Technology in biological data

39.   What is 3D Printing?

Layer-by-layer object creation

40.   What is Hyperloop?

Futuristic high-speed transport

41.   What is AI Ethics?

Moral issues in AI use

42.   What is Digital Divide?

Gap in tech access

43.   What is Deepfake Technology?

AI-based fake media

44.   What is Data Privacy?

Protecting personal information

45.   What is Cybercrime?

Crime using digital technology

46.   What is Ethical Hacking?

Legal security testing

47.   What is Green Technology?

Eco-friendly innovations

48.   What is Fake News in Technology?

False information via digital media

49.   What is Sustainable Technology?

Environmentally friendly tech

50.   What is the future of contemporary technology?

AI, quantum, automation, sustainability

Map of Nepal

 नेपालको विभिन्न भूगोलसँग सम्बन्धित नक्साहरू नेपालको नक्सा: नेपालको नक्सा: नेपालको नक्सा: नेपालको नक्सा: नेपालको नक्सा: नेपालको नक्सा:

Most viewed!