22
351/2005 1. Which one of the following does not extend and java.awt component? a. Check box b. Canvas c. Check box group d. Label 2. Which is default layout manager for panels and applets? a. Flow layout b. Grid layout c. Border layout d. None 3. In C the operator / can be applied to a. integer b. float c. double d. all 4. The bitwise OR operator is used to a. set of desired bits to 1 b. set of desired bits to 0 c. divide numbers d. multiply numbers 5. Explicit type conversion is a. Casting b. Conversion c. Disjunction d. Separation

3.351 2005 with ans

Embed Size (px)

Citation preview

Page 1: 3.351 2005 with ans

351/2005

1. Which one of the following does not extend and java.awt component?

a. Check box

b. Canvas

c. Check box group

d. Label

2. Which is default layout manager for panels and applets?

a. Flow layout

b. Grid layout

c. Border layout

d. None

3. In C the operator / can be applied to

a. integer

b. float

c. double

d. all

4. The bitwise OR operator is used to

a. set of desired bits to 1

b. set of desired bits to 0

c. divide numbers

d. multiply numbers

5. Explicit type conversion is

a. Castingb. Conversionc. Disjunctiond. Separation

6. Which operator has the lowest priority

a. ++

b. %

Page 2: 3.351 2005 with ans

c. +

d. ||

7. Integer division results in

a. rounding the fractional part

b. truncating the fractional part

c. floating value

d. an error is generated

8. ------ transforms one interface to another

a. program

b. software

c. data

d. none

9. HSAM

a. Hierarchical Sequential Access Method

b. Hierarchical Standard Access Method

c. Hierarchical Sequential and Method

d. Hierarchical Standard and Method

10. Not a Logical database structure

a. Chain

b. Network

c. Tree

d. Relational

11. Which file in MSDOS contains internal commands that are loaded during booting process

a. IO.sys

b. MSDOS.sys

c. Command.com

d. Config.sys

12. Which type of commands in DOS needs additional files for their execution

Page 3: 3.351 2005 with ans

a. Internal commands

b. External commands

c. Batch commands

d. Redirectors

13. What is the name of the batch file that is automatically run when MSDOS is booted?

a. RUN.BAT

b. CONFIG.SYS

c. CONFIG.BAT

d. AUTORUN.BAT

14. Tool to fix disk errors

a. FDISL

b. SCANDISK

c. CHKDSK

d. FIXDSK

15. FAT

a. File Accomodation Table

b. File Access Type

c. File Allocation Table

d. File Activity Table

16. Which command in DOS can be used to recover accidentally deleted files?

a. Undelete

b. Delete/Cancel

c. Restore

d. Recover

17. Not a multitasking OS

a. Win 98

b. Win NT

c. Win XP

Page 4: 3.351 2005 with ans

d. MSDOS

18. When a computer is first turned on or restored a special type of absolute loader called a ----- is executed

a. Compiler and go loader

b. boot loader

c. boot strap loader

d. relating loader

19. Poor response times are usually caused by

a. process busy

b. high I/O rates

c. high programming rates

d. any of the above

20. Not a utility

a. Debugger

b. Editor

c. Spooler

d. All

21. A co-processor

a. is relatively easy to support in software

b. causes a processors to function equally

c. works with any application

d. is quite common in modern computers

22. A sequence of instructions from one place in program to another

a. Route

b. Path

c. Sub path

d. Gateway

23. To test a function the programmer has to write a --- which calls the function and passes its test data

Page 5: 3.351 2005 with ans

a. stub

b. driver

c. proxy

d. none

24. Fastest access time

a. semiconductor memories

b. magnetic disks

c. magnetic tapes

d. compact disks

25. Separate R/W heads are required in which memory access schemes

a. random access

b. sequential access

c. direct access

d. none

26. SCSI is related to

a. storage

b. N/W data transfer

c. keystroke rate

d. picture resolution

27. Store single binary digit

a. capacitor

b. flip flop

c. register

d. inductor

28. Unit to count the speed of printer?

a. CPM

b. DPI

c. PPM

Page 6: 3.351 2005 with ans

d. BIT

29. Which of the following orgnanizations looks at standards for representation of data on the internet?

a. ISOC

b. W3C

c. IEEE

d. IETE

30. Other name of LAN card

a. NIC

b. Network connector

c. MODEM

d. Internet card

31. Founder of Oracle

a. Bill gates

b. Lars Ellison

c. Andrew a Grove

