/123
0 votes, 0 avg
0

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

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

1 / 123

1. Which keyword is not used in switch statement:

2 / 123

2. Conditional operator takes :

3 / 123

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

4 / 123

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

5 / 123

5. The format specifier %f is used for:

6 / 123

6. While loop is also called:

7 / 123

7. The foreign key is found in:

8 / 123

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

9 / 123

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

10 / 123

10. In an E_R diagram , a rectangle represent:

11 / 123

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

12 / 123

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

13 / 123

13. The output of compiler is:

14 / 123

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

15 / 123

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

16 / 123

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

17 / 123

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

18 / 123

18. The example of popular DBMS is :

19 / 123

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

20 / 123

20. In relational database a table is also called:

21 / 123

21. A funtion can return ________ value:

22 / 123

22. The column of a table is know as:

23 / 123

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

24 / 123

24.

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

25 / 123

25. A file is stored in :

26 / 123

26. A database consist of various components called:

27 / 123

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

28 / 123

28. In if statement, true is represented by:

29 / 123

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

30 / 123

30. Which of the fallowing is valid character constant:

31 / 123

31. Another term for conditional operator:

32 / 123

32. Which operation is performed by relational operator:

33 / 123

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

34 / 123

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

35 / 123

35. A constraint between two attributes is called:

36 / 123

36. The extension of a header file is:

37 / 123

37. A loop with in a loop is called:

38 / 123

38. Conditional operator is an alternative of:

39 / 123

39. Relational operator allow you to _________ numbers:

40 / 123

40. The fopen() funtion used_________ parameters?

41 / 123

41. The loop which never end is called:

42 / 123

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

43 / 123

43. Duplicate data in multiple data files is called:

44 / 123

44. Which programming structure executes program statements in order:

45 / 123

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

46 / 123

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

47 / 123

47.

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

48 / 123

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

49 / 123

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

50 / 123

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

51 / 123

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

52 / 123

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

53 / 123

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

54 / 123

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

55 / 123

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

56 / 123

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

57 / 123

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

58 / 123

58. Microsoft access save the database with the extension:

59 / 123

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

60 / 123

60. In visual basic variable cannot contain:

61 / 123

61. A record may be based on :

62 / 123

62. Which is numeric data type with decimal point:

63 / 123

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

64 / 123

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

65 / 123

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

66 / 123

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

67 / 123

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

68 / 123

68. stdio stand for:

69 / 123

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

70 / 123

70. Relational operator allow you to:

71 / 123

71. Formal arguments are also called:

72 / 123

72. Global variable are created in:

73 / 123

73. The case block ends with:

74 / 123

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

75 / 123

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

76 / 123

76. ____ is a loop statement:

77 / 123

77. The graphical query tool is know as :

78 / 123

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

79 / 123

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

80 / 123

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

81 / 123

81. _______ form of dependency removed in 3nf:

82 / 123

82. Which of the fallowing may be temporary file:

83 / 123

83. The extension of image file is:

84 / 123

84. Which form of dependency removed in 2nf?

85 / 123

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

86 / 123

86. Which statement is used for making two decision

87 / 123

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

88 / 123

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

89 / 123

89. Which loop structure always executes at least once?

90 / 123

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

91 / 123

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

92 / 123

92. _______ is not a database object:

93 / 123

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

94 / 123

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

95 / 123

95. Which is a loop stunt:

96 / 123

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

97 / 123

97. In if statement false is represented by:

98 / 123

98. In E-R diagram a rectangle represents:

99 / 123

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

100 / 123

100. a+=b is equal to:

101 / 123

101. A built-in function:

102 / 123

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

103 / 123

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

104 / 123

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

105 / 123

105. The extension of C source program is:

106 / 123

106. In MS access ,table contains:

107 / 123

107. Which data type is the default data type:

108 / 123

108. A form within another form is called:

109 / 123

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

110 / 123

110. The target code produce by the compiler is:

111 / 123

111. int is a____ in c?

112 / 123

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

113 / 123

113. The lowest level of programming is called:

114 / 123

114. An array script should be:

115 / 123

115. Switch statement is an alternative of:

116 / 123

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

117 / 123

117. Format specifier is started with symbol:

118 / 123

118. The manipulated and processed data is called:

119 / 123

119. Merging the relation is also know as:

120 / 123

120. A logical group of character is a:

121 / 123

121. An attribute is also know as:

122 / 123

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

123 / 123

123. The output of compiler is called:

Your score is

0%

Rawalpindi Board 2nd year Computer Science Chapter 1

/57
0 votes, 0 avg
0
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
1

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%