#1
January 31st, 2017, 08:59 AM
| |||
| |||
Punjab CET Question Paper
Will you please provide me question paper of Computer Science of Punjab University Common Entrance Test PU CET Exam?
|
#2
January 31st, 2017, 09:45 AM
| |||
| |||
Re: Punjab CET Question Paper
Ok, here I am providing you the question paper of Computer Science of Punjab University Common Entrance Test PU CET Exam. PU CET Exam Computer Science question paper 1. The word ‘Computer’ usually refers to the Central Processing Unit plus : (A) External memory (B) Internal memory (C) Input devices (D) Output devices 2. The Computer device primarily used to provide hardcopy is the : (A) CRT (B) Line Printer (C) Card Reader (D) Computer Console 3. A source program is the program written in ________ language. (A) English (B) Symbolic (C) High-level (D) Machine 4. Which of the following is not a type of Operating System ? (A) Multi-programming (B) Time-sharing (C) Real-time (D) Concurrent Programming 5. The mechanical, magnetic, electronic and electrical devices from which a computer is fabricated is called : (A) Magnetic Core (B) Firmware (C) Hardware (D) Software 6. Operating System is : (A) A collection of Hardware routines (B) A collection of memory components (C) A collection of software routines (D) A collection of Input-Output devices 7. The step-by-step instructions that solve a problem are called : (A) an algorithm (B) a list (C) a plan (D) a sequential structure 8. The rules of a programming language are called : (A) Code (B) Guidelines (C) Procedures (D) Syntax 9. The most efficient data-type for a variable that stores the number 4.6 e 20 is the _______ data-type. (A) Character (B) Float (C) Long integer (D) Short integer 10. Which loop always processes its instruction at least once ? (A) do-while (B) If loop (C) for loop (D) while 11. Which of the following is not a mathematical function ? (A) log ( ) (B) sin ( ) → sin ( ) (C) islower ( ) (D) abs ( ) 12. Which of the following is a logical OR operator ? (A) && (B) || (C) ? : (D) & Computer Science/209101 1 [Turn over 13. Which of the following is not a valid declarations for a C++ character string ? (A) char S[6] ; (B) char S[6] = “Hello” ; (C) char * S ; (D) char S[ ] ; 14. Which of the following symbols enclose the body of the main ( ) function and are required for every C++ program ? (A) << and >> (B) { and } (C) // and // (D) [ and ] 15. Which of the following is a valid identifier ? (A) y2 d2 (B) H2 O (C) second_list (D) 2nd list 16. The header file required to be included in any C++ program that uses “Cin” and “Cout” functions is : (A) < iomanip.h > (B) < iostream.h > (C) < ctype.h > (D) < math. h > 17. Construct a logical expression for n is even but not 8 : (A) (n% 2 = = 0 && n ! = 8) (B) (n%2 = = 0 || n! = 8) (C) (n/2 = = 0 || n! = 8) (D) (n%2 = = 0 && n = = 8) 18. Write a declaration for an array of 8 floats : (A) float a [8] ; (B) float a (8); (C) float a 8; (D) float * a [8] 19. Element array [7] is which element of the array in C++ ? (A) The sixth (B) The seventh (C) The eighth (D) The last element 20. A function’s single most important role is to : (A) give a name to a block of code (B) reduce program size (C) accept arguments and provide a return value(D) help in organizing a program into conceptual units 21. A search method based on examining each item in a sequence until the desired item is found or the sequence is exhausted is : (A) Sequential search (B) Minimax search (C) Hill-Climbing search (D) Heuristic search 22. Hexadecimal means : (A) Six (B) Ten (C) Sixteen (D) Eight 23. Which of the following is not an encoding scheme ? (A) ASCII (B) IEEE (C) ISCII (D) UNICODE 24. Which of the following is not a register ? (A) Accumulator (B) Stack Pointer (C) Buffer (D) Program Counter Computer Science/209101 2 25. Which of the following 4-bit number equals its 2’s Complement ? (A) 1010 (B) 1000 (C) 0101 (D) 1100 26. Pick-out the correct statement : (A) ROM is a read/write memory (B) PC points to the last instruction to be executed (C) CPU has a single numerical processor (D) RAM is a read/write memory 27. If a particular idea is to be implemented in hardware or software, the factor that favours hardware implementation is : (A) cost- effectiveness (B) speed of operation (C) frequent changes expected (D) facilitates easy implementation of new instruction 28. The basic unit of measurement used for measuring opposition to current flow in a circuit is : (A) volt (B) ampere (C) ohm (D) watt 29. Programming in a language that actually controls the path of signals or data within a computer is called : (A) Micro-programming (B) System programming (C) Assembly programming (D) Machine programming 30. Which of the following is not a port/connection ? (A) PS-2 (B) COM (C) SMPS (D) LPT 31. What is the correct definition for a string variable ? (A) string mystr; (B) string mystr [20]; (C) char mystr; (D) char mystr [20]; 32. The sentence “Hello world !” uses _______ elements in a character array. (A) 10 (B) 11 (C) 12 (D) 13 33. What is the output of the following code ? for (int a = 1; a < = 1; a++) cout << a++; cout << a; (A) 22 (B) 12 (C) 13 (D) 23 34. Assume there are three boolean variables: a =false, b=false, c=true. What is the value of the following statement ? a || b && c (A) True (B) False (C) Something other than true and false (D) -1 35. Inheritance is a way to : (A) organize data (B) pass arguments to objects of classes (C) add features to existing classes without rewriting them (D) improve data-hiding and encapsulation Computer Science/209101 3 [Turn over 36. What is a Constructor ? (A) A function called when an instance of a class is initialized (B) Function that is called when an instance of a class is deleted (C) A special function to change the value of dynamically allocated memory (D) A function that is called in order to change the value of a variable 37. Which of the following gives the value stored in pointer a ? (A) a; (B) val(a); (C) *a; (D) &a; 38. Array passed as an argument to a function is interpreted as : (A) Address of the array (B) Value of the first element of the array (C) Address of the first element of the array (D) Number of elements of the array 39. Which of the following is the feature of stack ? (A) All operations are at one end (B) It cannot reuse its memory (C) All elements are of different data types (D) Any element can be accessed from it directly 40. What is the Postfix Expression for the following Infix (Inorder) expression ? 2*3-4/5 (A) 23*45/- (B) 23*-45/ (C) 23*45-/ (D) *23/45- 41. Binary search requires data to be in what order ? (A) Increasing (B) Decreasing (C) Random (D) Sorted 42. You are making your own database so that you can organize information about your ‘Top 100’ movies. You want to include information like Title, Actor (s), Director, Year etc. Each record in your database will represent : (A) An actor (B) A director (C) A year (D) A movie 43. What will be a suitable criterion that should be entered for a query to search for Employee Names beginning with M ? (A) Start with M (B) Like M (C) Like M* (D) Like ‘M*’ 44. A field that is a primary key in another table is called a _______ . (A) special key (B) foreign key (C) simple key (D) composite key 45. This aggregate SQL function will return the number of rows in a database table : (A) COUNT (*) (B) Rows (*) (C) NUM (*) (D) SUM (*) Computer Science/209101 4 46. INSERT INTO __________ VALUES (value 1, value 2) : What belongs in the blank ? (A) the table name (B) the database name (C) the column (s) name (D) the row number 47. Convert the hexadecimal number 59 into binary : (A) 1001101 (B) 1010101 (C) 1011001 (D) 1101101 48. For a three inputs (A, B, C) OR gate, what inputs are needed if output = 0 ? (A) A = 0, B = 0, C = 1 (B) A = 0, B = 1, C = 0 (C) A = 1, B = 1, C = 1 (D) A = 0, B = 0, C = 0 49. Given F = A ́B+ (C ́+E) (D+F ́), use de Morgan’s theorem to find F ́. (A) ACE ́+BCE ́+D ́F (B) (A+B ́) (CE ́D ́F) (C) A+B+CE ́D ́F (D) ACE ́+AD ́F+B ́CE ́+B ́D ́F 50. Which of the following functions equals the function: f=x+yz ́ ? (A) x (y ́+z) (B) (y+x) (z ́+x) (C) (y+x ́) (x ́+z ́) (D) (y+x) (x+z) For complete question paper here is the attachment |
|