Spread the love
/123
0 votes, 0 avg
5

Rawalpindi Board 2nd year Computer Science all past papers MCQS.

Rawalpindi Board 2nd year Computer Science all past papers MCQS.

1 / 123

1. In the statement FILE*FT, the*represents to:

2 / 123

2. Which is a loop stunt:

3 / 123

3. which of the follwing is used to associate entities with one another:

4 / 123

4. The fopen() funtion used_________ parameters?

5 / 123

5. The case block ends with:

6 / 123

6. The “exe” file in visual basic is produced by:

7 / 123

7. The first line of funtion defination is know as:

8 / 123

8. _______ is not a database object:

9 / 123

9. In which loop condition comes after the body of loop:

10 / 123

10. a+=b is equal to:

11 / 123

11. In MS access ,table contains:

12 / 123

12. In E-R diagram a rectangle represents:

13 / 123

13. Which file is used to store information that remain constant for a long time:

14 / 123

14. Which statment is used to move the control to the start of loop body:

15 / 123

15. In relational database a table is also called:

16 / 123

16. The data or information that describes an entity is called :

17 / 123

17. Which loop structure always executes at least once?

18 / 123

18. Global variable are created in:

19 / 123

19. Which operation is performed by relational operator:

20 / 123

20. The output of a query is in the form of a:

21 / 123

21. If x=2 and y=3 , what will be the output of the expression :x>y?x+y:x*y;

22 / 123

22. which of the fallowing is used to associate entries with one another:

23 / 123

23. A person name ,birthday and social security number are example of:

24 / 123

24. A funtion can return ________ value:

25 / 123

25. The lowest level of programming is called:

26 / 123

26. int is a____ in c?

27 / 123

27. A primary key that consists of more than one attribute is called:

28 / 123

28. A constraint between two attributes is called:

29 / 123

29. To find all names start with M from student table ,the criteria is:

30 / 123

30. A memory location with some data that can be changed is called:

31 / 123

31. In if statement, true is represented by:

32 / 123

32. The format specifier %f is used for:

33 / 123

33.

What is the value of ‘X’ after executing the following code? for(x=1;x<=7;x++)

34 / 123

34. In 3nf ,a non key attribute must not depend on a:

35 / 123

35. Which of the following is a one -to-many relations :

36 / 123

36. In c,the maximum length of variable name is:

37 / 123

37. How many types of loop structure are in C -language?

38 / 123

38. In 2nf , which form of dependency is removed:

39 / 123

39. Which keyword is not used in switch statement:

40 / 123

40. A funtion does not return any value has return type

41 / 123

41. Multiples copies of the same data is referred to as:

42 / 123

42. Which data type is used to define a field that consist of only number to be used in calculations?:

43 / 123

43. Conditional operator takes :

44 / 123

44. Formal arguments are also called:

45 / 123

45. One execution of a loop is know as(n):

46 / 123

46. The process of converting source code into object code is know as:

47 / 123

47. A logical group of character is a:

48 / 123

48. Relational operator allow you to _________ numbers:

49 / 123

49. The”.exe” file is produced by:

50 / 123

50. Function used for I/O are stored in:

51 / 123

51. The extension of image file is:

52 / 123

52. The maximum length of a text type field in MS-excess is:

53 / 123

53. The manipulated and processed data is called:

54 / 123

54. The extension of C source program is:

55 / 123

55. Microsoft access save the database with the extension:

56 / 123

56. Which is numeric data type with decimal point:

57 / 123

57. The example of popular DBMS is :

58 / 123

58. While loop is also called:

59 / 123

59. The default size of a text data type field is:

60 / 123

60. A virtual table that is constructed from the other table is called:

61 / 123

61. Which form property will put text into title bar of the form:

62 / 123

62. Which of the fallowing escape sequence can be used to begin a new line in c?

63 / 123

63. A table is a two dimensional structure that consist of:

64 / 123

64. A form within another form is called:

65 / 123

65. The process of arranging data in a logical sequence is called:

66 / 123

66. The data type in C that can handle fractional values is called:

67 / 123

67. Which of the fallowing function is used to copy a string to an array of characters:

68 / 123

68. _______ form of dependency removed in 3nf:

69 / 123

69. The output of compiler is:

70 / 123

70. Merging the relation is also know as:

71 / 123

71. Each separate piece of information stored in a record is called:

