0% found this document useful (0 votes)
99 views

Guidelines

The document provides general instructions for a written test paper for teacher selection. It includes 10 items with details on not opening the booklet until instructed, filling out personal information on the answer sheet, the duration and structure of the test, prohibited behaviors during the test, and instructions for filling out the answer sheet and doing rough work. It also provides the heading for the test questions and lists the first 30 multiple choice questions to be answered.

Uploaded by

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

Guidelines

The document provides general instructions for a written test paper for teacher selection. It includes 10 items with details on not opening the booklet until instructed, filling out personal information on the answer sheet, the duration and structure of the test, prohibited behaviors during the test, and instructions for filling out the answer sheet and doing rough work. It also provides the heading for the test questions and lists the first 30 multiple choice questions to be answered.

Uploaded by

Sunil Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ARMY WELFARE EDUCATION SOCIETY

WRITTEN TEST PAPER FOR TEACHERS SELECTION: 09 DEC 2012


PART-‘B’ : Computer Science / I P (PGT) : SUBJECT CODE : (P51)
GENERAL INSTRUCTIONS
1. DO NOT open this booklet until you are asked to do so.

2. FILL SCHOOL CODE, REGN NUMBER ON OMR ANSWER SHEET CAREFULLY AND SIGN ON THE
RIGHT BOTTOM CORNER OF OMR SHEET.

3. Total duration of the test is 2 Hours and Maximum Marks are 120.

4. There are total 100 questions. All questions are objective type-multiple choices. All questions
carrying equal marks.

5. DO NOT write anything on this question booklet.

6. After the test, please return this booklet along with OMR-Answer sheet to the invigilator.

7. You are not allowed to leave the examination hall before 1300h.

Instructions for filling the OMR Sheet

8. Read instructions printed on the OMR Sheet carefully before answering. Each item has four
choices; A, B, C and D. Each choice is denoted by a circle. Shade the appropriate circle using
Blue/Black Pen. Be absolutely sure of your option before shading the circle since you are not
permitted to erase your response once shaded. More than one response will make your
answer invalid. There is NEGATIVE MARKING for wrong answer.

Rough Work

9. For any rough work use the separate sheet provided along with the text booklet. DO NOT do
any rough work on the answer sheet or any other paper.

