PET 8 Flashcards

(62 cards)

1
Q

The term (1+i)^n, also denoted as (F/
Pi,n) is called:

A. equal-payment-series compound-amount
factor
B. equal-payment-sinking-fund factor
C. single payment compound-amount
factor
D. single payment present-worth factor

A

C. single payment compound-amount
factor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is defined as the reduction or fall of the value of an asset due to constant use and passage of time?

A. Depreciation
B. Depletion
C. Deflation
D. Inflation

A

A. Depreciation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following type of class
allows only one object of it to be
created?

A. Virtual class
B. Abstract class
C. Singleton class
D. Friend class

A

C. Singleton class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What will be the output of the program?
#include<stdio.h>
int main()
{
int i=1;
switch(i)
{
printf("Hello\n");
case 1:
printf("Hi\n");
break;
case 2:
printf("\nBye\n");
break;
}
return 0;
}</stdio.h>

A. Hello, Hi
B. Bye
C. Hi
D. Hello, Bye

A

C. Hi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following concepts means determining at runtime what method to invoke?

A. Dynamic Typing
B. Dynamic loading
C. Dynamic binding
D. Data hiding

A

C. Dynamic binding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How many instances of an abstract
class can be created?

A. 13
B. 5
C. 1
D. 0

A

D. 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following concepts
provides facility of using object of one
class inside another class?

A. Inheritance
B. Composition
C. Encapsulation
D. Abstraction

A

B. Composition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The use of the break statement in a
switch statement is

A. compulsory
B. optional
C. not allowed. It gives an error message
D. to check an error

A

B. optional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following concepts means
wrapping up of data and functions
together?

A. Polymorphism
B. Inheritance
C. Abstraction
D. Encapsulation

A

D. Encapsulation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following statements is
false?

A. A function is a block of code that performs
a specific task
B. Functions allow programmers to break
large and complex problems into small and
manageable tasks
C. Functions can be called, or invoked,
only once in a program
D. Functions allow programmers to use
existing code to perform common tasks

A

C. Functions can be called, or invoked,
only once in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When you pass a variable_,C++
passes only the contents of the variable
to the receiving function

A. by reference
B. globally
C. locally
D. by value

A

D. by value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following statement is
correct?

A. Object is an instance of a class.
B. Object is an instance of data type.
C. Class is an instance of object.
D. Class is an instance of data type.

A

A. Object is an instance of a class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A default catch block catches

A. all thrown objects that have been
caught by an earlier catch block
B. any thrown object that has not been
caught by an earlier catch block
C. all thrown objects
D. no thrown objects

A

A. all thrown objects that have been
caught by an earlier catch block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What will be the output of the program?
#include<stdio.h>
int main()
{
int k, num= 30;
k=(num<10)?100:200;
printf("%d\n", num);
return 0;
}</stdio.h>

A. 100
B. 200
C. 500
D. 30

A

D. 30

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following is not logical
operator?

A. !!
B. !
C. &&
D. &

A

D. &

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A base class may also be called a

A. child class
B. derived class
C. parent class
D. subclass

A

C. parent class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

A system program that sets up an
executable program in main memory
ready for execution is

A. assembler
B. linker
C. compiler
D. loader

A

D. loader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How many times the program will print
“IndiaBIX”?
#include<stdio.h>
int main()
{
printf("IndiaBIX");
mainO);
return 0;
}</stdio.h>

A. Till stack overflows
B. Infinite times
C. 65535 times
D. 32767 times

A

A. Till stack overflows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Understanding the Cartesian coordinate
system will help the beginning drafter

A. control the accuracy of the drawing
B. select a different text style
C. produce a visible grid system
D. choose various line types

A

A. control the accuracy of the drawing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

How many times “engineer” is get
printed?
#include<stdio.h>
int main()
{
int x;
for(x=-1; X<=10; x++)
{
if(x<5)
continue;
else
break;
printf("engineer");
}
return 0;
}</stdio.h>

A. 11 times
B. 10 times
C. Infinite times
D. O times

A

D. O times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

When the minimum and maximum
number of instances of an entity is one,
you know which of the following?