72 / 123

72. Which of follwing is not a loop structure in c:

73 / 123

73. The foreign key is found in:

74 / 123

74. In which loop , statement terminators is a part of its syntax:

75 / 123

75. Which function is used to display output on screen in C-language?

76 / 123

76. A database consist of various components called:

77 / 123

77. Which of the following function is used to write a character to a file:

78 / 123

78. In relation database, a single piece if information is called:

79 / 123

79. Format specifier is started with symbol:

80 / 123

80. Which mode open only an existing file for both reading and writing:

81 / 123

81. A loop with in a loop is called:

82 / 123

82. A file is stored in :

83 / 123

83. stdio stand for:

84 / 123

84. In counter loop it is important to declare________ and counter variable :

85 / 123

85. In switch statement , the case block ends with:

86 / 123

86. In an E_R diagram , a rectangle represent:

87 / 123

87. Switch statement is an alternative of:

88 / 123

88. Which function is used write character to a file:

89 / 123

89. The column of a table is know as:

90 / 123

90. Which programming structure executes program statements in order:

91 / 123

91. Which of the fallowing is used associate entities with one another:

92 / 123

92. A set of related files created and managed by a DBMS is called:

93 / 123

93.

What is the final value of I after executing the code : for(int i=1;i<=5;i+=2)

94 / 123

94. The extension of a header file is:

95 / 123

95. Which statement is used for making two decision

96 / 123

96. The loop which never end is called:

97 / 123

97. Which of the following format specifier is used for character data type?

98 / 123

98. Relational operator allow you to:

99 / 123

99. ____ is a loop statement:

100 / 123

100. An array script should be:

101 / 123

101. Another term for conditional operator:

102 / 123

102. Which data type is the default data type:

103 / 123

103. The target code produce by the compiler is:

104 / 123

104. The programming structure used for a computer making decision is:

105 / 123

105. The output of compiler is called:

106 / 123

106. A built-in function:

107 / 123

107. Different attributes in two different tables having same name are called:

108 / 123

108. The smallest meaning full unit of data in a database is called:

109 / 123

109. The graphical query tool is know as :

110 / 123

110. A record may be based on :

111 / 123

111. In if statement false is represented by:

112 / 123

112. One execution of a loop is know as a(n):

113 / 123

113. Variables and constant name cannot contain a(n):

114 / 123

114. Which of the fallowing is valid character constant:

115 / 123

115. An attribute is also know as:

116 / 123

116. Which of the fallowing may be temporary file:

117 / 123

117. Duplicate data in multiple data files is called:

118 / 123

118. In visual basic variable cannot contain:

119 / 123

119. Conditional operator is an alternative of:

120 / 123

120. What is the variable that is used by function to receive an argument:

121 / 123

121. The number of bytes used by int data type in c is :

122 / 123

122. Which form of dependency removed in 2nf?

123 / 123

123. Which form of dependency is removed in 3NF:

Your score is

0%

Rawalpindi Board 2nd year Computer Science Chapter 1

/57
0 votes, 0 avg
1
Created on By admin

Rwp_2nd_cs_1

Rawalpindi Board 2nd year Computer Science Chapter 1

1 / 57

1. Manipulation of data to achieve the required objectives and result is called

2 / 57

2. A collection of related fields is called:

3 / 57

3. A collection of data that consists of name, address and email of a person is called:

4 / 57

4. A record in a database is the information refers to:

5 / 57

5. A logical grouping of character is a

6 / 57

6. A field is to a record as

7 / 57

7. a database containing all students in a class would store basic data of students in

8 / 57

8. A data base containing all students in a class would store the information of individual students in

9 / 57

9. Which of the following is also known as data set

10 / 57

10. A set of related files created and manage by a (DBMS) is called

11 / 57

11. Which of the following is an example of a database

12 / 57

12. Which of the following used to describe the structure of a database

13 / 57

13. Which of the following data model is more flexible

14 / 57

14. Which of the following type of file require largest processing time

15 / 57

15. Which of the following may be a temporary file?

16 / 57

16. SQL is a(n)

17 / 57

17. SQL stands for

18 / 57

18. SQL can be used to

19 / 57

19. The type of files from functional point of view include

20 / 57

20. Which file is used to store information that remains constant for a long time

21 / 57

21. Which of the following file is used to store additional copy of data

