Question set XII
SET-1
Sub code: 4281
NEB-XII Model Question 2079(2023)
Computer Science Time: -2 hrs.
Full Marks: -50 || Pass Marks: - 20
Group A
Rewrite
the correct options of each question in your answer sheet. (9x1=9)
1. In
which normal form of the database, atomicity is introduced?
B) Second
C) Third
D) Fourth
2. Which
of the following techniques is not implemented to protect a database?
B) Backup
C) Recovery
D) Firewall
3. Which
one of the following SQL commands is executed to display all the records having
a second letter in the LNAME (LAST NAME) as "A" from the customer
table?
B) SELECT FROM CUSTOMER WHERE LNAME LIKE AN";
C) SELECT FROM CUSTOMER WHERE LNAME LIKE "A%";
D) SELECT FROM CUSTOMER WHERE LNAME LIKE "SA"
4. Which
of the following is an incorrect IP address?
B) 192.168.1
C) 172.255.0.0
D) 202.10.79.4
5. Which
of the following is a server-side scripting language?
B) MySql
C) PHP
D) Jquery
6. Which
of the following keywords is used to declare a variable in JavaScript?
B) float or let
C) var or let
D) char or var
7. Which
of the following commands is executed in PHP to concatenate the variables $x
with $y?
B) $x- $y
C) concat ($x,$y)
D) $x $y
8. Which
statement is incorrect about the object-oriented approach?
B) Data is hidden and cannot be accessed.
C) Objects communicate through functions.
D) It supports abstract data but not the class.
9. Which
of the following feasibility studies is concerned with cost-benefit analysis?
B) Economic feasibility
C) Operational feasibility
D) Schedule feasibility
Group B
Short answer questions 5*5=25
10. Which
type of database system (centralized or distributed) is mostly preferred by
financial institutions like a bank? Give any four suitable reasons.
OR,
Nowadays
most of the business organizations prefer applying the relational model for
database design in comparison to other models. Justify the statement with your
arguments.
11.
Develop a program in JavaScript to exchange/swap the values of any two
variables.
OR,
How can you connect a database with PHP?
Demonstrate with an example.
12.
Describe the concept of Object-Oriented and Procedure-Oriented Programming in
brief.
13. Write
down any five qualities of good software.
14.
Explain mobile computing with its advantages and disadvantages.
Group C
Long answer questions. 8*2=16
15. Why do
most business organizations prefer setting their network with the client-server
architecture? Write its advantages and disadvantages.
16.
Develop a program in C using a structure to ask for the information of any 12
students with roll_number, name, and marks scored in sub1, sub2, and sub3.
Also, display them in proper format along with the calculation of total and
percentage. [Note: the full marks of each subject are 100).
OR,
Demonstrate
a program in C to create a data file named score.dat to store students'
information with Reg no, name, gender, and address. The program should ask the
user to continue or not. When finished, the program should also display all the
records in the proper format.
BEST OF LUCK
SET-2
Sub code:
4281
NEB-XII
Model Question 2080(2023)
Computer
Science Time: -2 hrs.
Full Marks:
-50 || Pass Marks: - 20
The figures in the margin indicate full marks.
Very
short answer questions. 1x9=9
Group 'A'
- Which of the given signs is used as a shortcut for JQuery?
C) the $ sign D) the @ sign
- Which of the following is a DML statement?
C) Create view Alter D) Drop
- A collection of hyperlinked documents on the Internet is called:
C) www D) email system
- Which of the following IPV4 addresses is valid?
C) 257.2.5.1 D) 202.70.71.262
- Which jQuery method is used to hide selected elements?
C) invisible() D) display(none)
- Which function is used to connect to a MySQL database?
C) var mySqLi_query() D) SmySqLi_con()
- Which of the following is true about FILE *fpt?
B) FILE is a buffered stream.
C) FILE is a stream.
D) FILE is a structure and fpt is a pointer to the structure of FILE type.
- Which SDLC phase is used to ensure quality software?
C) testing D) system study
- Coaxial cable is an example of………………..
C) Unguided Transmission media D) All of them
Group 'B'
Short answer questions 5*5=25
- Explain the Relational Data model with an example.
Write SQL DDL commands to execute the following task with reference to the
schema given below:
student_info (regno as integer, name as character (25), class integer, gender character (1),
- Define a syntax for database connectivity.
OR,
Write a JavaScript code to calculate the factorial of a given number. (5)
- How is event-driven programming (or OOP) different from procedural-oriented programming? Explain. (5)
- Explain the importance of system testing in the system development life cycle (SDLC).(1+4)
- What is cloud computing? Point out the advantages and disadvantages of cloud computing. (5)
Long answer questions. 8*2=16
- What is network topology? Differentiate between guided (wire media) and unguided (wireless media) with examples. (2+6)
- Write the advantages of pointers. Write a C-program to enter the radius of a football and find the area of the football by using a user-defined function. (3+5)
Define the structure. Write a C-program using a structure to input staff ID, name, and the salary of 50 staffs. Display staff ID, name, and salary of those staff whose salaries range from
THE END
SET 3
Grade Increment (Supplementary) Examination
Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.
Time: 2 hrs.
Group 'A'
Full Marks: 50
Very short answer questions. 9x1=9
1. Which SQL keyword is used to retrieve data from a table?
c) WHERE d) JOIN
2. Which of the following principle apply to 2NF?
b) All non-key attributes must be dependent on the primary key
c) All attributes must be atomic
d) A table must have at least more than two attributes
3. Which of the following is a device that connects two or more networks and can filter and forward network traffic based on its destination address?
b) Router
c) Hub
d) Modem
4. Which JavaScript function use to text input?
b) prompt()
c) confirm()
d) console.log()
5. Which of the following PHP functions is used to connect to a MySQL database?
b) mysqli_connect()
c) pdo_connect()
d) db_connect()
6. What is the correct way to open a file named "data.txt" in C for reading?
b) fopen("data.txt", "w");
c) fopen("data.txt", "a");
d) fopen("data.txt", "rb");
7. Which of the following concepts in object-oriented programming refers to binding data and function into a single unit.
b) Abstraction
c) Polymorphism
d) Inheritance
Sub code: 4281
PABSON PRE-TEST Question 2079
Computer Science Time: -2 hrs.
Full Marks: -50 || Pass Marks: - 20
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.
Sub code: 4281
HISSAN JHAPA PRE-TEST Question 2078
Computer Science Time: -2 hrs.
Full Marks: -50 || Pass Marks: - 20
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.
Comments
Post a Comment