Computer interview questions – page 17
4,197 questions. Tap “Show answer” to check yourself.
-
Which of the following function will you use in case you want to provide the password facility in your program for security purposes?
- gets()
- scanf()
- getch()
- getchar()
Show answer
C. getch()
-
Which of the following function can be used to write only integer numbers
- putw()
- fwrite()
- putint()
- fprintf()
Show answer
A. putw()
-
Which of the following statements is not true about floating point number to a string?
- ftoa()
- dtoa()
- gcvt()
- all of above
Show answer
C. gcvt()
-
A bit field is of type
- double
- float
- int
- all of the above
Show answer
C. int
-
The function ftell() returns
- the middle position of the file
- the current position of the file
- the end position of the file
- the beginning position of the file
Show answer
B. the current position of the file
-
Which of the following function can be used to read an entire array or a structure in a single call?
- readblock()
- READ()
- read()
- fread()
Show answer
D. fread()
-
Arrays are always passed as arguments to a function by
- depends on compiler optimization settings
- depends on the number of arguments
- value
- reference
Show answer
D. reference
-
The function that allows a file to read randomly is
- frandon()
- rewind()
- ftell()
- fseek()
Show answer
D. fseek()
-
Which of the following is not a control statement in C language?
- goto statement
- switch statement
- for statement
- repeat until statement
Show answer
D. repeat until statement
-
Which of the following modifier is used to declare a variable as constant?
- const
- signed
- short
- unsigned
Show answer
A. const
-
Which of the following string functions reverse the string?
- strrev()
- strcmp()
- strlen()
- strcpy()
Show answer
A. strrev()
-
Operand of indirection operator is
- ordinary variable
- integer constant
- pointer variable
- none of above
Show answer
C. pointer variable
- Advertisement
-
Which of the following statements are true about break statement?
- The break statement terminates current iteration of the loop.
- The break statement can be used with if statement to terminate the execution of its block.
- The break statement can only be used with loop statements and switch statement.
- None of above
Show answer
C. The break statement can only be used with loop statements and switch statement.
-
Press _____ to delete one word to the right.
- Ctrl + Delete
- Ctrl + Enter
- Ctrl + Tab
- Ctrl + Backspace
Show answer
A. Ctrl + Delete
-
Which of the following input function cannot be used to input multiword string in a single function call?
- getche()
- gets()
- scanf()
- None of above
Show answer
A. getche()
-
Which of the following declarations is not correct?
- unsigned float d;
- unsigned char c;
- int b = 4;
- float a;
Show answer
A. unsigned float d;
-
Which of the following operators has highest precedence?
- *
- /
- %
- All have same precedence
Show answer
D. All have same precedence
-
What is the file extension for font files?
- txt
- bgi
- chr
- font
Show answer
C. chr
-
Which of the following function can be used to write an entire array or a structure in a single call?
- writeblock()
- write()
- fwrite()
- WRITE()
Show answer
C. fwrite()
-
File opening is a process of
- Writing data to a file
- Connecting program to a file
- Reading data from a file
- None of above
Show answer
B. Connecting program to a file
-
In MS Access, OLE objects Data type can store
- Microsoft Excel Spreadsheets
- Microsoft Word documents
- Sounds
- All of the above
Show answer
D. All of the above
-
A part of database that stores complete information about an entity such as employee, sales, orders etc.
- Record
- File
- Field
- Query
Show answer
A. Record
-
In table design view, which key can be used to switch between the field names and properties panels?
- F1
- F6
- F10
- F12
Show answer
B. F6
-
To create queries in Access
- You can drag and drop fields on query builders
- You can type the SQL command in SQL view
- You can use query wizard or design view
- All of the above
Show answer
D. All of the above
- Advertisement
-
Which of the following is not a selection technique?
- To select a row, click the record selector box to the left of the row
- To select a column, double click anywhere in the column
- To select a word, double click the word
- To select an entire table click the empty box to the left of the field names
Show answer
B. To select a column, double click anywhere in the column
-
_____ are advanced features that can speed up editing or formatting you may perform often in a PowerPoint document.
- Color
- Font
- Macros
- All of these
Show answer
C. Macros
-
______ lowers the selected text below the baseline and changes the selected text to a smaller font size, if a smaller size is available.
- Superiorscript
- Upper font
- Subscript
- Superscript
Show answer
C. Subscript
-
The maximum zoom percentage in Microsoft PowerPoint is
- 100%
- 200%
- 300%
- 400%
Show answer
D. 400%
-
If you want to add arrowheads to multiple lines, select the first line and then press and hold ______ while you select the other lines.
- Ctrl
- Alt
- Tab
- Space
Show answer
A. Ctrl
-
If you know the character code, you can enter the code in your document and then press _____ to convert it into a character.
- Alt + X
- Ctrl + X
- Ctrl + Y
- Tab + X
Show answer
A. Alt + X