Science, Astronomy, and Unix Technology Quiz

A quiz covering astronomy concepts (space, planets, Earth's motion), science fundamentals, and Unix/Linux command line skills

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following command can be used to list the file with the last modified file to be listed at the bottom?

  1. ls
  2. ls -l
  3. ls -ltr
  4. ls -la
Question 2 Multiple Choice (Single Answer)

Suppose you have a file test.txt Contain 9 columns which of the following you will use to extract 9 column from the file test.txt and store in a file Result.txt?

  1. awk '{print $9}' test.txt > Result.txt
  2. awk '{print $9}' Result.txt > test.txt
  3. awk '{print $9}' Test.txt > result.txt
  4. awk '{print $9}' result.txt > Test.txt
Question 3 Multiple Choice (Single Answer)

Which of the following command you can use to list the first five records of a directory location say /app/unix/dir when your current location is /tmp/user?

  1. ls -l /tmp/user | head -5 /app/unix/dir
  2. ls -l /app/unix/dir | head -5
  3. ls /app/Unix/dir | Head +5
  4. ls /app/unix/dir | head +5
Question 4 Multiple Choice (Single Answer)

Which of the following is the command to find 30 days old files in the location /app/unix if you are currently at location /tmp/user?

  1. find /app/unix -mtime +30 -exec ls -lrt {} \ /tmp/user;
  2. find /app/unix -mmonth +1 -exec ls -lrt {} ;
  3. find /app/unix -mday +30 -exec ls -lrt {} ;
  4. find /app/unix -mtime +30 -exec ls -lrt {} ;
Question 5 Multiple Choice (Single Answer)

Suppose a variable Count= var_17 Which of the following command can be use to extract last two digit from variable Count and store in a variable var?

  1. Var=${Count: -2}
  2. var=${Count: -2}
  3. var=${Count: +2}
  4. Var=${count: -2}
Question 6 Multiple Choice (Single Answer)

The sun is

  1. The only star in our galaxy.
  2. Just one of billions of stars that make up our galaxy.
  3. The largest planet in our solar system.
  4. Technically speaking, one of Earth's moons.
Question 7 Multiple Choice (Single Answer)

What is the central and largest body of our solar system?

  1. Jupiter
  2. The Milky Way
  3. Earth
  4. The sun
Question 8 Multiple Choice (Single Answer)

Which of these features makes the Earth unique among planets?

  1. It is the only round planet.
  2. It is the only planet with its own moon.
  3. It is the only planet that has enough oxygen in its atmosphere to sustain life.
  4. It is the only ringed planet.
Question 9 Multiple Choice (Single Answer)

Comets are icy masses of frozen gases and dust particles. What happens when a comet gets too close to the sun?

  1. The gases catch fire, making the comet glow.
  2. The ice begins to melt, leaving a trail of gases and debris.
  3. The comet explodes, which is called a supernova.
  4. The comet bounces off the sun’s magnetosphere.
Question 10 Multiple Choice (Single Answer)

What did 17th-century astronomer Edmund Halley notice about the comet later named after him?

  1. The comet passed by the Earth on a predictable schedule.
  2. The comet passed by the Earth at random intervals.
  3. The comet passed by Earth only once in a million years.
  4. The comet was on a collision course with Earth.
Question 11 Multiple Choice (Single Answer)

What is a meteorite?

  1. A chunk of comet (rock) that survives our atmosphere and falls to Earth
  2. A meteor that hasn't hit Earth yet
  3. A piece of rock that is in orbit around the Earth
  4. A radioactive moon rock
Question 12 Multiple Choice (Single Answer)

The fates of the sun and the Earth are linked. Which of the following explains why this statement is true?

  1. Without the Earth in orbit, the sun would quickly burn up.
  2. Without the heat and light from the sun, life on Earth will cease.
  3. Without each other, they would both spin out of control.
  4. Without the sun to cool things off, the interior of the Earth would burn up the planet.
Question 13 Multiple Choice (Single Answer)

Planets have elliptical orbits. This means that

  1. Their orbits are perfectly round.
  2. Their orbits are in the shape of a figure eight.
  3. At some point of its orbit, a planet is closer to the sun.
  4. Their orbits change direction from time to time.
Question 14 Multiple Choice (Single Answer)

We have a 24-hour day because that is

  1. The length of time it takes for the moon to travel around the Earth.
  2. The length of time it takes the Earth to rotate once around its axis.
  3. The length of time it takes the Earth to travel once around the sun.
  4. The length of time it takes the sun to rotate once around its axis.
Question 15 Multiple Choice (Single Answer)

On Earth one year is

  1. The length of time for the moon to travel once around the Earth.
  2. The length of time for the Earth to rotate once around its axis.
  3. The length of time for the sun to travel once around the Earth.
  4. The length of time for the Earth to travel once around the sun.
Question 16 Multiple Choice (Single Answer)

who received a patent for the automobile?

  1. George Seldon
  2. Graf von Seherr
  3. Christoph Seherr
  4. Rudy Dhaenens
Question 17 Multiple Choice (Single Answer)

a patent in for the automobile was recieved in which year?

  1. 1902
  2. 1893
  3. 1895
  4. 1904
Question 18 Multiple Choice (Single Answer)

The first e-mail was sent over the Internet in which year?

  1. 1978
  2. 1975
  3. 1972
  4. 1971
Question 19 Multiple Choice (Single Answer)

the first public demonstration of television was held in the year?

  1. 1938
  2. 1928
  3. 1936
  4. 1926