Vous êtes sur la page 1sur 9

STESs Sinhgad Institute of Technology, Lonavala

QUESTION BANK
Fundamental of Programming Language II

Q1. Which is not a open source operating system:


A. Debian

B. BSD Unix C. Gentoo & Red Hat Linux D. Windows

Q2. Which are the architectural paradigms in microprocessor:


A. RISC

B. CISC

C. PICS

D. A & B

Q3. BIU stands for


A. Bus Interface Unit

B. Binary Interface Unit

C. Boolean Interface Unit

D. None of these

Q4. Which of the following is not a basic element within microprocessor?


A. Microcontroller

B. ALU

C. Register array

D. Control unit

Q5. The first Intel microprocessor to contain on-board cache memory was the----A. 1-bit data bus

B. 2-bit data bus

C. 4-bit data bus

D. 8-bit data bus

Q6. Pentium microprocessor has a data bus of ---A. 16 bits

B. 32 bits

C. 64 bits

D. 128 bits

Q7. Which of the following is not a design improvement for 8086/8088 over the 8085?
A. EU

B. 16-bit data bus

C. ALU

D. BIU

Q8. Which of the following is not an 8086/8088 general purpose register?


A. Code Segment

B. Data Segment

C. Stack Segment

B.0111

C. 1111

D. Address Segment

Q9. (15)10=(? )2
A. 0110

D. 1110

Q10. Which of the following is not a valid storage medium?


A. Zip Disk

B. Floppy Disk

C. Hard Disk

D. None of these

Q11. What is full form of LAN


A. Local Area Network
FE (2012-13)

B. Large Access Network


FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


C. Long Antenna Network

D. None of these

Q12. The following are example of computer storage devices except


A. diskettes(floppy)

B. zip disks

C. scanners

D. hard drives

Q13. This the first microprocessor released by Intel


A. 2040
8086

B. 8085

C. 4004

D.

Q14. (1111)2+(0011)2=(?)2
A. (0010)2 wit h carry 1

B. (0010)2

C. (1111)2

D. (1110)2

Q15. 80386 has ----bit data and ----bit address bus


A. 3232

B. 2432

C. 1632

D. Both 1 & 2

Q16. Term MMU Stands for


A. Most Manageable unit

B. Memory master unit

C. Microprocessor mathematical unit

D. Memory Management unit

Q17. Direction flag is a type of----flag


A. Status

B. Control

C. Resultant

D. Both 1 & 2

Q18. Term operand is a part of an instruction refers to---A. Operation

B. Service

C. Method

D. Data

C. (0001)2

D. (1101)2

C. (1111)2

D. None of above

Q19. 2s complement of (1111)2 is


A. (1111)2

B. (0000)2

Q20. (0101)2( 0010)2=(?)2


A. (1010)2
Q21

Q22

B. (1101)2

What kind of list will give the item at position n easily?


a) List Implemented with an array
b) Doubly linked list
c) Singly linked lists
d) Doubly linked or singly linked lists are
equally best
Suppose pointer ptr points to a node in a linked list. Which of the following statement changes ptr

FE (2012-13)

FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


so that it points to the next node?

Q23

Q24
Q25
Q26
Q27
Q28
Q29
Q30
Q31
Q32

Q3
3
Q3
4
Q3
5

a) Ptr++;
b) Ptr=link;
c) Ptr->ptr+link;
d) Ptr=ptr->link
Which of the following can be used as a criterion for classification of data structure used in
language processing?
a) Nature of data structure
b) purpose of data structure
c) lifetime of data structure
d) all of the above
A reference variable store.
a) Address
b)Information
C )Data
e) none
To allocate memory for dynamic variable ,we use
a) free
b) delete
c) new
d) none
The data type of a node of a linked list is
a) array
b) struct
c) class
d) reference
A linked list node object must have how many members?
a) 0
b) 1
c) 2
d) More than 3
The smallest element of an arrays index is called its
a) Lower bound
b) upper bound
c) Range
d) all
In C language to implement the heterogeneous linked list. Pointer is used
a) void
b) Null
b) int
f) structure
According to storage strategies linked list is a
a) nonlinear
b) linear
c) sequential
d) dynamic
The node in a singly linked list can be deleted.
a) Without traversing the list
b) By traversing the list from the head
c) By traversing the list from the tail
d) All of the above
What is an ordered list
a) Where the address is ordered
b) Where the smaller items precede the larger
ones
c) Both a and b
d) none
An items can be inserted into -----------without moving any other items
a) list
b) an array if extra space is left empty
c) both a and b
d) none
An extra node at the front of the list ,which doesnt represent an item in the list iscalled
a) header node
b) list node
c) list header
d)both a and c
Kruskal and prims algorithm are used to find minimum spanning tree?

