You are on page 1of 21

lOMoARcPSD|7154150

Parcial 07 September 2019, questions and answers

BS Information Technology (AMA Computer University)

StuDocu is not sponsored or endorsed by any college or university


Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)
lOMoARcPSD|7154150

makes sure no stale .o files have been left over from a previous build

ANSWER: MAke Clean

build kernel

ANSWER: make modules

adds a .depend with headers specific to the kernel components

ANSWER: make dep

build the dynamic modules

ANSWER: MAke modules_ install

install the modules in /lib/modules/kernel-version/

ANSWER: make

Linux is built as a free and open source alternative to

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

ANSWER: minix

PATCHLEVEL

ANSWER:

The Configure.help file also provides further information for when a kernel module doesn't load
properly. Specific options and aliases for ___________________ are specified in that file.

ANSWER: /etc/modules.conf

makes sure no stale

ANSWER: MAke clean

adds a .depend with headers specific to the kernel components

ANSWER: Make dep

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

build the dynamic modules

Answer: Make Modules

install the modules in /lib/modules/kernel-version/

ANSWER: MAke Modules_Install

build kernel

ANSWER: make

Edit .config browsing through menus (uses GUI widgets)

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

ANSWER: make xconfig

Edit .config browsing through menus (uses ncurses)

ANSWER: make menuconfig

Edit each line of .config one at a time

ANSWER: Make Config

Patchlevel

ANSWER: 4

VERSION

ANSWER: 2

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

SUBLEVEL

ANSWER: 22

One can use: make zdisk or make bzdisk to create compressed kernels on a floppy.

The compiled kernel will be written to:

ANSWER: /dev/fd0

Decide what kind of hardware and network support needs to be included in the kernel as well as which
type of kernel we wish to compile (modular or monolithic). These choices will be saved in a single file:

ANSWER: /usr/src/linux/.config

If you have downloaded the linux-2.4.21.tgz kernel source and you want to update to a more recent
kernel linux2.4.22 for example, you must download the ___________________patch.

ANSWER: patch-2.4.22.gz

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

Linux is the best-known and most-used open source operating system.

android uses a Linux kernel but relies very little on GNU tools

As an operating system, Linux is software that sits underneath all of the other software on a computer,
receiving requests from those programs and relaying these requests to the computer’s hardware.

Linux is also known as "Linux kernel"

ANSWER: true

Not all Linux installations use GNU components as a part of their operating system.

This means that Linux is incredibly customizable, because not just applications, such as word processors
and web browsers,

can be swapped out.

Linux users also can choose core components,

such as which system displays graphics, and other user-interface components.

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

Linux was originally created to be similar to Unix

Linux was created in 1991 by Linus Torvalds

Linux has a graphical interface, and types of software you are accustomed to using on other operating
systems, such as word processing applications, have Linux equivalents

Linux is similar to other operating systems you may have used before, such as Windows, OS X, or iOS.

The /lib/modules/<kernelversion>/kernel directory, has many of the same

subdirectories present in the kernel source tree. >- True

a copy made in an otherwise Transparent file format whose markup,

or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is
"NOT"!!!!!

Transparent. >-False

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

A "COMPRESSED LINUX KERNEL"!!!! using gzip is compiled with: make zImage

The compiled kernel will be:

/usr/src/linux/arch/i386/boot/zImage >-fake

The make tool will read the /usr/src/linux/Makefile to compile.

The -p option can strip any number of directories the patch is expecting to find.

this tool can be used to selectively insert or remove

ANSWER: Moidprobe

The patch tool has several mechanisms to reverse the effect of a patch.

The patch tool has a -R switch which can be used to reverse all the operations in a patch file.

The kernel "CAN"!!! automatically insert modules using the kmod module. This module has

replaced the kerneld module. >-false

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

pass appropriate bootloader parameter - e.g acpi=off.

ANSWER: Kernel

use a rescue disk or a boot disk

ANSWER: Boot Loader

override INIT

ANSWER: maINIT

a kernel module fails to load or an RC script fails

ANSWER: INIT

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

corrupt root filesystem or a faulty /etc/fstab entry

ANSWER: INIT

not installed or broken

ANSWER: Booty Loader

use alternative runlevel

ANSWER: INIT

use root login prompt

ANSWER: INIT

hardware initialization errors (often with older kernels on latest mother boards)

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

