0% found this document useful (0 votes)
97 views12 pages

Computer

The document outlines various units covering fundamental concepts in programming, data management, and database systems, including definitions, properties, and structures related to data and programming languages. It also includes practical programming tasks and questions related to C++, control structures, functions, arrays, and object-oriented programming. Additionally, it discusses file handling and graphics in programming, providing a comprehensive overview for second-year computer science students.

Uploaded by

worksgroup150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views12 pages

Computer

The document outlines various units covering fundamental concepts in programming, data management, and database systems, including definitions, properties, and structures related to data and programming languages. It also includes practical programming tasks and questions related to C++, control structures, functions, arrays, and object-oriented programming. Additionally, it discusses file handling and graphics in programming, providing a comprehensive overview for second-year computer science students.

Uploaded by

worksgroup150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Unit 1
Describe data manipulations
2.
What is a field?
3.
Define program file with example
4.
Define program organization. Name different types of file organization.
5.
Differentiate between data and information.
6.
Define data processing.
7.
Define redundancy.
8.
Name two features of DBMS.

1. Unit 2
What are properties of relation?
2.
Define indexes.
3.
Define foreign key.
4.
Define key. List different types of keys.
5.
Define data administration.
6.
Define table /relation
7.
How a relation is formed in database?
8.
What is an entity in an ERD.
9.
Who is user or end user?
10.
What is the purpose of using views?
Unit 3

1. Define and attribute.


2.
Define data modeling.
3.
Define the purpose of feasibility study.
4.
What is E-R diagram?

Unit 4

1. Transitive dependency.
2.
Define entity.
3.
Define integrity.
4.
Synonyms
5.
Database integrity.
6.
Partial dependency

Unit 5

RDBMS

1.
Differentiate between form and report
2.
Database wizard/sample database
3.
How query is written
4.
List some advantages of IDE
5.
Uses of MS Access
6.
Reports
7.
Enlist the parts of application window in MS Access.

Unit 6

1. Primary key
2.
What is the use of data sheet views in MS Access?
3.
Cardinality of relation
4.
Degree of relation
5.
Write down two table vies available in Access.

Unit 7

1. Sub form
2.
Uses of columnar forms
3.
Purpose of control naming convention
4.
Syntax of msg box
5.
What are methods in vb?
6.
Property window
7.
Code window
8.
Purpose of timer control
9.
Differentiate between key press and key up events
10.
Events of mouse
11.
Events of keyboard

Unit 8

1. Define programming language


2.
Case sensitive in C language
3.
Preprocessor directive
4.
Programmer
5.
Differentiate between logical errors and syntax errors
6.
Header files
7.
Compiler and assembler
8.
Differentiate between source code and object code
9.
Deli meters
10.
Run time errors
11.
Structured programming language
12.
Visual basic
13.
differentiate between visual programming and event driven programming language
14.
what is .net function
15.
what is VBA?
Unit 9

1. Define identifier with and example


2.
Differentiate between declaring and defining a variable
3.
Variables and two rules for naming variables
4.
Uses of assignment statement
5.
Operator precedent
6.
Define constant. List different types of constants
7.
Character constant
8.
Keywords
9.
Concatenation operator

Unit 10

1. Standard input
2.
Escape sequence
3.
Getche () function
4.
Uses of format specifier in C language
5.
Use of scanf function
6.
Clrscr function
7.
Predict the output….
8.
Trace the error in following code
9.
List some important function for input

Unit 11

1. Control structure & selection structure


2.
Find output
3.
Explain if statement
4.
Find error…..
5.
Write syntax of if-else statement
6.
Why break statement is used in a switch () structure
7.
Switch statement

Unit 12

1. While loop
2.
Sentinel control loop
3.
Write syntax of for loop
4.
Write syntax of do while loop
5.
What is iteration?

Unit 13

1. Define function. List some benefits of using functions


2.
Local variables and its scope
3.
Compare local variables and global variables
4.
Function cell
5.
Actual parameters
6.
Build in functions
7.
Life time of local variables
8.
Function definition and function declaration/prototyping

Unit 14

1. Compare binary and text stream


2.
Binary system
3.
Text files
4.
File losed
5.
Describe project file in VB
6.
Project explorer window
7.
Differentiate between method and property.

Computer 2nd year important long questions

1. What is data modeling? What are ingredients of data modeling? (unit 3)