FE (2012-13)

FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala

Q3
6

Q3
7
Q3
8
Q3
9
Q4
0
Q4
1
Q4
2
Q4
3
Q4
4
Q45

Q46

a)true
b) false
Which one of these lists contains only java programming language keywords?
a) Classes ,if,void ,long ,int,continue
c) Try ,virtual
,throw,final,volatile,transient
Which is the valid keyword in java?

b) Class ,native, finally,default,throws


d) Constant,super,implement,do-while

a) Interface
b) String
c) float
d) unsigned
Which is the valid declaration within an interface definition?
a) Public double method()
c) Static void method(double d1)
Which one is a valid declaration of a Boolean?

b) Public final double method()


d) Protected void method(double d1)

a) Boolean b1={0}
c) Boolean B3=false;
What is the numerical range of char?

b) Boolean b2=FALSE;
d) Boolean b4=Boolean.false();

a) -128 to127
b) (215) to (215)-1
c) 0 to 32767
d) 0 to 65535
Sharing of common information is achived by concept of:
a) Dynamic binding
c) Inheritance
Full form of ADT

b) Encapsulation
d) Class

a) Abstract Definition Type


c) Abstraction Data type
Full form of JVM

b) Abstract data type


d) Agil data toolkit

a) Java virtual mechanism


c) Java virtual machine
Full form of JDK

b) Java variable machine


d) Java virtual mechanism

a) Java development toolkit


b) Java definition toolkit
c) Java data kit
d) Java declaration toolkit
To compile a java program ----command is used
a) Javac
b) Java
c)jcompile
d) Javadoc
When source file is successfully compiled ---------is generated
a) o/p
b) Bytecode
c) Error
d) None of above

FE (2012-13)

FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


Q47

Q48
Q49
Q50
Q51
Q52
Q53
Q54
Q55
Q56

Q5
7
Q5
8
Q5
9
Q6
0

The instance operator return a ---value


a) Boolean
b) Char
c) Int
d)byte
10 & 11
a) 21
b) 11
c) 10
d) 9
From following which is not branching statement
a) If
b) switch
c) while
d) if else ladder
In switch case if a matching case is not found ---is executed
a) else
b) break
c) default
d) none of these
What is the attribute for <image> tag
a) pt
b) url
c) path
d) src
Htm and .html are same (true/false)
A. true
B. False
Which of the following is the language of the web?
a) Basic
b) C++
c) MS visual basic
d) HTML
When creating web document,what format is used to express an image height and width?
a) Centimeter
b) Pixels
c) Dots per inch
d) Inches
Which of the following tag is used to insert line break?
a) <br/>
b) <lb/>
c) <break/>
e) <linebreak/>
What is the correct HTML for making a checkbox?
a)<input type=check>
b) <check>
c) <Checkbox>
In <img src=image.gif>, image.gif is an -

d) <input type=checkbox/>

a) Element
b) Attribute
c) Value
d) Operator
To include a local style within an HTML tag, which of the following attribute is used
a) Link
c) Format
Which is following basic color in HTML?
a) Blue
c) Green
What is the difference between HTML& XML?
a) HTML is used for exchanging

FE (2012-13)

FPL II

b) Local
d) Style

b) Red
d) Navy blue

b) XML is used for exchanging data ,HTML

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


the data, XML is not
is not
C) HTML can have user defined tags, XML
d) both B and C
cannot
Q61. Where are data & program stored when the processor uses them?
A. Main memory
memory

B. Secondary memory

C. Disk memory

D. Program

Q62. ----- communication uses single peer to peer system


A. SPI

B. I2C

C. UART

D. None of these

Q63. ASCII, EBCDIC, Unicode are examples of


A. two state systems B. integrated circuits C. binary coding scheme

D. adapter cards

Q64. Consists of a tiny circuit board etched on a stamp sized square of silicon
A. Chip

B. System board

C. CISC Chip