ANSWER: surgeant Kernel

The filesystem uses 16 bits for the user and

group fields, so the maximum is 2^16 = 65534 which is usually mapped to the user

nobody or nfsnobody more recently >-16

Contains the command line passed at boot time to the kernel by the bootloader

ANSWER: /proc/cmdline

When using kmod the kernel will use the tool listed in /proc/sys/kernel/modprobe

whenever a module is needed. >-true

The kernel capabilities that have been selected in a default or a patched kernel are

reflected in the /proc directory >- True

/proc/modules

List of currently loaded modules, same as the output of lsmod

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

formats include proprietary formats that can be read and edited only by proprietary word processors,
SGML or XML.

ANSWER: opaque

The printtotty10 script can be started at boot time by placing the command in

/etc/rc.d/rc.local.

/proc/sys/

This directory is the only place were files with write permission can be found (the rest of /proc is read-
only).

/proc/filesystems

Filesystems currently supported by the kernel. Notice that by inserting a new module (e.g

cramfs) this will add an entry to the file

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

/proc/partitions

The partition layout is displayed with further information such as the name, the number of

block, the major/minor numbers, etc

The init program's configuration file is

/etc/inittab

/proc/cpuinfo

the CPU information is stored here

/proc/sys/kernel/hotplug

Path to the utility invoked by the kernel which implements hotplugin (used for USB

devices or hotplug PCI and SCSI devices) >-xxxxxxx FAKE NEWS

Customising the boot process involves understanding how "STARTUP SCRIPT" are called.

The "GETFACL" is a tool that lists ACL privileges.

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

"INIT" THIS is the parent of all processes

"INIT PROCESS" is the first program to run in user-space.

One way to have the script started at a specific run level is to add a line in "/etc/inittab"

/proc/meminfo

Memory statistics are written to this file

/proc/sys/overflowgid/uid

This refers to the maximum number of users on a system.

All processes that can be started or stopped at a given runlevel are controlled by a "SCRIPT"

The rewriting or revising of a sequence of instructions, especially a computer program.

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

answer: REPROGRAM

The component of a robot that comes into contact with the work piece and does the actual work on it.
Also known as the hand.

answer: END EFFECTOR

An arm-like mechanism on a robotic system which grabs and moves objects with a number of degrees of
freedom under automatic control.

answer: Manipulators

Containing, producing, arising from, or actuated by electricity.

ANSWER: electric

A building or set of buildings with facilities for manufacturing or producing goods.

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

ANSWER: factory

a set of coded instructions the robot must follow.

ANSWER: Computer program

A machine that performs complicated tasks and is guided by automatic controls.

ANSWER: Robot

Having to do with morals, values, right and wrong; in accordance with standards of right conduct.

ANSWER: ethichs

A person who writes and tests computer programs.

ANSWER: Programmer

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

A step-by-step procedure for solving a problem, especially by a computer.

ANSWER: Algorithm

Operated by the action of water or other fluids.

ANSWER: Hydraulic

An effect or influence of one thing on another.

ANSWER: Impact

A community, nation, or broad grouping of people who share common traditions, institutions, collective
activities and interests.

ANSWER: society

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

The people available for work in a particular area, firm, or industry.

ANSWER: Workforce

In robotics, a tiny computer that acts as the robot's brain and contains the computer program.

ANSWER: Controller

The space within which a robotic arm can move.

ANSWER: Work Envelope

In robotics, provides power to the robot; may supply electricity, hydraulic power, or pneumatic power.

ANSWER: Power Supply

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

The use of technology to ease human labor or to extend the mental or physical capabilities of humans.

ANSWER: Automation

Some factor that restricts the scope of activity or accomplishment

ANSWER: Limitation

Pertaining to or operated by air or other gas.

ANSWER: Pneumatic

The act of giving up one benefit in order to gain another, greater benefit.

ANSWER: Trade-off

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)


lOMoARcPSD|7154150

Technology dealing with the design, construction, and operation of robots in automation.

ANSWER: Robotics

The process of locating trouble and making repairs in machinery and technical equipment.

ANSWER: Troubleshoot

The upkeep of industrial facilities and equipment and/or software.

ANSWER: MAintenANCE

Downloaded by Charlene Mae de leon (charlenemaedeleon8@gmail.com)

You might also like