22 / 57

22. Which of the following file consist the software instructions

23 / 57

23. The extension of program file is

24 / 57

24. Which of the following is an image file extension

25 / 57

25. The extension for a video file is

26 / 57

26. The  extension of audio files is

27 / 57

27. The file name and the extension are separated by a

28 / 57

28. In “‘program.txt” , ‘txt” is the:

29 / 57

29. Word processor can save documents using the following extensions EXCEPT

30 / 57

30. The type of files from storage point of view include:

31 / 57

31. The problem synonym occurs in:

32 / 57

32. The process in which the contents are accessed in a sequence is called:

33 / 57

33. A database is an organized collection of related data

34 / 57

34. The objectives of database management systems include:

35 / 57

35. The most commonly used database model in current database development is:

36 / 57

36. Which of the following data model has general shape of an organization chart?

37 / 57

37. Which data models creates parent-child relationships B/T data elements and restricts each child?

38 / 57

38. Which data models creates parent-child relationships b/t data elements and have more than 2parents

39 / 57

39. Information sharing means that:

40 / 57

40. A program whose job is to store and retrieve user data in the database is called:

41 / 57

41. The database system is composed of four major parts:

42 / 57

42. Data that causes inconsistency lacks:

43 / 57

43. In a database processing system:

44 / 57

44. Which one of the following is an advantage of database management approach?

45 / 57

45. DBMS stands for:

46 / 57

46. Which of the following is NOT an advantage of database systems?

47 / 57

47. Which of the following enables user to modify data without affecting existing program that use them

48 / 57

48. Database application contain procedures for:

49 / 57

49. Which of the following is related to a component of database system?

50 / 57

50. Which of the following database models is often referred to as an Inverted Tree?

51 / 57

51. The major component of DBMS is called

52 / 57

52. Duplicate data in multiple data file is:

53 / 57

53. The description of structure and organization of data in a database is contained in:

54 / 57

54. A request for information from a database in database terminology is called

55 / 57

55. A printed or on screen display of data or information in the database is called an:

56 / 57

56. The name for the software to build reports that summarize data from a database is:

57 / 57

57. Which of the following is not a database management system

Your score is

0%

Rawalpindi Board 2nd year Computer Science Chapter 2

/37
0 votes, 0 avg
3

Rwp_2nd_cs_2

Rawalpindi Board 2nd year Computer Science Chapter 2

1 / 37

1. DBA stands for:

2 / 37

2. A key strictly used for data retrieval purposes is called:

3 / 37

3. Who is responsible to design, implement and maintain a databases?

4 / 37

4. A table in which the foreign key is found is called:

5 / 37

5. Which of the following is also known as control key?

6 / 37

6. A primary key that consists of more than one attribute is called

7 / 37

7. An attribute in relation used as the primary key of another relation in the same database is called

8 / 37

8. A candidate key is:

9 / 37

9. Which field is the most appropriate primary key?

10 / 37

10. Which of the following can be a primary key

11 / 37

11. How many primary keys can a table have?

12 / 37

12. Which of the following is NOT a good primary key?

13 / 37

13. Which of the following describes the primary key?

14 / 37

14. A key is:

15 / 37

15. Which of the following are properties of relations?

16 / 37

16. An index can used to:

17 / 37

17. Which of the following is NOT a characteristic of relations?

18 / 37

18. The data or information that describes an entity is called:

19 / 37

19. A person, place, thing or event about which data is kept in the database is called

20 / 37

20. A row of a relation is called:

21 / 37

21. A relation is also known as:

22 / 37

22. An attribute is also known as a:

23 / 37

23. A table is a two-dimensional structure that consists of:

24 / 37

24. A two-dimensional table of data is called:

25 / 37

25. A table should have:

26 / 37

26. The foreign key is found in:

27 / 37

27. The Columns of a table correspond to

28 / 37

28. SQL is used for:

29 / 37

29. CREATE command is used to create:

30 / 37

30. A virtual table that is constructed from other tables is called:

31 / 37

31. The number of characters in fixed-length field is

32 / 37

32. The views are used:

33 / 37

33. Views are also called:

34 / 37

34. The SQL statement to create a view is:

35 / 37

35. All the intersection of rows and columns must have:

36 / 37

36. The rows of a relation can be of order.

37 / 37

37. Insert command is used to insert:

Your score is

0%