Interview questions

Computer interview questions – page 56

3,888 questions. Tap “Show answer” to check yourself.

  1. Which one of the following is a logical operator?

    1. A.||
    2. B.&&
    3. C.!
    4. D.all of these
    Show answer

    D. all of these

  2. The method which belongs to the string class is/are

    1. A.Compare to ( )
    2. B.Length ( )
    3. C.Substring ( )
    4. D.Equals ( )
    Show answer

    B. Length ( )

  3. For a 32-bit integer value, keyword used is

    1. A.Boolean
    2. B.Int
    3. C.Short
    4. D.Long
    Show answer

    B. Int

  4. A web page is

    1. A.Made up of text and HTML tags
    2. B.Marked by an opening HTML tag
    3. C.Marked by a closing HTML tag
    4. D.All of these
    Show answer

    D. All of these

  5. Java is a general purpose object oriented programming language developed by

    1. A.Patrick Naughton
    2. B.Infosys
    3. C.I.B.M.
    4. D.Microsystems of USA
    Show answer

    D. Microsystems of USA

  6. Which one of the following web browsers uses Just-In-Time (JIT) complier?

    1. A.Hot JAVA
    2. B.Netscape navigator
    3. C.Internet Explorer
    4. D.None of these
    Show answer

    C. Internet Explorer

  7. ?: is: a/an

    1. A.Assignment operator
    2. B.Conditional operator
    3. C.Logical AND
    4. D.Inequality
    Show answer

    B. Conditional operator

  8. Which one of the following is a java keyword?

    1. A.Public
    2. B.Void
    3. C.While
    4. D.Switch
    Show answer

    A. Public

  9. Which one of the following concept is incorporated in building a java program?

    1. A.Polymorphism
    2. B.Inheritance
    3. C.Encapsulation
    4. D.All of these
    Show answer

    D. All of these

  10. Object oriented programming language, is

    1. A.C++
    2. B.Java
    3. C.Both (a) and (b)
    4. D.None of these
    Show answer

    C. Both (a) and (b)

  11. The methods wait ( ) and notify ( ) are defined in

    1. A.java.lang.object
    2. B.java.lang.thread
    3. C.java.lang.string
    4. D.java.lang.threadgroup
    Show answer

    A. java.lang.object

  12. SA is also known as root user or

    1. A.Supervisor
    2. B.Multi user
    3. C.Single user
    4. D.Super user
    Show answer

    D. Super user

  13. Who is primarily responsible for the smooth functioning of the system?

    1. A.System Advisor
    2. B.System coordinator
    3. C.System Manager
    4. D.System Administrator
    Show answer

    D. System Administrator

  14. Which has excellent support for older hardware?

    1. A.Unix
    2. B.Linux
    3. C.Minix
    4. D.Xenix
    Show answer

    B. Linux

  15. What is the other name of new shell?

    1. A.Baby shell
    2. B.Junior shell
    3. C.Child shell
    4. D.Assistant shell
    Show answer

    C. Child shell

  16. In Linux hard disk partition, hda2, a stands for the ___

    1. A.first hard drive
    2. B.first partition
    3. C.second partition
    4. D.second hard drive
    Show answer

    A. first hard drive

  17. Where do the users arrive after entering exit in Linux system?

    1. A.Login screen
    2. B.Internet
    3. C.Logout screen
    4. D.Login prompt
    Show answer

    D. Login prompt

  18. Single dot (.) with cd refers to ___

    1. A.Change directory
    2. B.Created directory
    3. C.Current directory
    4. D.Parent directory
    Show answer

    C. Current directory

  19. For what based of PC's, Linux was specifically designed?

    1. A.Intel
    2. B.HCL
    3. C.Wipro
    4. D.IBM
    Show answer

    A. Intel

  20. From where did the file system can be used to unambiguously identified and referenced?

    1. A.Tree structure
    2. B.Folders
    3. C.Home directory
    4. D.Root directory
    Show answer

    A. Tree structure

  21. Which feature is used to prevent overwriting an existing file the redirection operation?

    1. A.Mkfs
    2. B.Man
    3. C.Cat
    4. D.Noclobber
    Show answer

    D. Noclobber

  22. When we want replace a file system we have to ____ the present file system.

    1. A.Cancel
    2. B.Remove
    3. C.Unmount
    4. D.Mount
    Show answer

    C. Unmount

  23. A record consists of

    1. A.Files
    2. B.Folders
    3. C.Fields
    4. D.Datas
    Show answer

    C. Fields

  24. The location where the user enter user name is called as

    1. A.Login location
    2. B.Login user
    3. C.Login prompt
    4. D.Login name
    Show answer

    C. Login prompt

  25. What is mainly used for creating, deleting and editing the files?

    1. A.Editors
    2. B.Compilers
    3. C.Interpreter
    4. D.Word processors
    Show answer

    A. Editors

  26. All the users of the system who are not members of a project group are referred to as

    1. A.Group users
    2. B.File owner
    3. C.Group owner
    4. D.Other users
    Show answer

    D. Other users

  27. The file name should not duplicate

    1. A.Command names
    2. B.Primary name
    3. C.First names
    4. D.System name
    Show answer

    A. Command names

  28. End of file is referred by

    1. A.fd 0
    2. B.fd 1
    3. C.fd 2
    4. D.fd 3
    Show answer

    A. fd 0

  29. Which command takes data from one command to another command?

    1. A.Cat
    2. B.Pipe
    3. C.More
    4. D.Tee
    Show answer

    B. Pipe

  30. Can the password and the user name be the same?

    1. A.Sometimes
    2. B.Yes
    3. C.No
    4. D.Not always
    Show answer

    B. Yes

Companies that ask Computer questions