Professional Documents
Culture Documents
smil?
semantic multimedia integrated language
http means-------
hyper text transfer protocol
----------class defines methods far displaying and sending chat messages and far managing a list
of users in the room
chat room
which function can be used to display an incoming user message in a text field?
display message ()
in an inheritance relationship between two classes, the extended class is called ------
base class
in an inheritance relationship between two classes, the class does not extending is called the
-----------
derived class
if class diagrams can be formal which diagramming specification can be used to drawn?
uml
which function can be used to change the users name in the user list?
onuserchangename ()
to setup the inheritance relationship between a and b, which keyword can be used?
extends
a subclass is really a superset of the features available in its -----------.
super class
1) to implement our new avatar chat room. we could copy all of the code from chat room
into a new class called-----------.
avatar chat room
2) insted of copying the code from chat room to avatar chat room we simply make avatar
chat room a subclass of ---------------
chat room
3) when a subclass overrides an instance method, the super class's version of the method
is not lost. it remains accessible to instance of the subclass by using which keyword
super
4) in the avatar chat rooms, each user in the room is represented by a -----
little cartoon character
5) which of the following one is not an overridden method of an avatar chat room class
method
avatars ()
6) which of the following function can be used to display an incoming user message in a text
field
display message
7) which function can be used to display a message describing the methods behavior in the
output panel
trace ()
8) redifinition lets us customize an existing class for a specific purpose by augmenting, constraing
or even nullifying one (or) more of its original behaviors. this redefining method is
called----------------.
overriding
9) to override a super class's class method, which method definition of the same name can
be adding the sub classes
static
10) which of the following one is not a avatar chat room class method
onuserremovename ()
1) which keyword can be used only in instance methods and constructor functions?
ans: super
2) which keyword can be used earliar to access an overridden instance method and cannot
be used to reference an overridden class property
ans: super
3) which operator can not be used to invoke a super class s version of a class method from
with in the subclass version
ans: super
4) how to access the super class s version of a class method reference the super class in
the method invocation is
ans: some subclass, some overridden method
5) to override a super class s property, where we add a property definition of the same
name [ a
ans: subclass
6) ----------------time all unqualified member references are permanently converted to
qualified member references of the form
ans: compile time
7) an instance method in a subclass that overrides an instance method in a super class is
known as -------------
ans: overriding instance methods
8) a method in super class that overridden by a method in a subclass is known as an
ans: overridden instance method
9) the general problem of extending a non extendable built-in class, instead of inheritance
which one can be used
ans: composition
10) which methods have a signature and a return type but no implementation?
ans: abstract methods
1,which method can be used to set the size of the viewer when an image loads, we will override
the image viewer classes
onloadinit ()
2,which method can be used to checks the width and height of the image in the viewer and sets
the viewers size to those dimensions
scaleviewertoimage ()
3,the image viewer deluxe version of the method, will check the size of the loaded image and
which method can be used to resize the viewer to those dimensions.
setsize ()
4,where we declared the set position () method to be accessed from any code inside or outside
the imageviewerdeluxe class
public
6,which of the following one is image viewer deluxe class new feature?
set position
7,in imageviewerdeluxe class, which method contain the resize the viewer feature
set
2. in------------ we can adaptively modify the quantizer, by changing the step size as well as
decision boundaries in the non uniform quantizer
a) dpcm (differential pulse code modulation)
3. producing quantized sampled output for audio is called -----------a) pcm (pulse
code modulation)
8,which method indicates whether the viewer should auto size (or) not.
show full image ()
1)which keyword used to enter into an agreement with an interface, promising to define the
methods if contains
-------implements
2)what is acronym for smil? -----
semantic multimedia integrated language
3) which one is not suitable for a hypermedia application----
text based
4)which one is not a goal of http?-----
'stateless'request/response protocol
5)http means ----------.hypertexttransferprotocal
6)if a class declares that it implements an interface cannot be found by the compiler which
error can occur-------
the class interface name could not be loaded
7)to implement the class's method definitions must match with the -------------- method definitions
exactly ----------
interface's method
8) if a class declares that it implements an interface cannot be found by the compiler which
error can occur ----
the class interface name could not be loaded
9) interface need not contain any methods at all to be usefull.this empty interface is called
----------------
markerinterface
10) to create an interface which keyword can be used? --------
interface
11) all methods declared in on interface must be -------------
public
12) which files contain a list of methods to be implemented but not the implementations
themselves -----interface files
13) which keyword can be used on interface to inherit from another interface?---------
extends
14)which of the following class not contain a web based email application------
message remover
15)which method can accepts consumer objects of type event listener?--------
add listener ()
16) which file contains method signatures strictly for the purpose of satisfying the compilers type
checking-----
intrinsic files
17)to implement the class's method definitions must match with the --------------
method definitions exactly -----interface's method
18)if a class declares that it implements an interface cannot be found by the compiler
which error can occur-----the class interface name could not be loaded
19) interface need not contain any methods at all to be usefull.this empty interface is
called ---------------markerinterface
1) a try/catch/finally statement can appears inside the try, catch or finally block of another
try/catch/finally statement is called ----------
a)nested exceptions
3)when the catch block is extended, it receives the expression of the -------statement as a
parameter
a)throw
4)which of the following statement are fails in the case of finally block executes
a)immediately after a catch block can't handles on exception generated in the try block
6)which are nothing more than the way we organize files into different directories according to
their functionality, usability as well as category they should belong to
a)packages
7)which classes are the class runtime exception and its subclasses, and the class error and its
subclasses?
a)un checked exception classes.
8)to refer to a specific class with in a package which operator can be used?
a)(dot)
2)fash mx2004 lets export -------------- files in a format compatible with specific versions of the
flash player
swf
7)in actionscript 2.0 which of the following one not used as identifiers
virtual
8)actionscript1.0 and 2.0 are case sensitive when exported in ------------ format
flash player 7
9)in which flash player identifiers are case sensitive
flash player 7
using ------------- we can structure application hierarchically so that many classes can reuse the
features of a simple class
inheritance
a classes that inherits properties and methods from another class is called-----
subclass
. ---------------------organize classes into logical groups and prevents naming conflicts between
classes
packages
1.if a value of an incompatible type is stored in a variable, passed as a function parameter the
compiler generates -------------------error
type mismatch error
--------------determines whether a property is associated with instances of the class or with the
class itself. static attribute
which of the following is false. the constructor function's name no need to match its class's
name exactly
----------------- attribute is used only when distributing a compiled clas's without also distributing the
classs source code .intrinsic
to initialize and perform setup tasks for new objects of a class, we create -----
constructor function
with in the body of a constructor function --------------keyword refers to the newly created instance
.this
no color
one for each pixel has a gray value between 0 and 255
first step in moving from functional requirements to a completed class is to determine how the
---------------class will be used by other programs
imageviewerclass
the oop community has been cataloging so called --------design patterns
the method name, load image, acts as the ---------------- to describe the action performed
verb
---------------- used to change the image-holding clip after an image had already been loaded, the
image viewer instance would lose its reference to the original clip
setimageclip ( )
without loadimage( ) method, each image viewer instance can load -----------images
one
if we want image viewer inastances,to load multiple images in succession, we need method
loadimage ( )
----------used in the macpaint program initially only for 1-bit monochrome images
wmf
---------------is the standard graphics file format for microsoft windows, used in microsoft paint and
other programs
windowsbmp
4)higher-end video system makes use of three separate video signals for the red, green and blue
image planes. this is referred to as--------------
a)component video
9)in ------------video color and intensity signals are mixed into a single carrier wave
a)composite video
10)in composite video when connecting to tvs or vcrs it uses ----------no. of wires
a)one
pac video uses ------------scan lines per frame, at-----------frames per second with a 4:3 ratios
625, 25
secam uses -----------scan lines per frame and -------------------frames per second
625, 25
which of the following is not a application of digital video ans: indirect access,
which makes non linear video editing simple
sampling rate equal to at least twice the maximum frequency content in the signal is called
the----------- .
nyquist rate
a more accurate way of generating sounds from digital signals is called ------
wave-table synthesis
system messages have -------------number and are meant for commands that are not channel-
specific .
no channel
----------used in the macpaint program initially only for 1-bit monochrome images
wmf
---------------is the standard graphics file format for microsoft windows, used in microsoft paint and
other programs
windowsbmp
----------class defines methods far displaying and sending chat messages and far managing a list
of users in the room
chat room
which function can be used to display an incoming user message in a text field?
display message ()
which function can be used to display an incoming user message in a text field?
display message ()
in an inheritance relationship between two classes, the extended class is called ------
base class
in an inheritance relationship between two classes, the class does not extending is called the
-----------
derived class
if class diagrams can be formal which diagramming specification can be used to drawn?
uml
which function can be used to change the users name in the user list?
onuserchangename ()
to setup the inheritance relationship between a and b, which keyword can be used?
extends
a subclass is really a superset of the features available in its -----------.
super class
which of the following keyword is not belongs to the base class
subclass
which of the following keyword is not belongs to the derived class
super class