This page includes the curriculum created by the Curriculum Development Center (CDC), notes for the reference study, and old and model test questions. Its user interface is very simple to use. By selecting the tabs, you can go to various units and chapters, model questions.
Title | Computer II |
Course code | Com. 428 |
Nature of course | Theory + Lab |
Full marks | 75 + 25 |
Pass marks | 27 + 13 |
Credit Hrs | 5 hrs |
Elective/Compulsory | Elective |
Secondary Education Curriculum
2078
Computer
Working hrs: 160
1. Introduction
The world has witnessed a radical change in the field of Information and Communication Technology (ICT) in recent and this process is still going on. The relevance of computer education has been increasing day by day. Realizing the same the curriculum of computer science for Grades 11 and 12 has been developed according to the National Curriculum Framework, 2076. The study of this course will help the students to enter the job market. This will also provide basis for the students to pursue their further study in the field.
This curriculum comprises of an introduction to basic computer system, the basic number system and Boolean logic, computer software and operating system, application package, multimedia and network. It also includes contents of web technology, programming, information security and cyber law, digital society and computer ethics and recent trends in ICT. The course itself is of practical nature and the pedagogical approaches in delivering the course should consider the balance between theory and practice. The same applies in case of student evaluation procedure too.
The curriculum has been divided to different sections: level-wise competences, grade-wise learning outcomes, scope and sequence of contents with their elaboration, some indication to learning facilitation process and student assessment.
2. Level-wise competencies
- Use operating system, word processor, spread sheet and apply in real-life and educational contexts.
- Design website using new web technologies.
- Demonstrate the programming concept and logic into software development process.
- Use Database concept in basic SQL level.
- Apply networking concept into LAN and wireless network.
- Define OOPs concept and trace the recent trends of technological enhancement in 21st century.
Scope and Sequence of Contents
1. Database Management System (DBMS) (12hrs)
- Introduction to data, database, Database system, DBMS
- Field, Record, Objects, Primary Key, Alternate key, Candidate key
- Advantages of using DBMS
- DDL (Data Definition Language) and DML (Data Manipulation Language)
- Database Model: Network Model, Hierarchical Model, Relational database model
- Concept of Normalization: 1NF, 2NF, 3NF
- Centralized Vs. Distributed Database
- Database Security
2. Data Communication and Networking (15hrs)
- Basic elements of Communication System:
- Concept of Communication System
- Block Diagram of communication System /Model
- Elements of Data Communication/Transmission
- Simplex, Half duplex and Full duplex communication mode
- Concept of LAN and WAN
- Transmission Medium: Guided and Unguided
- Transmission impairments terminology (Jitter, Singing, Echo, Crosstalk, Distortion, Noise, Bandwidth, Number of receivers)
- Basic concept of Networks Architecture: Client Server and Peer-to-peer
- Some Basic Terms and Tool Used in Computer
- Network: IP Address, Sub Net Mask and Gateway, MAC address, Internet, Intranet, Extranet
- Network Tool: Packet tracer, Remote Login Network Connecting Devices: NIC, Modem, router, switch
- Network Topologies: Bus, Ring and star topology
- Basic Concept OSI Reference Model
- Internet Protocol Addressing
3. Web Technology II (12hrs)
- Introduction
- Server side and Client-Side Scripting
- Introduction of internet technology
- Adding Java script to HTML page
- Java script fundamental
- Java Script Data types
- Variables and operators
- Functions and control structure if-else, if-elseif, switch-case, for, while, do while loop
- Object based programming with Java Script and Event handling
- Image, event and form objects
- Form validation, Query
- Server Side Scripting using PHP
- Introduction to PHP: Hardware and Software Requirements
- Object oriented programming with server side scripting
- Basic PHP syntax
- PHP data types
4. Basic Programming in PHP (12hrs)
- Operators (Arithmetic, logical, comparison, operator precedence)
- Variables Manipulation
- Database Connectivity
- Connecting server side script to database
- Making SQL queries
- Fetching data sets getting data about data
- Creating SQL database with server side scripting
- Displaying queries in tables
5. Programming in C (10hrs)
- Review of C programming concept
- Functions
- Concept of library and user defined functions and advantages
- function definition, prototype, call and return statements
- Accessing a Function by passing values
- Concept of storage: automatic and external
- Concept of Recursion: factorial and Fibonacci problems
- Structures and Unions
- Structure: Definition, Declaration, Initialization and Size of Structure.
- Accessing member of structure
- Array of structure
- Union: Definition, Declaration
- Difference between union and structure.
- Pointers
- Definition of Pointer
- Address (& and indirection (*) operator
- Pointer Expression and Assignment
- Call by values and call by reference
- Working with Files
- Concept of Data File
- Sequential and Random File
- File manipulation function: putw, getw, putc, getc, fscanf, forintf
- Opening, Reading, Writing and Appending data file
6. Object-Oriented Programming (OOP) (10hrs)
- Programming paradigms: procedural, structural and object oriented Features of
- OOP: Class, Object, Polymorphism and Inheritance Advantages of 00P
- Application of 00P
7. Software Process Model (SPM) (10hrs)
- Software Project Concept
- Concept of software development process
- Concept SDLC life cycle
- System Analyst Vs Software Engineer
- Requirement Collection Methods
- Concept of system design
- Software and quality
- Software development model: waterfall, prototype, agile
8. Recent Trends in Technology (8hrs)
- Concept of Artificial Intelligence (AI) and Robotics
- Concept of Cloud Computing
- Concept of Big Data
- Concept of Virtual Reality
- Concept of e-com, e-medicine, e-gov.
- Concept of Mobile Computing
- Concept of Internet of things (loT)
Model Question NEB
Subject : Computer Science (428)
Class XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub)
Time: 3 Hours
Group ‘A’
Multiple Choice questions (9 * 1=9)
Tick the correct answer.
1. Which of the statements are used in DDL?
A)Create, alter and drop B) Create, insert and select
C) Insert, update and delete D) Delete, alter and drop
2. With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?
A) SELECT * FROM Persons WHERE FirstName=‟a‟
B) SELECT * FROM Persons WHERE FirstName LIKE „a%
C) ‟SELECT * FROM Persons WHERE FirstName LIKE „%a‟
D) SELECT * FROM Persons WHERE FirstName=‟%a%‟
3. Which of the following statements is true about a star network topology?
A) Each device is connected to a switch or hub
B) Each device is connected to each other
C) Each device is connected in a trunk
D) Each device is connected to a terminal
4. Which of the following is the correct syntax to display “Stay Safe” in an alert box using JavaScript?
A) alert-box(“Stay Safe”); B) confirm(“Stay Safe”);
C) msgbox(“Stay safe”); D) alert(“Stay Safe”);
5. What is the use of tag ?
A) To insert an image B) To create a link
C) To create a hyperlink D) To create a list
6. What is the output of given C program?
void main()
{
char str1[] = “FIRST”;
char str2[20]; strcpy(str2,str1);
printf(“%s %s “,str1,str2);
printf(“%d”, (str1!=str2));
printf(“%d”, strcmp(str1,str2));
}
A) FIRST FIRST 0 0 B) FIRST FIRST 1 1
C) FIRST FIRST 1 0 D) FIRST FIRST 0 1
7. Where is a class derived in inheritance?
A) Superclass B) Subclass C) Subsetclass D) Relativeclass
8. Which of these is the correct order of the SDLC?
A) Analysis, Design, Coding, Testing, Implementation
B) Analysis, Design, Testing, Implementation, Coding
C) Implementation, Coding, Analysis, Design, Testing
D) Design, Testing, Implementation, Coding, Analysis
9. Why is cloud computing popular nowadays?
A) Cost-sharing and easily accessible
B) As modern technology and costly
C) Accessible and freely available
D) Affordable to all
Group B
Short Answer Questions (5 * 5=25)
- Explain 2NF and 3NF with examples.
OR
Demonstrate the basic DML statement with an example. - Write a function to add any two numbers in Javascript.
OR
Demonstrate the external CSS implemented in the web page. - Describe any five features of OOPs.
- What are the different stages of software planning? Describe.
- Define the concept of AI and IoT. (2+3)
Group C
Long Answer Questions (2 ´8=16)
6. How do you implement the Class C IP address in the local area network? Describe.
7. Write a program to enter ten integer numbers into an array, sort and display them in ascending order.
OR
Write a program to read the marks of any 5 students in a subject and count how many students are pass and fail.
Model Questions – 1
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- NIC card is used for LAN connection.
a. True b. False - Spiral is a …………. .
a. SoftwareTesting phase
b. System Development model
c. None of the above - Who carries out the coding part?
a. Programmer b. System Analyst c. Client d. None - Physical layout of computer in network is called………
a. Network
b. internet
c. Topology
d. None of the above - …………is a component of multimedia.
a. Speaker c. Monitor
b. Sound card d. All of them - ……….. data type contains numbers having decimal point.
a. Char b. Int c. Float d. None - To use the strcpy() function, which header file should be included?
a. conio b. stdio c. string d. math - The last value of the series in looping is called …….
a. Test Expression b. initialization
c. Increment/decrement d. All of them - Which operator is logical OR operator?
a. || b. ! c. && d. None
Group ‘B’
II. Write short answers to the following questions. [5*5=25]
1. Who is a DBA? What are his good qualities?
2. Write a function simple(p,t,r) in C to compute Simple Interest.
3. What is IoT? List any 3 of its applications.
4. What is Cyber Law? Explain hacking.
5. What is client server network? Explain with a diagram.
Group ‘ C’
III. Give long answer to the following questions (Any two): [8×2=16]
- Write codes for JavaScript to create a mark sheet using if structure and find the Grades based on the following :
Percentage Grade
>= 90 A+
>=80 and <90 A
>=70 and <80 B+
>=60 and <70 B
>=50 and <60 C+
<50 C - Explain types of Computer Network on the basis of area it covers.
- Write a C program to input name, address and salary of a person and store it in a data file “employee.dat”.
Model Questions – 2
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub )
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- The ………… is the physical path over which a message travels.
a. protocol b. medium c. signal d. None - The key that uniquely identifies a record is called
a. Field name b. Unique key c. Primary key d. Key record - Systems are modified whenever
a. User’s requirement change.
b. New computers are introduced in the market
c. New software tools become available in the market
d. Other similar organization modify these system - ………… is used to input records in MS-Access.
a. Report b. Table c. Form d. None - Network that covers the longest distance is called ……….. .
a. LAN b. MAN c. WAN d. HAN - ………….. can hold dissimilar data.
a. array b. structure c. pointer d. variable - Which operator is used to compute the integer division?
a. / b. \ c. % d. None - Which loop is pre-test loop?
a. for loop b. while loop c. do while loop d. None
II. Write short answers to the following questions: [5×5=25]
- What is a database? What are the objectives of a database?
- What is transmission media? Explain any two different types of transmission media.
- Write a structure in C to initialize item, quantity and rate and calculate total amount.
- Describe switch case structure in JavaScript with syntax and one example
- What is a pre-test loop? Write JavaScript codes to print given series. 1,4,9,16…..100 .
III. Give long answer to the following questions (Any two): [8×2=16]
- Using Switch case , Write JavaScript codes to serve the following Book List:
Computer Science
Account
Economics
Math’s
Social
English. - Explain the different network connecting devices.
- Write a C program to read marks of any 10 students in computer science and count how many have scored above 80.
Model Questions – 3
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- Who carries out the analysis phase?
- Programmer b. System Analyst c. Client d. None
- Decision tree is a tool to :
a. Design System
b. Test The system
c. Selling the system
d. None of the above - is message sending through electronic medium.
a. Internet c. Post
b. Email d. Hardcopy. - One- Dimensional array has …………. row or column.
a. 2 b. 1 c. 4 d. 5 - To use the strlen() function, which header file should be included?
a. conio b. stdio c. string d. math - Relational Operators are :
a. Comparison of data b. addition of variables
c. Logical treatment d. All of them - Which operator is logical AND operator?
a. || b. ! c. && d. None - Which loop is post-test loop?
a. while loop b. do while loop c. for loop d. None - In C, int data type has memory allocation of :
a. 4 bytes b. 2 bytes c. 8 Bytes d.1 bytes
II. Write short answers to the following questions: [5 * 5=25]
- Who is a System Analyst? List out the roles of System Analyst.
- Explain waterfall model of System Development Life Cycle with a diagram. Write a program to determine whether an input number is odd or even.
- Explain JavaScript if structure with the help of example program.
- Write C- program to input number (from 1-7) and determine day of the week (e.g. 1 for Sunday).
- What is a loop? Write JavaScript codes to display fibonacci series upto 10th term (1 1 2 3 5…10th term).
III. Give long answer to the following questions: [8 * 2=16]
- WAP to create a mark sheet using if structure and find the Grades based on the following :
Marks Grade
M<100 and > 90 A+
M<90 and >=80 A
M<80 and > 70 B+
M<70 and >=60 B
M<60 and > 50 C+
M<50 and >=40 C
M<40 and > =30 D+
M<30 and >=20 D - Explain the types of array? Write a program to multiply two 2X2 arrays and display the result.
- Write a C program to input name, address and salary of a person and store it in a data file “items.dat”. Also open the file and display the contents.
Model Questions – 4
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- MS-Access is ……………… .
a. Relational Database Management System.
b. Word Processing Software
c. Presentation Software
d. None of the above - Table is ……………. MS-Access.
a Primary Element b. Filtered information c. Data Collection d. None - An illegal activity done through internet that harms other intellectual right is :
a. Murder. b. Suicide. c. Cyber Crime. d. Virus. - ………. can hold similar data.
a. array b. structure c. pointer d. variable - Which operator is used to compute the integer division?
a. / b. \ c. % d. None - Which loop is pre-test loop?
a. for loop b. while loop c. do while loop d. None - In C, ‘7’ is a?
a. Numeric constant b. Character constant c. Number d. None - Which of the following falls in control structure?
a. switch case b. loops c. if else d. All of them - Which of the following is valid for JavaScript
a. Var sname; b. Int sname; c. Char sname; d. None;
Group ‘B’
II. Write short answers to the following questions: [5´5=25]
- What is feasibility study? Explain its types.
- Explain spiral model of System Development Life Cycle with a diagram.
- What is AI? Explain the application areas of AI.
- WAP to input number (from 1-7) and determine day of the week (e.g. 1 for Sunday).
- Write JavaScript codes to return name of the students starting from A.
Group ‘ C’
III. Give long answer to the following questions: [8´2=16]
- Using Switch case , Write a program JavaScript codes to serve the following Book :
Computer Science
Account
Economics
Math’s
Social - Define an array. Write a program to add two 2X2 arrays.
- Write a C program to add name, address and salary of a person into a data file “students.dat”. Also open the file to read the contents.
Model Questions – 5
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- C is a ………..
a. Relational Database Management System
b. Structured programming language
c. Presentaion software.
d. None of above - Query is ……. in MS-Acess.
a. Object b. Required output c. Data collection d. None of the above - The component of multimedia is :
a. Speaker b. Sound card c. Microphone d. All of above - …………. can hold dissimilar data.
a. array b. structure c. pointer d. variable - OR logical operator in C is denoted by:
a. / b. || c. % d. None - For menu driven program, we use ……………. control structure.
a. for b. while c. switch d. do - A character constant must inside .
a. ‘ ‘ b. ” ” c. { } d. ( ) - Which data type holds numbers with decimal point?
a. int b. float c. char d. All of them - Which of the following displays a box in JavaScript?
a. document.write b. alert c. printf; d. None;
Group ‘B’
II. Write short answers to the following questions: [5 * 5=25]
- Explain the roles of a DBA.
- Why is system maintenance necessary in SDLC?
- What is Virtual Reality? Write any two applications of VR.
- WAP to input number (from 1-12) and determine name of the month (e.g. 1 for January).
- Write JavaScript codes to find sum, product and difference of 56 and 72.
Group ‘C’
III. Give long answer to the following questions: [8* 2=16]
- Describe ‘Sequence’, Selection’ and ‘Loop’ with flowchart. Write a program to check if a number is odd or even. Define an array. Write a program to add two 2X2 arrays.
- Write a program which asks the user to input ‘n’ terms of number and find out the greatest and smallest number among those numbers.
Model Questions – 6
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- Library function pow() belongs to which header file?
a. stdio.h b. conio.h c. math.h d. string.h - Which of the following is/are the main goals of a distributed database?
a. Interconnection of database
b. Incremental growth
c. Reduced communication overhead
d. All of the above - An unauthorized user is a network …… issue:
a. Performance b. Reliability c. Security d. All - What is the full form of SQL?.
a. Structured Query List
b. Simple Query Language
c. Structured Query Language
d. None - PHP is an example of …… scripting language.
a. Server side b. Client side c. Browser side d. None - Using encapsulation data security is …….
a. Not ensured b. Ensured to some extend c. Purely ensured d. Very low - If the mode in file in C includes b after the initial letter, what does it indicate?
a. text file b. big text file c. binary file d. blueprint text - Library function getch() belongs to which header file?
a. math.h b. string.h c. conio.h d. ctype.h - Which of the following keyword is used for creating a function in JavaScript?
a. Void b. Int c. Main d. Function
Group ‘B’
II. Write short answers to the following questions : [5 * 5=25]
- What is a primary key? What are the features of good primary keys?
- What are documentation techniques? Explain with examples.
- What is cloud computing? What are its components?
- Describe the different mode of file handling concept in C.
- Write JavaScript codes to find sum, product and difference of 56 and 72.
Group ‘C’
III. Give long answer to the following questions : [8 * 2=16]
- Describe fprintf and fscanf file handling functions. Write a program which writes “welcome to Nepal” in a file.
- Write a function to input two numbers and display their sum when the user click on ‘ADD’ button in JavaScript.
Model Questions – 7
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- Who carries out the analysis phase?
a. Programmer b. System Analyst c. Client d. None - Decision tree is a tool to :
a. Design System b. Test The system
c. Selling the system d. None of the above - …………. is message sending through electronic medium.
a. Internet b. Email c. Post d. Hardcopy. - One- Dimensional array has ……….. row or column.
a. 2 b. 1 c. 4 d. 5 - To use the strlen() function, which header file should be included?
a. conio b. stdio c. string d. math - Relational Operators are :
a. Comparison of data b. addition of variables
c. Logical treatment d. All of them - Which operator is logical AND operator?
a. || b. ! c. && d. None - Which loop is post-test loop?
a. while loop b. do while loop c. for loop d. None - In C, int data type has memory allocation of :
a. 4 bytes b. 2 bytes c. 8 Bytes d.1 bytes
Group ‘B’
II. Write short answers to the following questions: [5 * 5=25]
- Who is a System Analyst? List out the roles of System Analyst.
- Explain waterfall model of System Development Life Cycle with a diagram.
- What is computer crime? Explain plagiarism.
- Explain JavaScript if structure with the help of example program.What is a loop?
- Write JavaScript codes to display fibonacci series upto 10th term (1 1 2 3 5…10th term).
Group ‘C’
III. Give long answer to the following questions: [8 * 2=16]
- WAP to create a mark sheet using if structure and find the Grades based on the following :
Marks Grade
M<100 and > 90 A+
M<90 and >=80 A
M<80 and > 70 B+
M<70 and >=60 B
M<60 and > 50 C+
M<50 and >=40 C
M<40 and > =30 D+
M<30 and >=20 D - Explain the types of array? Write a program to multiply two 2X2 arrays and display the result.
Model Questions – 8
Subject : Computer Science
GRADE: XII
Full Marks: 50 (9 marks Obj + 41 Marks Sub
Time: 2 Hours
Group ‘A’
I. Choose the best alternative: [1×9=9]
- MS-Access is .
a. Relational Database Management System. b. Word Processing Software
c. Presentation Software d. None of the above - Table is ……… MS-Access.
a Primary Element b. Filtered information
c. Data Collection d. None - An illegal activity done through internet that harms other intellectual right is :
a. Murder. b. Suicide. c. Cyber Crime. d. Virus. - …………. can hold similar data.
a. array b. structure c. pointer d. variable - Which operator is used to compute the integer division?
a. / b. \ c. % d. None - Which loop is pre-test loop?
a. for loop b. while loop c. do..while loop d. None - In C, ‘7’ is a?
a. Numeric constant b. Character constant c. Number d. None - Which of the following falls in control structure?
a. switch case b. loops c. if else d. All of them - Which of the following is valid for JavaScript
a. Var sname; b. Int sname; c. Char sname; d. None;
Group’ B’
II. Write short answers to the following questions: [5 * 5=25]
- What is feasibility study? Explain its types.
- Explain spiral model of System Development Life Cycle with a diagram.
- WAP to determine whether an input number is exactly divisible by 7 or not.
- Write JavaScript codes to display odd numbers from 1-59.
- Write the syntax of do loop. Write JavaScript codes upto 10th term (7, 10, 13…10th term) using do loops.
Group ‘ C’
III. Give long answer to the following questions : [8 * 2=16]
- Using Switch case , Write a program JavaScript codes to serve the following Book :
Computer Science
Account
Economics
Math’s
Social
English. - Define an array. Write a program to add two 2X2 arrays.
OR
Write a C program to add name, address and salary of a person into a data file “students.dat”. Also open the file to read the contents.