0

programming languages Online Quiz - 64

Description: programming languages Online Quiz - 64
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

What do you use to forward errors to a file?

  1. 1> filename

  2. 2> /dev/null

  3. &> filename

  4. 2> filename


Correct Option: B

How can you display a list of all files, including the hidden files?

  1. find all

  2. find -a

  3. all

  4. ls -a


Correct Option: D

What command do you have to use to go to the parent directory?

  1. cd ..

  2. cd ~

  3. cd -

  4. cd /up


Correct Option: A

How do you delete a file?

  1. less filename

  2. rm filename

  3. dl filename

  4. touch filename


Correct Option: B

With what can you stop a process?

  1. Stop

  2. Shutdown

  3. Kill

  4. Delete


Correct Option: C

How to create a new file without opening it?

  1. touch filename

  2. pico filename

  3. less filename

  4. more filename


Correct Option: A
  1. command >> file

  2. command << file

  3. command <> file

  4. command < file


Correct Option: A

With what command you can see your user name?

  1. pwd

  2. I

  3. whoami

  4. me


Correct Option: C

With what command you can see what folder you are in?

  1. place

  2. whereami

  3. pwd

  4. map


Correct Option: C

What does the command ls do?

  1. Opening a file

  2. Shows a calendar

  3. Display of the contents of a file

  4. Display of files and folders, present in the folder where you are


Correct Option: D

What is Externalizable?

  1. Class

  2. Constructor

  3. Interface

  4. Method


Correct Option: C

What is the Immediate superclass of the Applet Class in AWT?

  1. Panel

  2. Frame

  3. Window

  4. AWT


Correct Option: A

Exception can be Rethrown?

  1. True

  2. False


Correct Option: A

The base class for Error and Exception is throwable

  1. True

  2. False


Correct Option: A

What is a JVM?

  1. Interpreter

  2. Compiler

  3. Byte code file

  4. Class file


Correct Option: A

Can a double value be cast to a byte?

  1. True

  2. False


Correct Option: A

What ia the result when you add a double value to a String?

  1. double

  2. string

  3. int

  4. float


Correct Option: B

Are true and false keywords in java?

  1. Yes

  2. No

  3. Cant say

  4. Not Aplicable


Correct Option: B

An object can be reachable again when it is garbage collected.

  1. True

  2. False


Correct Option: B
- Hide questions