CSC Technical - 1
1.Find the output of the program
void main()
{
unsigned i=1; /* unsigned char k= -1 => k=255; */
signed j=-1; /* char k= -1 => k=65535 */
/* unsigned or signed int k= -1 =>k=65535 */
if(i<j)
printf("less");
else
if(i>j)
printf("greater");
else
if(i==j)
printf("equal");
}
Ans-less
2. A number that is used to control the
form of another number is known as
A. Map
B. Mask
C. Mamtossa
D. Marker
E. None of the above
Ans-B
3. ASCII stands for
A. American standard code for information interchange
B. All purpose scientific code for information interchange
C. American security code for information interchange
D. American Scientific code for information interchange
E. None of the above
Ans-A
4. The list of coded instructions is called
A. Computer program
B. Algorithm
C. Flowchart
D. Utility programs
E. None of the above
Ans-A
5. Most important advantage of an IC is its
A. Easy replacement in case of circuit failure
B. Extremely high reliability
C. Reduced cost
D. Low power consumption
E. None of the above
Ans-B
6. Which programming language is much in vogue among users of microcomputers
A. ALGOL
B. APL
C. LOGO
D. FORTH
E. None of the above
Ans-D
7. Multiplication of 1112 by 1012 is
A. 1100112
B. 1000112
C. 1111002
D. 0001012
E. None of the above
Ans-B
8. A computer-controlled device for training exercises that duplicates the work environment is a:
A. simulator
B. duplicator
C. trainer
D. COM device
E. None of the above
Ans-A
9. The latest PC keyboards use a circuit that senses the movement by the change in its capacitance. What are these keyboards called?
A. Capacitance keyboards
B. Mechanical keyboards
C. Qwerty keyboards
D. Dvorak keyboards
E. None of the above
Ans-A
10. Find the output of the program
char *foo()
{
char result[100]);
strcpy(result,"anything is good");
return(result);
}
void main()
{
char *j;
j=foo()
printf("%s",j);
}
11. Find
the output of the program
void main()
{
char *s[]={ "dharma","hewlett-packard","siemens","ibm"};
char **p;
p=s;
printf("%s",++*p);
printf("%s",*p++);
printf("%s",++*p);
}
12. write
7*a in terms of +,-,<<
13. What
is Creon and what is the difference between 'at' command.
14. Find
the output of the program
main(){
char *s1 = "hello",*s2 ="abce";
strcpy(s1,"");
s2[0] = s1[0];
printf("%d%d",strlen(s1),strlen(s2));
}
- What was
originally called the "imitation game" by its creator?
A. The Turing Test
B. LISP
C. The Logic Theorist
D. Cybernetics
E. None of the above
Ans-A
- In LISP, the
atom that stands for "true" is
A. t
B. ml
C. y
D. time
E. None of the above
Ans-A
- Which two files are used during operation of the DBMS?
B. data manipulation language and query language
C. data dictionary and transaction log
D. data dictionary and query language
E. None of the above
Ans_C
- A network
schema
A. restricts the structure to a one-to-many relationship
B. permits many-to-many relationĂ‚¬ships
C. stores data in tables
D. All of the above
E. None of the above
Ans:_B
- self-relocating
program is one which
A. cannot be made to execute in any area of
storage other than the one designated for it at the time of its coding or
translation
B. consists of a program and relevant information for its relocation
C. can itself perform the relocation of its address-sensitive portions
D. All of the above
Ans-C
20. What command do you use to create Linux file systems?
A. fdisk
B. mkfs
C. fsck
D. mount
E. None of the above
Ans-D
(Note: Questions 10 – 14- Answers are not available and readers are advised to work out the same.)
No comments:
Post a Comment