Computer interview questions – page 17

4,197 questions. Tap “Show answer” to check yourself.

Advertisement
  1. Which of the following function will you use in case you want to provide the password facility in your program for security purposes?

    1. gets()
    2. scanf()
    3. getch()
    4. getchar()
    Show answer

    C. getch()

  2. Which of the following function can be used to write only integer numbers

    1. putw()
    2. fwrite()
    3. putint()
    4. fprintf()
    Show answer

    A. putw()

  3. Which of the following statements is not true about floating point number to a string?

    1. ftoa()
    2. dtoa()
    3. gcvt()
    4. all of above
    Show answer

    C. gcvt()

  4. A bit field is of type

    1. double
    2. float
    3. int
    4. all of the above
    Show answer

    C. int

  5. The function ftell() returns

    1. the middle position of the file
    2. the current position of the file
    3. the end position of the file
    4. the beginning position of the file
    Show answer

    B. the current position of the file

  6. Which of the following function can be used to read an entire array or a structure in a single call?

    1. readblock()
    2. READ()
    3. read()
    4. fread()
    Show answer

    D. fread()

  7. Arrays are always passed as arguments to a function by

    1. depends on compiler optimization settings
    2. depends on the number of arguments
    3. value
    4. reference
    Show answer

    D. reference

  8. The function that allows a file to read randomly is

    1. frandon()
    2. rewind()
    3. ftell()
    4. fseek()
    Show answer

    D. fseek()

  9. Which of the following is not a control statement in C language?

    1. goto statement
    2. switch statement
    3. for statement
    4. repeat until statement
    Show answer

    D. repeat until statement

  10. Which of the following modifier is used to declare a variable as constant?

    1. const
    2. signed
    3. short
    4. unsigned
    Show answer

    A. const

  11. Which of the following string functions reverse the string?

    1. strrev()
    2. strcmp()
    3. strlen()
    4. strcpy()
    Show answer

    A. strrev()

  12. Operand of indirection operator is

    1. ordinary variable
    2. integer constant
    3. pointer variable
    4. none of above
    Show answer

    C. pointer variable

  13. Advertisement
  14. Which of the following statements are true about break statement?

    1. The break statement terminates current iteration of the loop.
    2. The break statement can be used with if statement to terminate the execution of its block.
    3. The break statement can only be used with loop statements and switch statement.
    4. None of above
    Show answer

    C. The break statement can only be used with loop statements and switch statement.

  15. Press _____ to delete one word to the right.

    1. Ctrl + Delete
    2. Ctrl + Enter
    3. Ctrl + Tab
    4. Ctrl + Backspace
    Show answer

    A. Ctrl + Delete

  16. Which of the following input function cannot be used to input multiword string in a single function call?

    1. getche()
    2. gets()
    3. scanf()
    4. None of above
    Show answer

    A. getche()

  17. Which of the following declarations is not correct?

    1. unsigned float d;
    2. unsigned char c;
    3. int b = 4;
    4. float a;
    Show answer

    A. unsigned float d;

  18. Which of the following operators has highest precedence?

    1. *
    2. /
    3. %
    4. All have same precedence
    Show answer

    D. All have same precedence

  19. What is the file extension for font files?

    1. txt
    2. bgi
    3. chr
    4. font
    Show answer

    C. chr

  20. Which of the following function can be used to write an entire array or a structure in a single call?

    1. writeblock()
    2. write()
    3. fwrite()
    4. WRITE()
    Show answer

    C. fwrite()

  21. File opening is a process of

    1. Writing data to a file
    2. Connecting program to a file
    3. Reading data from a file
    4. None of above
    Show answer

    B. Connecting program to a file

  22. In MS Access, OLE objects Data type can store

    1. Microsoft Excel Spreadsheets
    2. Microsoft Word documents
    3. Sounds
    4. All of the above
    Show answer

    D. All of the above

  23. A part of database that stores complete information about an entity such as employee, sales, orders etc.

    1. Record
    2. File
    3. Field
    4. Query
    Show answer

    A. Record

  24. In table design view, which key can be used to switch between the field names and properties panels?

    1. F1
    2. F6
    3. F10
    4. F12
    Show answer

    B. F6

  25. To create queries in Access

    1. You can drag and drop fields on query builders
    2. You can type the SQL command in SQL view
    3. You can use query wizard or design view
    4. All of the above
    Show answer

    D. All of the above

  26. Advertisement
  27. Which of the following is not a selection technique?

    1. To select a row, click the record selector box to the left of the row
    2. To select a column, double click anywhere in the column
    3. To select a word, double click the word
    4. 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

  28. _____ are advanced features that can speed up editing or formatting you may perform often in a PowerPoint document.

    1. Color
    2. Font
    3. Macros
    4. All of these
    Show answer

    C. Macros

  29. ______ lowers the selected text below the baseline and changes the selected text to a smaller font size, if a smaller size is available.

    1. Superiorscript
    2. Upper font
    3. Subscript
    4. Superscript
    Show answer

    C. Subscript

  30. The maximum zoom percentage in Microsoft PowerPoint is

    1. 100%
    2. 200%
    3. 300%
    4. 400%
    Show answer

    D. 400%

  31. If you want to add arrowheads to multiple lines, select the first line and then press and hold ______ while you select the other lines.

    1. Ctrl
    2. Alt
    3. Tab
    4. Space
    Show answer

    A. Ctrl

  32. If you know the character code, you can enter the code in your document and then press _____ to convert it into a character.

    1. Alt + X
    2. Ctrl + X
    3. Ctrl + Y
    4. Tab + X
    Show answer

    A. Alt + X

Advertisement