A. Mandatory one
B. Optional one
C. Cannot tell
D. Mandatory many

A

A. Mandatory one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What will be the output of the program?
#include<stdio.h>
int main()
{
int i=3;
i=i++;
printf("%d\n", i);
return 0;
}</stdio.h>

A. 6
B. 4
C. 5
D. 3

A

B. 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

A program that converts a high-level
language program to a set of
instructions that can run on a computer
is called a

A. All of these choices
B. Debugger
C. Editor
D. Compiler

A

D. Compiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Bug means

A. A difficult syntax error in a program
B. All of these choices
C. Documenting programs using an efficient
documentation tool
D. A logical error in a program

A

D. A logical error in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
A line with a tapering width can be easily created by using the ____ tool. A. line B. circle C. polyline D. eclipse
C. polyline
26
What will be the output of the program? #include int mainO) { int i=3; switch(i) { case 1: printf("Hello\n"); case 2: printf("Hi\n"); case 3: continue; default: printf("Bye\n"); } return 0; } A. No output B. Bye C. Error: Misplaced continue D. Hello Hi
C. Error: Misplaced continue
27
Which of the following statements are correct about the below program? #include int main() { inti=10,j=20; if(i=5) && if(j= 10) printf("Have a nice day"); return 0; } A. Error: Expression syntax B. Output: Have a nice day C. Error: Undeclared identifier if D. No output
A. Error: Expression syntax
28
It is the minimum angle of incidence at which light ray may strike the interface of two media and result in an angle of refraction of 90°. A. Critical Angle B. Acceptance Angle C. Cut-off Angle D. Any of these choices
A. Critical Angle
29
Light frequencies that are too low to be seen: A. Infrared B. Ultraviolet C. Cosmic rays D. Gamma rays
A. Infrared
30
It states that when visible light or high frequency electromagnetic radiation illuminates a metallic surface, electrons are emitted: A. Maxwell's Law B. Huygen's Principle C. Snell's Law D. Planck's Law
D. Planck's Law
31
It is described as the light gathering ability of an optical fiber. A. Normalized Frequency B. Numerical Aperture C. V Number D. Acceptance Cone
B. Numerical Aperture
32
When light travels from a denser to a less dense material, the angle of refraction is _____ the incidence angle. A. greater than B. greater than or equal C. less than D. less than or equal
A. greater than
33
Which color bends the most? A. Violet B. Yellow C. Red D. Indigo
A. Violet
34
A LASER class that is safe depending on the usage: A. Class Il B. Class I C. Class IIl D. Class IV
C. Class IIl
35
It is the result of photons of light that are absorbed by the atoms of the glass core molecules A. Dispersion B. Infrared absorption C. Ultraviolet absorption D. lon resonance absorption
B. Infrared absorption
36
It is the range of wavelength values that can be used for a given photodiode: A. Spectral Response B. Transit Time C. Light Sensitivity D. Responsivity
A. Spectral Response
37
The difference between the absolute delay times of the fastest and slowest rays of light propagating down the fiber of unit length is called A. pulse width dispersion constant B. pulse-spreading constant C. modal dispersion constant D. pulse stretching constant
B. pulse-spreading constant
38
It is the minimum optical power a light detector can receive and still produce a usable electrical output signal. A. light sensitivity B. spectral response C. dark current D. transmit light
A. light sensitivity
39
An optical fiber (or optical fibre) is a flexible, transparent fiber made by drawing glass (silica) or plastic to a diameter slightly thicker than that of a human hair. Optical fibers are used most often as a means to transmit light between the two ends of the fiber and find wide usage in fiber-optic communications, where they permit transmission over longer distances and at higher bandwidths (data rates) than wire cables. Fibers are used instead of metal wires because signals travel along them with lesser amounts of loss; in addition, fibers are also immune to electromagnetic interference, a problem which metal wires suffer from excessively. In terms of construction of the main optical fiber, which of the following combinations is impossible? A. Plastic core and glass cladding B. Plastic core and cladding C. Glass core and cladding D. Glass core and plastic cladding
A. Plastic core and glass cladding
40
It is the minimum angle of incidence at which light ray may strike the interface of two media and result in an angle of refraction of 90°. A. Any of these choices B. Critical Angle C. Cut-off Angle D. Acceptance Angle
B. Critical Angle
41
The refractive index at the core is highest at the center and decreases gradually with distance toward the outer edge. A. Step Index B. Single Mode C. Graded Index D. Multi Mode
C. Graded Index
42
A figure of merit used to measure the light gathering or light collection ability of the optical fiber A. Critical angle B. Acceptance cone C. Acceptance angle D. Numerical aperture
D. Numerical aperture
43
LASER stands for: A. Light Amplification by Simulated Emission of Radiation B. Light Amplification by Stimulated Emitted Rays C. Light Amplification by Simulated Emitted Rays D. Light Amplification by Stimulated Emission of Radiation
D. Light Amplification by Stimulated Emission of Radiation
44
_____ dispersion is caused by the difference in the propagation times of light rays that take different paths down a fiber. A. Wavelength dispersion B. Modal dispersion C. Delay dispersion D. Material dispersion
B. Modal dispersion
45
The black fiber is designated as number: A. 8 B. 4 C. 6 D. 2
A. 8
46
It is produced after rotating the acceptance angle around the fiber axis. A. Acceptance Cone B. Numerical Cone C. Aperture Cone D. Apex Cone
A. Acceptance Cone
47
It is the graphical representation of the value of the refractive index across the fiber. A. Index Profile B. Mode C. Grade D. Window
A. Index Profile
48
Which of the following combinations is impossible for optical fibers? A. Glass core and plastic cladding B. Glass core and cladding C. Plastic core and cladding D. Plastic core and glass cladding
D. Plastic core and glass cladding
49
In fiber optics, SCS stands for A. Silica-clad-silica B. Silicon base-class-silica C. Serial-clad-silicon D. Suppressed-clad-silicon
A. Silica-clad-silica
50
It is analogous to power dissipation in copper cable. A. any of these choices B. Distortion C. Attenuation D. Absorption
D. Absorption
51
A single-mode cable does not suffer from: 1. modal dispersion 2. waveguide dispersion 3. chromatic dispersion A. 1,2, and 3 B. 3 only C. 2 and 3 only D. 1 only
D. 1 only
52
Which of the following can happen in optical fibers? A. injection loss B. bending loss C. junction loss D. all of these choices
D. all of these choices
53
Wavelength dispersion is same as which of the following? A. polarization injection B. chromatic dispersion C. chromatic injection D. modal dispersion
B. chromatic dispersion
54
A technology for carrying many signals of different capacities through a synchronous, flexible optical hierarchy. A. SDH B. SONET C. PDH D. ATM
B. SONET
55
The letter of the loaded cable designation 24B88 indicates A. Wire gauge B. Spacing C. Attenuation D. Coil inductance
B. Spacing
56
In the telephone unit, what is produced when the balancing network in a hybrid circuit is intentionally unbalanced slightly so that the small amount of transmitted signal is fed to the receiver of the talking phone? A. Side tone B. Echo C. Dial tone D. Singing
A. Side tone
57
A jelly like substance that has an index of refraction much closer to the glass than air is called: A. alignment gel B. framing gel C. Index matching gel D. splice gel
C. Index matching gel
58
In the telephone industry, BORSCHT functions are performed by A. Connector switch B. Subscriber line interface C. Crosspoint matrix D. Switching network
B. Subscriber line interface
59
Commonly used AWG in subscriber loops: A. 24 B. 22 C. 19 D. 26
C. 19
60
A MSU type which has a typical transmit power of 4 W: A. Transportable B. Portable C. Mobile D. All of these choices
C. Mobile
61
The terms single mode and multimode are best describes as A. the number of wavelengths each fiber can support B. the number of fibers placed into a fiber- optic cable C. the number of voice channels each fiber can support D. the index number
A. the number of wavelengths each fiber can support
62
Dial tone uses: A. 90 Vrms, 20 Hz B. 350+440 Hz C. 480+620 Hz D. 440+480 Hz
B. 350+440 Hz