1. After execution of CMP, a instruction in Intel 8085 microprocessor
(a) ZF is set and CY is reset.
(b) ZF is set CY is unchanged
(c) ZF is reset, CY is set
(d) ZF is reset , CY is unchanged .
Ans. A
2. Convert the infix to postfix for A-(B+C)*(D/E)
Ans. ABC+DE/*-
3. Picard’s method uses _______?
Ans. Successive Differentiation.
Predict the output or error(s) for the following:
4. void main()
{
int const * p=5;
printf(“%d”,++(*p));
}
Ans: Compiler error: Cannot modify a constant value.
5. main()
{
char s[ ]=”man”;
int i;
for(i=0;s[ i ];i++)
printf(“\n%c%c%c%c”,s[ i ],*(s+i),*(i+s),i[s]);
}
Ans: mmmm
aaaa
nnnn
6. Identify the recording mode, by which you can record the non-standard object in QTP
A) Standard recording
B) Analog recording
C) Low level recording
D) None
Ans: B
7. By default, how many no of tables would be there in a script?
a) One
b) Two
c) Three
d) Four
Ans: B
8. The file extension of Shared object repository file is
A .MTR
B. .TSR
C. .QRS
D. None
Ans: B
9. To invoke the function which does not return any value, we can use
a. call function name
b. function name
c. Both A & B
d. None
Ans: A
10. How many bits are needed within a machine code instruction to select a single register in a machine with 16 general registers?
a. 2
b. 3
c. 4
d. 5
Ans: C
11. which key in any windows screen is used to invoke file menu
Ans :alt+f
12. Object which is used for calling the win32 api functions in QTP, we use
A extern
B. description
C. environment
D. None
Ans: A
13. What is the result of adding the binary numbers 01000001 and 11111111 on an 8 bit machine?
A. 11111111
B. 00000000
C. 01111111
D. Overflow
Ans: D
14. Which of the following does POP stand for?
A. Post Office Protocol
B. Peer over peer
C. Private Office Protocol
D. Post Optical Protocol
Ans: A
15. Which of the following stages of compilation produces a syntax tree?
A. Parsing
B. Code generation
C. Lexical analysis
D. Semantic analysis
Ans: A
16. Which of the following is not contained in a system description?
A. Internal data flows
B. Flows leaving and entering the system
C. Relationship between external entities
D. Internal components or processes
Ans: C
17. What is the result of adding the binary numbers 01000011 and 10010000 on an 8 bit machine?
A. 11010011
B. 11110011
C. 11001011
D. 11010101
Ans: A
18. How is the decimal value for 30 represented in binary?
A. 00001111
B. 00011010
C. 00011110
D. 00011111
Ans: C
19. A memory chip has 8 data lines and 9 address lines. How many bytes can be stored on it?
A. 511
B. 512
C. 500
D. 256
Ans: B
20. Which of the following devices requires the highest input data transferrate?
A. mouse
B. Keyboard
C. Floppydisk
D. CD
Ans: D
0 comments:
Post a Comment