d. Marc Anderson

32. Macromedia is a name of a company related with

a. hardware

b. software

c. peripherals

d. services

33. Address given to a computer connected to a network

a. system address

b. SYSID

c. process ID

d. IP address

34. Direct X

a. computer part

Page 7: 3.351 2005 with ans

b. software that drives graphic h/w

c. user interface

d. none

35. When you purchase a product over a mobile phone the transactions are called

a. Web commerce

b. E-commerce

c. M-commerce

d. Mobile purchases

36. Clear the contents of the buffer in ASP?

a. Use response.clear

b. Use response.end

c. Use response.flush

d. Use response.write

37. Different cursor types in ASP

a. Add open dynamic

b. Add open forward only

c. Add open key set

d. ALL

38. Record set object

a. A place where records are held

b. A temporary space for executing query

c. A connecting object between front end and back end

d. A provider for data base application

39. To execute another ASP page within another ASP page?

a. Use the server object

b. Use the redirect method of response

c. Use hyperlink

d. All

Page 8: 3.351 2005 with ans

40. What are the different types of cursor locations available in ASP?

a. Add use client

b. Add use server

c. All

d. None

41. Mistakes that cause a program to produce erroneous results

a. linker errors

b. logic errors

c. compiler errors

d. syntax errors

42. In programming terms, a group of characters inside a set of quotation marks is

a. variable

b. operation

c. statement

d. string constant

43. The character array A[12] can hold

a. 12 chars

b. 13 chars

c. 11 chars and null string

d. 12 chars and null string

44. If you place a ; after test expression in a while loop, it is

a. pre-test loop

b. post-test loop

c. null statement

d. infinite loop

45. Arrays may be ---- at the time they are ----

a. resized, executed

b. re-scoped, deleted

Page 9: 3.351 2005 with ans

c. initialized, declared

d. pre-compiled, type cast

46. Members of a class object are accessed with the

a. dot operator

b. cin object

c. extraction operator

d. stream insertion operator

47. The – decodes an instruction and generates an electric signal

a. ALU

b. Main memory

c. BIOS

d. Control unit

48. The ---- may be used to read information from a file

a. cin object

b, file.read() method

c. file.in macro

d. none

49. Class declarations stored in

a. diskettes

b. under pseudonyms

c. in .cpp files along with function definition

d. in their own header files

50. C++ requires that a copy constructor parameter be a

a. integer

b. floating point

c. pointer

d. reference object

51. In the statement template <class T>, T represent

Page 10: 3.351 2005 with ans

a. The name of the function template

b. T stands for Template

c. A generic data type that is used in fn template

d. The int data type

52. A ---- is used in a function template to specify a generic data type

a. dummy variable

b. exception

c. catch block

d. type parameter

53. A function template’s prefix contains --- in angle brackets

a. one or more generic data types

b. the function declaration

c. the constant values

d. the functions return type

54. Appending a node means adding it to the end of a list. – a node means putting a new node in the list but not necessary at the end.

a. concatenating

b. popping

c. clamping

d. adding

55. DNS

a. Domain Name System

b. Digital Node Subscriber

c. Dynamic Name Sercer

d. None

56. The language resembling Java for the creation of web pages

a. java applets

b. jpeg

c. jdk

Page 11: 3.351 2005 with ans

d. java script

57. A type of file available on the internet which can be read by the acrobat reader

a. flat file

b. signature file

c. pdf file

d. binary file

58. Programs written in java for producing special effects in web pages

a. java script

b. jpeg

c. jdk

d. java applets

59. # is called

a. Token passing operator

b. Stringizing operator

c. Directive operator

d. None

60. The file in DOS that set up the machine for operation

a. io.sys

b. autoexec.bat

c. command.com

d. config.sys

61. Which insn used with BCD arithmetic operator

a. DAA

b.AAD

c.AAM

d.None

62. Describes the syntac of tokens

a. regular expressions

Page 12: 3.351 2005 with ans

b. context free grammar

c. non-context free grammar

d. none

63. ___ implements recursive descent parsing by handling a stack of activation records explicitly

a. top-down parsing

b. shift reduce parsing

c. predictive parsing

d. none

64. The phase that separates source language to tokens

a. syntax analyser

b. parser

c. lexical analyser

d. passes

65. The ruler that gives meaning to programs

a. semantics

b. syntax

c. compiler

d. none

66. The program that takes the object file generated by the assembler program

a. assembler

b. loader