D. port

Q65. The parameters passed to a function are separated with


A. colon:

B. semicolon;

C. comma,

D. none of these

Q66. Connects input & output devices to the system unit via the ports
A. cables

B. System board

C. Data bus

D. port

Q67. Which of the function is used to read the digital output data of the ADC of the
PIC18F877?
A. read_adc()
these

B. accept_adc()

C. input_adc()

D. none of

Q68. Type of desktop monitor built like a television set


A. OMR device

B. image capturing device

C. optical scanner

D. CRT

Q69. The PIC18F877 has a ---- bit ADC


A. 5

B. 10

C. 23

D. 32

Q70. The starting index of an array is always


A. 0

B. -1

C. 1

D. none of these

Q71. Which of the parameter is passed by caller function?


A. informal

B. formal

C. actual

D. reference

Q72. The return type of a function that does not have any return type is declared as

FE (2012-13)

FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


A. void
these

B double

C. integer

D. none of

C. depends on condition

D. none of

Q73. Is while loop is an entry controlled loop?


A. false
these

B. true

Q74. Which condition is used for endless loop?


A. while(1)

B. for(x=0;x=1;x++) C. do{--}while(1)

D. if(1) else

Q75. Which of the following is the header file for PIC18F877 in MPLAB?
A. h. 16F877A
these

B. 16F877A.h

C. header.16F877A

D. none of

Q76. Which one of these is an iterative statement?


A. for loop
these

B. while loop

C. both of these

D. none of

Q 77. Which one of these is an conditional statement?


A. if - else
these

B. switch-case

C. both of these

D. none of

Q78. Bitwise not of (~) of 3 is


A. 6

B. 4

C. 2

D. none of these

B. *

C. %

D. none of these

B. 10

C. 11

D. none of these

Q79. What symbol if used for referencing?


A. &
Q80. 10&11 is
A. 12

Q81. Virtual machine used in android platform is


A. jvm

B. Kvm

C. Dvm

D. None of these

Q82. Latest version of Android released is


A. jellybean

B. Icecream

C. Gingerbread

D. Muffine

Q83. Status data will be exposed to the rest of the android system via
A. Intents

B. Content provider

C. Network receiver D. Altering permissions

Q84. If the UI begins to behave sluggish or crash while making network calls, this is likely due
to
FE (2012-13)

FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


A. network latency

B. Hardware malfunctions

C. Virus on the server

D. Activity manager contains too much

Q85. Creating a UI in Android requires careful use of


A. Java & SQL

B. XML & Java

C. XML & C++

D. Dreamweaver

Q86. What built in database is Android shipped with?


A. SQLite

B. Apache

C. MySQL

D. Oracle

Q87. Lists & adapters are more organizational aids than user interface elements in Android
A. true

B. False

Q88. There can be only one running activity at a given time


A. true

B. False

Q89. App Widgets are placed on the home screen by the user to check for updates available
A. true

B. False

Q90. Android is licensed under which open source licensing license


A. Gnus GPL

B. Apache/MIT

C. OSS

D. Sourceforge

Q91. Which was the first phone released that ran the Android OS?
A. Google gPhone

B. T-Mobile G1

C. Motorola Droid

D. HTC Hero

Q92. A device with Android installed is needed to develop apps for Android
A. true

B. False

Q93. Android is based on Linux for the following reason


A. Security

B. Portability

C. Networking

D. All of these

Q94. What does .apk stand for?


A. Application package
C. Android Proprietary kit

B. Application program kit


D. Android package

Q95. To create an emulator, you need to create an AVD. What does it stand for?
A. Android Virtual Display
C. Active Virtual Device

B. Android Virtual Device


D. Application Virtual Display

Q96. In an explicit intent, the sender specifies the type of receiver

FE (2012-13)

FPL II

sites.google.com/site/fe2013sit/

STESs Sinhgad Institute of Technology, Lonavala


A. true

B. False

Q97. Application contexts are independent of the activity life cycle


A. true

B. False

Q98. There is no guarantee that an activity will be stopped prior to being destroyed
A. true

B. False

Q99. An activity in stopped state is doing nothing


A. true

B. False

Q100. Application contexts are independent of the activity life cycle


A. true

FE (2012-13)

B. False

FPL II

sites.google.com/site/fe2013sit/

Vous aimerez peut-être aussi