P51 - 1
P51 - 2
PAPER - B
WRITTEN TEST PAPER FOR SELECTION OF TEACHERS : CSB 2013
COMPUTER SCIENCE / INFORMATICS PRACTICE (PGT) : SUBJECT CODE : P51
1. The maximum frequency at which digital data can be applied 16. Which of the following algorithm solves the all-pair shortest
to a gate is defined as path problem?
(a) Operating speed (b) Propagation speed (a) Dijikstra’s algorithm (b) Floyd’s algorithm
(c) Transaction period (d) Propagation delay (c) Prim’s algorithm (d) Warshall’s Algorithm
2. The octal equivalent of 111010 is 17. Which of following software engineering concepts does Ada
(a) 81 (b) 71 Language support?
(c) 72 (d) none of the above (a) Abstraction (b) Generic
(c) Information hiding (d) All the above
3. Which of the IC has only one input line?
(a) Multiplexer (b) Demultiplexer 18. The system identifies a file by its
(c) AND gate (d) BCD to decimal decoder (a) name (b) inode number
(c) absolute path (d) file owner
4. According to Boolean algebra A+A+A+...A is
(a) nA (b) A/n (c) 1 (d) A 19. The fundamental switching action of a TTL gate is based on a
(a) Multiple-emitter input transistor
5. Which logic function has the output low only when all inputs (b) Diode
are high? (c) Synthesizer
(a) AND (b) NAND (c) OR (d) NOR (d) None of the above
6. Which of the following is not a register? 20. Testing beyond normal operational capacity, often to a
(a) Buffer (b) Stack breaking point, in order to the result is termed as
(c) Program Counter (d) Accumulator (a) Integration testing (b) Stress testing
(c) Unit testing (d) Term test
7. Which command in DOS would be used to duplicate the
entire diskette? 21. A locked file can be
(a) COPY DSK (b) CHKDSK (a) Accessed by only one user.
(c) COPY CON (d) DISKCOPY (b) Modified by the users with the current password
(c) Used to hide sensitive information
8. Indicate which is preemptive scheduling algorithm (d) Both (a) and (b)
(a) Round-Robin (b) Shortest Job Next
(c) Deadline (d) First come first serve 22. ActiveX is advanced form of
(a) OLE (b) OCX (c) ADO (d) DAO
9. A page fault
(a) is an error on a specific page. 23. Which of following can be an Ethernet physical address?
(b) occurs when a program accesses a page of memory. (a) 01:02:01:2C:4B (b) 07:06:01:02:2C:4b:2C
(c) is an access to a page not currently in memory. (c) 07:01:02:01:2C:4B (d) None of these
(d) is a reference to page belonging to another program.
24. In an OSI model, as a data packet moves from the lower to the
10. Interval between the time of submission and completion of upper layers, headers are
the job is called (a) Added (b) Removed (c) Rearranged (d) modified
(a) Waiting Time (b) Turnaround Time
(c) Throughput (d) Response Time 25. A channel whose direction of transmission is unchanging is
referred to as
11. An assembler is (a) Full-duplex channel (b) Half-duplex channel
(a) Programming language dependent. (c) Simplex channel (d) duplex
(b) Syntax dependant.
(c) Machine dependant. 26. Which protocol is for data transmission and is bi-directional,
(d) Data dependant. used in the data link layer that corresponds to layer 2 of OSI
model
12. Situation where two or more processes are reading or (a) Sending window
writing some shared data and the final result depends on (b) Sliding window protocol
who runs precisely when, are called (c) Stop and wait ARQ
(a) Race condition (b) Critical section (d) Sliding window
(c) Mutual exclusion (d) Message passing
27. A special eight-bit sequence ________ is referred to as a flag
13. The main function of the dispatcher is to (a) 01111111 (b) 11101110 (c) 11101110 (d) 01111110
(a) Swapping a process to the task.
(b) Assign ready process to the CPU. 28. A logical schema
(c) Suspending some of the processes when the CPU load is (a) is the entire database.
high. (b) is a standard way of organizing information into
(d) Bring processes from the disk to the main memory. accessible parts.
(c) describes how data is actually stored on disk.
14. Consider a computer with 8 Mbytes of main memory and (d) both (a) and (c)
128K cache. The cache block size is 4 K. It uses a direct
mapping scheme for cache management. How many different 29. A 4-bit synchronous counter uses flipflops with propagation
main memory blocks can map onto a given physical cache delay times of 15 ns each. The maximum possible time
block? required for change of state will be
(a) 2048 (b) 56 (a) 30 ns. (b) 45 ns. (c) 15 ns. (d) 60 ns.
(c) 64 (d) 32
30. Choose the correct one
15. Lynx is (a) Address operator can not be applied to register variables
(a) Operating System. (b) Address operator can be applied to register variables
(b) Browser of UNIX. (c) Use of register declaration will increase the execution
(c) It is available on internet for free time
(d) All of above (d) None of the above P51 - 3
31. The attribution of human form or qualities to things such as 43. Give the output of the following program
machines or computers is called? #include <iostream.h>
(a) Cybernetics (b) Anthropomorphism void main()
(c) Cybernation (d) Artificial intelligence {
int a[]={1,5,8,12,43};
32. Which of the following tools is not normally used during int *p=a+3;
system analysis? int c=++*p++;
(a) Program flow chart (b) Grid chart cout<<endl<<c<<" "<<*p;
(c) System flow chart (d) Question check-list }
33. The world’s first single chip Microprocessor (a) 13 43 (b) 42 12
(a) Intel 8080 (b) Intel 4004 (c) 12 43 (d) 43 13
(c) Intel 8048 (d) 80386DX
44. Give the output of the following program
34. India’s fastest super computer #include <iostream.h>
(a) EKA (b) PARAM 20000 void main()
(c) SAGA-220 (d) Flosolver-MK18 {
int i=1;
35. Prior to 1924, IBM was known as for(; i<=3;)
(a) Tabulator Machine Co. cout<<i++;
(b) The Tabulator Ltd. }
(c) International computers
(d) Computer Tabulating Recording Co. (a) 321 (b) 123
(c) 111 (d) No Output
36. The ASCII code is
(a) Numeric code (b) same as BCD code 45. Give the output of the following program
(c) an alphanumeric code (d) four bit code #include <iostream.h>
void main()
37. Which gate corresponds to the action of parallel switches? {
(a) OR gate (b) AND gate int a[]={20,30,40,50};
(c) NAND gate (d) NOR gate cout<<-2[a];
}
38. The race condition is related to
(a) Sequential Circuit (b) Digital Circuit (a) -40 (b) -20
(c) Synchronous Circuit (d) Synchronous Circuit (c) 20 (d) 40
39. What is the name of the arrangement whereby several 46. Give the output of the following program
central processing units share one memory? #include <iostream.h>
(a) Multitasking (b) Multiprogramming void main()
(c) Multiprocessing (d) Concurrent programming {
cout<<sizeof(5.4);
40. An incremental backup }
(a) should be done each month
(b) saves only files that have been recently changed (a) No output (b) 4
(c) uses more tapes (c) 0 (d) 8
(d) saves all files
47. Give the output of the following program
41. Give the output of the following program #include <iostream.h>
#include <iostream.h> #define x 5+2
void main() void main()
{ {
int x[]={5,1,9,7,2,8}; int k=x*x*x;
int *q=x; cout<<k;
int p=*q;cout<<endl<<p; }
p=*q++;cout<<endl<<p;
p=*q;cout<<endl<<p; (a) Error
p=*++q;cout<<endl<<p; (b) 343
} (c) 27
(d) No output
(a) 1 1 2 3
(b) 5 5 1 9 48. Give the output of the following program
(c) 5 5 5 1 #include <iostream.h>
(d) No output #define x 5
void main()
{
42. Give the output of the following program int k=x++;
#include <iostream.h> cout<<k;
void main() }
{
int x[]={5,2,6,9,8}; (a) 5 (b) 6
int *p,**q,*t; (c) No output (d) Error - Lvalue required
p=x;
t=x+1; 49 Give the output of the following program
q=&t; #include <iostream.h>
cout<<endl<<*++p<<" "<<**q<<" "<<*t++; #define N(x,y) x##y
} void main()
{
(a) 1 1 1 1 (b) 5 2 6 cout<<N(5,6);
(c) 2 6 2 (d) 2 6 9 }
(a) 0 (b) No output
(c) 56 (d) Error
P51 - 4
50. Shyam designed a game which requires random numbers 65. An IPv6 address has ___ groups of hexadecimal characters.
between 203 to 227 (both inclusive). He will write which of (a) 8 (b) 4 (c) 6 (d) 12
the following statement in his program:-
(a) k= random(25)+203; (b) k= random(203)+25; 66. Which of the following is not a primary object of ASP Object Model?
(c) k= random(203)+227; (d) k= random(25)+227; (a) The Request object (b) The Response object
(c) The Server object (d) The code object
51. The resolution offered by SVGA is (in pixels)
(a) 1024x768 (b) 720x348 67. In ASP buffer is cleared by :
(c) 1280x1024 (d) 640x350 (a) Clean method (b) Flush method
(c) Clear method (d) Buffer method
52. Which of the following does not generate a hardware
interrupt? 68. Before it is published, a flash document, while it is being
(a) Printer (b) Program error developed, has the extension
(c) Hard Disk (d) Floppy disk (a) .fif (b) .fls
(c) .swf (d) .fla
53. Which of the following operation is used if we are interested
in only certain columns of a table? 69. Suppose a class has public visibility. In this class we define
(a) PROJECTION (b) SELECTION a protected method. Which of the following statements is
(c) UNION (d) JOIN correct?
(a) This method is accessible from within the class itself and
54. The natural join is equal to: from within all classes defined in the same package as
(a) Cartesian Product the class itself.
(b) Combination of Union and Cartesian product (b) This method is only accessible from inside the class itself
(c) Combination of selection and Cartesian product and from inside all subclasses.
(d) Combination of projection and Cartesian product (c) In a class, you can not declare methods with a lower
visibility than the visibility of the class in which it is
55. Which one of the following is not true for a view? defined.
(a) View is derived from other tables. (d) From within protected methods you do not have access to
(b) View is a virtual table. public methods.
(c) A view definition is permanently stored as part of the
database. 70. Given the following piece of code:
(d) View never contains derived columns. public interface Guard{ void
doYourJob(); }
56. Which of the following describes the physical storage abstract public class Dog implements
structure of a database? Guard{}
(a) External level (b) Internal level
(c) Conceptual model (d) All of these Which of the following statements is correct?
(a) code will not compile, because method doYourJob() in
57. The ______ allows for automatic deletion of child records interface Guard must be defined abstract.
when a parent record is deleted. (b) code will not compile, because class Dog must implement
(a) force delete (b) on delete enable method doYourJob() from interface Guard.
(c) on delete cascade (d) enable delete (c) code will not compile, because in the declaration of class
Dog we must use the keyword extends instead of
58. A friend function of a class is a function that implements.
(d) This code will compile without any errors.
(a) is not a member of a class but allowed to use private and
protected members. 71. Which of the following statements about GUI components is
(b) is a member of class and allowed to use private and wrong?
protected members. (a) Swing exists since version 1.2 of the jdk.
(c) is a member of class and allowed to use only private (b) The AWT classes are deprecated.
members. (c) AWT stands for Abstract Window Toolkit
(d) is not a member of a class and not allowed to use private (d) You can not place AWT components on Swing containers.
and protected members.
72. Which of the following is a java keyword?
(a) transient (b) strictfp (c) native (d) all of these
59. A static data member is different from ordinary data member
of class as 73. Input stream class is :
(a) Its declaration can be done outside class definition. (a) An interface defined in the java.io package
(b) Only one copy of this data member is maintained for (b) A byte stream class used to read bytes from a file
entire class. (c) An abstract class which contain method to read
(c) Its definition must be inside the class definition. 8 bit-bytes
(d) All of the above. (d) A class used to read primitive data types
60. The prefix form of A-B/(C*D^E) is: 74. Which of the following positions the components into five
(a) -/*^ACBDE (b) -ABCD*^DE regions: east, west, north, south, center
(c) -A/B*C^DE (d) -A/BC*^DE (a) BorderLayout (b) CardLayout
(c) GridLayout (d) FlowLayout
61. Which one of the following is not an attribute of <HR> tag?
(a) Align (b) bgcolor (c) Size (d) Noshade 75. What will be the output of the program?
public class MyProgram
62. Which attribute of <table> tag is used to set background color { public static void main(String args[])
of table? { try { System.out.print("Hello
(a) background (b) colorbg world "); }
(c) bgcolor (d) backcolor finally{
System.out.println("Finally executing "); }
63. The default value of Frame attribute of table tag is: }}
(a) ABOVE (b) BELOW (c) HSIDES (d) VOID
(a) Nothing. The program will not compile because no
64. Which of following is not true about XML? exceptions are specified.
(a) XML is content markup language. (b) Nothing. The program will not compile because no catch
(b) XML is display driven. clauses are specified.
(c) XML is strictly interpreted. (c) Hello world Finally executing
(d) XML requires validation. (d) Hello world. P51 - 5
76. A constructor 88. The method wait() and notify() are defined in
(a) must have the same name as the class it is declared within. (a) Java.lang.object (b) Java.lang.thread
(b) is used to create objects. (c) Java.lang.string (d) Java.lang.thread group
(c) may be declared private
(d) a, b and c 89. Java Stream classes can be categorised into two groups:
(a) Stream and String Classes
77. Gopher Service is? (b) Byte and Character Stream Classes
(a) Design to act as a distributed document delivery system. (c) String and Character Stream Classes
(b) Is multiple access portal. (d) Buffer and Character Stream Classes
(c) Is email service.
(d) None of the above 90. Which of the following arranges the components
horizontally
78. What is a spider? (a) BorderLayout (b) CardLayout
(a) A computer virus (c) GridLayout (d) FlowLayout
(b) A program that catalogs Web Sites
(c) A hacker 91. What is byte code in the context of Java?
(d) A spying software (a) The type of code generated by a Java compiler
(b) The type of code generated by a Java Virtual Machine
79. In HTML web page, if the background image is smaller than (c) It is another name for a Java source file
the screen, what will happen? (d) It is the code written within the instance methods of a
(a) It will be stretched class.
(b) It will be pasted in center of screen
(c) It will be repeated 92. Which cannot directly cause a thread to stop executing?
(d) It will leave blank space at bottom of web page. (a) Calling the SetPriority() method on a Thread object.
(b) Calling the wait() method on an object.
80. Which attribute of <table> tag is used to set amount of space (c) Calling notify() method on an object.
between the edges of the cell & its contents? (d) Calling read() method on an InputStream object.
(a) Hspace (b) Cellpadding
(c) Cellspacing (d) Align 93. The method which belong to string class is
(a) substring( ) (b) length()
81. The default value (PIXELS) of CELLSPACING attribute of table (c) equals() (d) compare to()
tag is:
(a) 2 (b) 4 (c) 3 (d) 6 94. What is garbage collection in the context of Java?
(a) The operating system periodically deletes all of the java
82. Which of following is not a building block of XML document? files available on the system.
(a) ELEMENTS (b) FRAMES (b) Any package imported in a program and not used is
(c) PCDATA (d) CDATA automatically deleted.
(c) When all references to an object are gone, the memory
used by the object is automatically reclaimed.
83. This component provides network traffic control including (d) The JVM checks the output of any Java program and
rate-of-flow and prioritization services. deletes anything that doesn't make sense.
(a) Client for Microsoft Networks
(b) Link-Layer topology discovery responder 95. In ASP objects have properties, methods, events and :
(c) Internet protocol version 6 (a) Collections (b) Containers
(d) QoS Packet Scheduler (c) Counters (d) Locks
84. Given the following piece of code: 96. What is the name of the method used to start a thread
public class Test { public static void execution?
main(String args[]) (a) init( ); (b) start( );
{ int i = 0, j = 5 ; (c) run( ); (d) resume( );
for( ; (i < 3) && (j++ < 10) ; i++ ) {
System.out.print(" " + i + " " + j ); } 97. Two’s compliment of 1010.01 is
System.out.print(" " + i + " " + j ); } } (a) 0101.11 (b) 0100.10
(c) 0100.11 (d) 0101.10
What will be the result?
(a) 0 6 1 7 2 8 3 8 (b) 0 6 1 7 2 8 3 9 98. Dirty bit is used to show the
(c) 0 5 1 5 2 5 3 5 (d) Compilation fails (a) Page with corrupt data.
(b) The wrong page in the memory.
85. Given the following piece of code: (c) Page that is modified after being loaded into cache
public class Company{ public abstract memory.
double calculateSalaries();} (d) The page is less frequently accessed.
Which of the following statements is true? 99. Which of following is a term that applies to the spacing
(a) The keywords public and abstract cannot be used between text characters?
together. (a) leading (b) tracking
(b) The method calculateSalaries() in class Company must (c) scripting (d) kerning
have a body.
(c) You must add a return statement in method 100. A bitmap compression format for storing graphic file data.
calculateSalaries(). (a) .fif (b) .AVI (c) .ogg (d) .AU
(d) Class Company must be defined abstract.
86. Which collection class associates values with keys, and
orders the keys according to their natural order?
(a) java.util.HashSet (b) java.util.LinkedList
(c) java.util.TreeMap (d) java.util.SortedSet
87. Which of the following is not java keyword?
(a) break (b) package
(c) static (d) imports

P51 - 6

You might also like