c. editor

d. none

67. ____ is assembler directive

a. ORG

b. AND

c. LXI

d. none

Page 13: 3.351 2005 with ans

68. The process of accessing information on a floppy disk is

a. random

b. serial

c. semi random

d. none

69. The editor is

a. an ALP that reads and writes the information on the disk

b. a HLL pgm that allows the user to write programs

c. a pgm that allows the user to write , modify and store text in the computer

d. all

70. A stack is

a. an 8-bit register in the microprocessor

b. an 16-bit register in the microprocessor

c. a set of memory locations in R/W reserved for storing information temporarily during the execution of a program

d. 16-bit memory address stored in the program counter

71. When a subroutine is called the address of the instruction following the CALL instruction is stored in the

a. stack pointer

b. accumulator

c. program counter

d. stack

72. A disk controller is

a. program that manages file on disk

b. circuit that interfaces the disk with microcomputer

c. mechanism that controls the spinning of disk

d. program that manages disk allocation

73. __________ is non-maskable interrupt

a. RST 7.5

Page 14: 3.351 2005 with ans

b. INTR 8085

c. TRAP

d. none

74. Int 14H

a. keyword interrupt

b. controls the serial COM ports attached to the computer

c. controls many of the various i/o devices interfaced to the computer

d. none

75. The interleaving of CPU and I/O operations is

a. TS

b. Multithreading

c. Multiprogramming

d. none

76. __ is a vertical column of bit cells of all the words at the same position

a. bit array

b. bit slice

c. bit series

d. bit vector

77. Register to enable and disable the bit slices to be involved in the parallel comparison operations

a. comparand operator

b. masking reg

c. indicator reg

d. temp reg

78. Err objects default property is

a. Err.clear

b. Err.description

c. Err.source

d. Err.numbers

Page 15: 3.351 2005 with ans

79. Not a C token

a. Keywords

b. Backslash

c. Constants

d. Identifier

80. Ex of user defined type declaration

a. int

b. char

c. float

d. enum

81. ReDim used for

a. declaring dynamic array

b. declaring array

c. to change the size of dynamic array

d. to declare multi dimension arrays

82. The switching circuit in which the source and destination data rate must be the same

a. Circuit switching

b. Message switching

c. Virtual circuit service

d. none

83. not belongs to LAN topologies

a. bus

b. star

c. circle

d. logical

84. ______________ is a device used to bridge different network architecture

a. router

b. gateways

Page 16: 3.351 2005 with ans

c. interfaces

d. none

85. full duplex mode of transmission is in

a. 4-wire modems only

b. 2-wire ..

c.2 wire or 4 wire modems

d. not in ,,

86. Secondary channel in modem uses

a. ASK

b. FSK

c. PSK

d. None

87. one of the functions of the training sequence

a. test the modems

b. synchronise the descrambler

c. test the DTE

d. all

88. High speed modems for switched telephone connections are equipped with

a. adaptive equalizers

b. fixed ,,

c. manually adjustable ,,

d. adaptive and fixed ,,

89. Echo controller is req in

a. 4-wire full duplex high speed modems

b. 2-wire ,,

c. 2-wire half ,,

d. all

90. Two level logic means

Page 17: 3.351 2005 with ans

a. logic high, logic low

b. each i/p signal has to pass thru 2 gates to reach the o/p

c. fluctuating logic

d. none

91. Register that holds digital data temporarily

a. buffer register

b. flip flop

c. latch

d. none

92. A group of flipflops storing data

a. register

b. counter

c. trigger

d. none

93._____ is the first pgm to run whn the computer boots up.

a. SS

b. OS

c. Sys operations

d. none

94. A pulse used to initiate a change in the state of a logic circuit

a. clock

b. trigger

c. adder

d. counter

95. URL

a. Understanding Reserve Links

b. United Resource Locator

c. Uniform Resource Locator

Page 18: 3.351 2005 with ans

d. Unified Resource Link

96. operator which cannot be overloaded

a. +

b. *

c. ++

d. sizeof

97. store the details of a user without database

a. cookies

b. text file

c. file concept

d. all

98. Not a string data transfer insn of 8085

a. INS

b. CMPS

c. LODS

d. STOS

99. Also called comparator

a. AND

b. OR

c. EXOR

d. None

100. Does not extend Java long number

a. Integer

b. Long

c. Boolean

d. Short

Page 19: 3.351 2005 with ans
Page 20: 3.351 2005 with ans