2.
Explain different data types available in MS Access. (Unit 6)
3.
Define query. Explain the uses of wildcards in queries with examples. (Unit 6)
4.
Discuss different methods of modifying a table. (unit 6)
5.
Briefly describe the basic structure of a C program. (unit 8)
6.
While writing a c program, how many types of errors ca occur? Which one is the most
difficult to locate and remove (unit 8)
7.
How would you create, edit compile, link and execute a program? (Unit 8
8.
Define a language processor or translator. Discuss different types of language processors.
(Unit 8)
9.
Write a program that inputs a character and checks whether it is a wovel or
consonantusing switch statement. (unit 11)
10.
Write a program that inputs a year and finds whether it is leap or not. Using if-else
structure. (unit 11)
11.
Write a program that inputs a number and tells whether it is even or odd using if-else
structure. (unit 11)
12.
What is while loop? Explain its working with an example and flow chart (unit 12)
13.
What is do-while loop. Write its syntax. Explain its working with example. (unit 12)
14.
What is nested loop? Explain with example and flowchart. (unit 12)
15.
What is for loop structure? Explain its working with example and flowchart. (unit 12)
16.
Define database system. Explain any three components of database system. (unit 1)
17.
What is key? Discuss different types of keys. (unit 1)
18.
What is ER model? What are symbols used in ER diagram? (unit 3)
19.
What is field property? discuss different field properties in details (unit 6)
20.
Explain different types of relationships with details. (unit 3)
21.
What is filter? Discuss different types of filters in MS Access. (unit 6)
22.
What is program and programming language? Discuss two main categories of
programming language. (unit 8)

🔹 Chapter 1: Introduction to Programming


23. Define high-level language and low-level language.
24. What is the purpose of a compiler?
25. Differentiate between interpreter and compiler.
26. What is the role of an assembler?
27.

28. 🔹 Chapter 2: Basic Concepts and Terminologies


29. Define algorithm.
30. What is a variable and a constant?
31. What is syntax and semantics?
32. Differentiate between data and information.
33.

34. 🔹 Chapter 3: Input/Output & Assignment Statements


35. What is the purpose of the cin and cout in C++?
36. What does the endl manipulator do?
37. Give an example of an assignment statement.
38. How is the setw() manipulator used?
39.

40. 🔹 Chapter 4: Control Structures


41. Define control structure.
42. Differentiate between if and switch statements.
43. What is a loop? Name different types of loops.
44. What is the purpose of the break and continue statements?
45.

46. 🔹 Chapter 5: Functions


47. What is a function?
48. Differentiate between user-defined and built-in functions.
49. What is the purpose of a return statement?
50. What is function overloading?
51.

52. 🔹 Chapter 6: Arrays


53. Define array.
54. How is a 1D array different from a 2D array?
55. Write a syntax to declare an array.
56. How can we initialize an array?
57.

58. 🔹 Chapter 7: File Handling


59. What is a file?
60. What is the purpose of ifstream and ofstream?
61. What is the difference between text and binary files?
62. Write the syntax to open a file in C++.
63.

64. 🔹 Chapter 8: Object-Oriented Programming (OOP)


65. What is a class? What is an object?
66. Define encapsulation, inheritance, and polymorphism.
67. What is the difference between procedural and object-oriented programming?
68. What is a constructor?
69.

70. 🔹 Chapter 9: Graphics in C++ (Optional in Some Boards)


71. Define graphics.
72. What is the purpose of initgraph()?
73. Write the syntax for drawing a line in C++.

🔹 Chapter 1: Introduction to Programming

 Describe the basic components of a computer program.


 Explain the difference between compiler, interpreter, and assembler.

🔹 Chapter 2: Basic Concepts and Terminologies


 Define algorithm and flowchart. Explain symbols used in a flowchart with examples.
 Discuss the different data types used in C++ with examples.

🔹 Chapter 3: Input/Output and Assignment Statements

 Explain different types of input/output statements in C++ with syntax and examples.
 Describe assignment operators and arithmetic expressions in C++ with examples.

🔹 Chapter 4: Control Structures

 Write a program to calculate the factorial of a number using loops.


 Explain all types of control structures with proper syntax and examples.

🔹 Chapter 5: Functions

 Write a program using user-defined functions to calculate the sum of two numbers.
 What are function arguments? Explain call by value and call by reference with examples.

🔹 Chapter 6: Arrays

 What is an array? Write a program to find the largest number in an array.


 Explain one-dimensional and two-dimensional arrays with examples.

🔹 Chapter 7: File Handling

 Explain how to read from and write to a file in C++ with proper syntax.
 What are the different modes of opening a file? Explain with examples.

🔹 Chapter 8: Object-Oriented Programming

 Define class and object. Write a program to create a class for student records.
 Explain the four basic principles of OOP with examples (encapsulation, inheritance,
polymorphism, abstraction).
🔹 Chapter 9: Graphics in C++ (if included)

 Write a program in C++ to draw basic shapes using the graphics library.
 What are the advantages of using graphics in programming?

You might also like