Science, Astronomy, and Unix Technology Quiz
A quiz covering astronomy concepts (space, planets, Earth's motion), science fundamentals, and Unix/Linux command line skills
Questions
Which of the following command can be used to list the file with the last modified file to be listed at the bottom?
- ls
- ls -l
- ls -ltr
- ls -la
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?
- awk '{print $9}' test.txt > Result.txt
- awk '{print $9}' Result.txt > test.txt
- awk '{print $9}' Test.txt > result.txt
- awk '{print $9}' result.txt > Test.txt
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?
- ls -l /tmp/user | head -5 /app/unix/dir
- ls -l /app/unix/dir | head -5
- ls /app/Unix/dir | Head +5
- ls /app/unix/dir | head +5
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?
- find /app/unix -mtime +30 -exec ls -lrt {} \ /tmp/user;
- find /app/unix -mmonth +1 -exec ls -lrt {} ;
- find /app/unix -mday +30 -exec ls -lrt {} ;
- find /app/unix -mtime +30 -exec ls -lrt {} ;
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?
- Var=${Count: -2}
- var=${Count: -2}
- var=${Count: +2}
- Var=${count: -2}
The sun is
- The only star in our galaxy.
- Just one of billions of stars that make up our galaxy.
- The largest planet in our solar system.
- Technically speaking, one of Earth's moons.
What is the central and largest body of our solar system?
- Jupiter
- The Milky Way
- Earth
- The sun
Which of these features makes the Earth unique among planets?
- It is the only round planet.
- It is the only planet with its own moon.
- It is the only planet that has enough oxygen in its atmosphere to sustain life.
- It is the only ringed planet.
Comets are icy masses of frozen gases and dust particles. What happens when a comet gets too close to the sun?
- The gases catch fire, making the comet glow.
- The ice begins to melt, leaving a trail of gases and debris.
- The comet explodes, which is called a supernova.
- The comet bounces off the sun’s magnetosphere.
What did 17th-century astronomer Edmund Halley notice about the comet later named after him?
- The comet passed by the Earth on a predictable schedule.
- The comet passed by the Earth at random intervals.
- The comet passed by Earth only once in a million years.
- The comet was on a collision course with Earth.
What is a meteorite?
- A chunk of comet (rock) that survives our atmosphere and falls to Earth
- A meteor that hasn't hit Earth yet
- A piece of rock that is in orbit around the Earth
- A radioactive moon rock
The fates of the sun and the Earth are linked. Which of the following explains why this statement is true?
- Without the Earth in orbit, the sun would quickly burn up.
- Without the heat and light from the sun, life on Earth will cease.
- Without each other, they would both spin out of control.
- Without the sun to cool things off, the interior of the Earth would burn up the planet.
Planets have elliptical orbits. This means that
- Their orbits are perfectly round.
- Their orbits are in the shape of a figure eight.
- At some point of its orbit, a planet is closer to the sun.
- Their orbits change direction from time to time.
We have a 24-hour day because that is
- The length of time it takes for the moon to travel around the Earth.
- The length of time it takes the Earth to rotate once around its axis.
- The length of time it takes the Earth to travel once around the sun.
- The length of time it takes the sun to rotate once around its axis.
On Earth one year is
- The length of time for the moon to travel once around the Earth.
- The length of time for the Earth to rotate once around its axis.
- The length of time for the sun to travel once around the Earth.
- The length of time for the Earth to travel once around the sun.
who received a patent for the automobile?
- George Seldon
- Graf von Seherr
- Christoph Seherr
- Rudy Dhaenens
a patent in for the automobile was recieved in which year?
- 1902
- 1893
- 1895
- 1904
The first e-mail was sent over the Internet in which year?
- 1978
- 1975
- 1972
- 1971
the first public demonstration of television was held in the year?
- 1938
- 1928
- 1936
- 1926