InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
You Attempt To Delete A File Called Sales.mem Using The Rm Command But The Command Fails. What Could Be The Problem? |
|
Answer» In order to delete a FILE, you must have write RIGHTS to the directory CONTAINING the file. In order to delete a file, you must have write rights to the directory containing the file. |
|
| 52. |
You Read An Article That Lists The Following Command: Dd If=/dev/fdo Bs=512 Of=/new What Does This Accomplish? |
|
Answer» The DD command is a special copy command OFTEN USED for floppy disks and tapes. The if= option specifies the source; the bs= is the block SIZE; and the of= option is the output. The dd command is a special copy command often used for floppy disks and tapes. The if= option specifies the source; the bs= is the block size; and the of= option is the output. |
|
| 53. |
You Want To Copy The User's Home Directories To A New Location. Which Of The Following Commands Will Accomplish This? |
|
Answer» <P>The -r option tells the cp command to recurs the directories. The -P option retains the original PERMISSIONS. The -r option tells the cp command to recurs the directories. The -P option retains the original permissions. |
|
| 54. |
Which Of The Following Tasks Cannot Be Accomplished With The Touch Command? |
|
Answer» The touch command is usually used to MODIFY EITHER a file’s access or MODIFICATION TIME. It can ALSO be used to create a new file. The touch command is usually used to modify either a file’s access or modification time. It can also be used to create a new file. |
|
| 55. |
What Is Difference Between At And Cron? |
|
Answer» CRON command is USED to SCHEDULE the task daily at the same time repeatedly ,“at” command is used to schedule the task only once i.e. to run only ONE time. Cron command is used to schedule the task daily at the same time repeatedly ,“at” command is used to schedule the task only once i.e. to run only one time. |
|
| 56. |
Which Two Commands Can You Use To Delete Directories? |
|
Answer» You can use rmdir or rm -rf to delete a directory. Answer a is incorrect, because the rm command WITHOUT any SPECIFIC flags will not delete a directory, it will only delete FILES. ANSWERS d and e point to a non-existent command. You can use rmdir or rm -rf to delete a directory. Answer a is incorrect, because the rm command without any specific flags will not delete a directory, it will only delete files. Answers d and e point to a non-existent command. |
|
| 57. |
What Do You Type To Stop A Hung Process That Resists The Standard Attempts To Shut It Down? |
|
Answer» The kill command by itself tries to allow a PROCESS to exit cleanly. You TYPE kill -9 PID, on the other HAND, to abruptly stop a process that will not quit by any other means. Also, pressing CtrI+C works for many programs. Answers b and d are only valid in some contexts, and EVEN in those contexts will not work on a hung process. The kill command by itself tries to allow a process to exit cleanly. You type kill -9 PID, on the other hand, to abruptly stop a process that will not quit by any other means. Also, pressing CtrI+C works for many programs. Answers b and d are only valid in some contexts, and even in those contexts will not work on a hung process. |
|
| 58. |
What Command Would You Use To Create An Empty File Without Opening It To Edit It? |
|
Answer» You USE the touch command to create an empty file without NEEDING to open it. Answers a and e point to invalid commands, though either of these MIGHT actually be aliased to point to a real command. Answers b and c utilize editors, and so do not satisfy the requirements of the question. actually touch is used to change the TIMESTAMPS of a file if its exits, otherwise a NEW file with current timestamps will be created. You use the touch command to create an empty file without needing to open it. Answers a and e point to invalid commands, though either of these might actually be aliased to point to a real command. Answers b and c utilize editors, and so do not satisfy the requirements of the question. actually touch is used to change the timestamps of a file if its exits, otherwise a new file with current timestamps will be created. |
|
| 59. |
What Is A Microprocessor? |
|
Answer» Microprocessor is a program-controlled DEVICE, which FETCHES the instructions from memory, decodes and executes the instructions. Most MICRO Processor is single- chip DEVICES. Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor is single- chip devices. |
|
| 60. |
Give Examples For 8 I 16 / 32 Bit Microprocessor? |
|
Answer» 8-bit PROCESSOR - 8085 I Z80 / 6800; 16-bit Processor - 8086 / 68000 / Z8000; 32-bit Processor - 80386 I 80486. 8-bit Processor - 8085 I Z80 / 6800; 16-bit Processor - 8086 / 68000 / Z8000; 32-bit Processor - 80386 I 80486. |
|
| 61. |
Why 8085 Processor Is Called An 8 Bit Processor? |
|
Answer» Because 8085 PROCESSOR has 8 bit ALU (Arithmetic LOGIC Review). SIMILARLY 8086 processor has 16 bit ALU. Because 8085 processor has 8 bit ALU (Arithmetic Logic Review). Similarly 8086 processor has 16 bit ALU. |
|
| 62. |
What Is 1st / 2nd / 3rd / 4th Generation Processor? |
|
Answer» The processor MADE of PMOS I NMOS / HMOS I HCMOS technology is CALLED 1ST / 2nd / 3RD / 4th generation processor, and it is made up of 4 / 8 / 16 / 32 BITS. The processor made of PMOS I NMOS / HMOS I HCMOS technology is called 1st / 2nd / 3rd / 4th generation processor, and it is made up of 4 / 8 / 16 / 32 bits. |
|
| 63. |
Define Hcmos? |
|
Answer» High-density n- TYPE Complimentary METAL OXIDE SILICON FIELD effect transistor. High-density n- type Complimentary Metal Oxide Silicon field effect transistor. |
|
| 64. |
Is The Address Bus Unidirectional? |
|
Answer» The address BUS is UNIDIRECTIONAL because the address INFORMATION is always GIVEN by the Micro Processor to address a memory location of an input I OUTPUT devices. The address bus is unidirectional because the address information is always given by the Micro Processor to address a memory location of an input I output devices. |
|
| 65. |
Is The Data Bus Is Bi-directional? |
|
Answer» The data bus is Bi-directional because the same bus is used for TRANSFER of data between Micro PROCESSOR and memory or INPUT / OUTPUT devices in both the DIRECTION. The data bus is Bi-directional because the same bus is used for transfer of data between Micro Processor and memory or input / output devices in both the direction. |
|
| 66. |
What Is The Disadvantage Of Microprocessor? |
|
Answer» It has LIMITATIONS on the size of DATA. Most MICROPROCESSOR does not SUPPORT floating-point OPERATIONS. It has limitations on the size of data. Most Microprocessor does not support floating-point operations. |
|
| 67. |
What Is The Difference Between Microprocessor And Microcontroller? |
|
Answer» In Microprocessor more op-codes, few bit handling INSTRUCTIONS. But in Microcontroller: fewer op-codes, more bit handling Instructions, and also it is defined as a DEVICE that includes micro PROCESSOR, MEMORY, & input / output signal lines on a single chip. In Microprocessor more op-codes, few bit handling instructions. But in Microcontroller: fewer op-codes, more bit handling Instructions, and also it is defined as a device that includes micro processor, memory, & input / output signal lines on a single chip. |
|
| 68. |
What Is Meant By Latch? |
|
Answer» Latch is a D- type flip-flop used as a temporary STORAGE device controlled by a TIMING signal, which can store 0 or 1. The primary function of a Latch is DATA storage. It is used in output DEVICES such as LED, to hold the data for display. Latch is a D- type flip-flop used as a temporary storage device controlled by a timing signal, which can store 0 or 1. The primary function of a Latch is data storage. It is used in output devices such as LED, to hold the data for display. |
|
| 69. |
Why Does Microprocessor Contain Rom Chips? |
|
Answer» Microprocessor contain ROM CHIP because it contain INSTRUCTIONS to EXECUTE data. Microprocessor contain ROM chip because it contain instructions to execute data. |
|
| 70. |
What Is The Difference Between Primary & Secondary Storage Device? |
|
Answer» In primary storage device the storage capacity is limited. It has a VOLATILE memory. In secondary storage device the storage capacity is larger. It is a nonvolatile memory. Primary DEVICES are: RAM / ROM. Secondary devices are: Floppy DISC I Hard DISK. In primary storage device the storage capacity is limited. It has a volatile memory. In secondary storage device the storage capacity is larger. It is a nonvolatile memory. Primary devices are: RAM / ROM. Secondary devices are: Floppy disc I Hard disk. |
|
| 71. |
Difference Between Static And Dynamic Ram? |
|
Answer» STATIC RAM: No refreshing, 6 to 8 MOS transistors are required to form one memory cell, INFORMATION stored as voltage level in a FLIP flop. Dynamic RAM: Refreshed periodically, 3 to 4 transistors are required to form one memory cell, Information is stored as a charge in the gate to SUBSTRATE capacitance. Static RAM: No refreshing, 6 to 8 MOS transistors are required to form one memory cell, Information stored as voltage level in a flip flop. Dynamic RAM: Refreshed periodically, 3 to 4 transistors are required to form one memory cell, Information is stored as a charge in the gate to substrate capacitance. |
|
| 72. |
What Is Interrupt? |
|
Answer» INTERRUPT is a signal send by external DEVICE to the processor so as to REQUEST the processor to perform a particular work. Interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work. |
|
| 73. |
What Is Cache Memory? |
|
Answer» Cache memory is a SMALL high-speed memory. It is used for TEMPORARY STORAGE of data & information between the main memory and the CPU (center processing unit). The cache memory is only in RAM. Cache memory is a small high-speed memory. It is used for temporary storage of data & information between the main memory and the CPU (center processing unit). The cache memory is only in RAM. |
|
| 74. |
What Is Called .scratch Pad Of Computer.? |
|
Answer» CACHE MEMORY is SCRATCH PAD of COMPUTER. Cache Memory is scratch pad of computer. |
|
| 75. |
Which Transistor Is Used In Each Cell Of Eprom? |
|
Answer» FLOATING .gate Avalanche INJECTION MOS (FAMOS) transistor is USED in each cell of EPROM. Floating .gate Avalanche Injection MOS (FAMOS) transistor is used in each cell of EPROM. |
|
| 76. |
Differentiate Between Ram And Rom? |
|
Answer» RAM: READ / Write memory, High SPEED, Volatile Memory. ROM: Read only memory, Low Speed, NON Voliate Memory. RAM: Read / Write memory, High Speed, Volatile Memory. ROM: Read only memory, Low Speed, Non Voliate Memory. |
|
| 77. |
What Is A Compiler? |
|
Answer» Compiler is used to translate the high-level LANGUAGE PROGRAM into MACHINE code at a time. It doesn’t REQUIRE special instruction to STORE in a memory, it stores automatically. The Execution time is less compared to Interpreter. Compiler is used to translate the high-level language program into machine code at a time. It doesn’t require special instruction to store in a memory, it stores automatically. The Execution time is less compared to Interpreter. |
|
| 78. |
Which Processor Structure Is Pipelined? |
|
Answer» All X86 PROCESSORS have PIPELINED STRUCTURE. All x86 processors have pipelined structure. |
|
| 79. |
What Is Flag? |
|
Answer» Flag is a flip-flop USED to store the information about the STATUS of a processor and the status of the instruction executed most RECENTLY . Flag is a flip-flop used to store the information about the status of a processor and the status of the instruction executed most recently . |
|
| 80. |
What Is Stack? |
|
Answer» Stack is a PORTION of RAM used for SAVING the content of PROGRAM Counter and general purpose registers. Stack is a portion of RAM used for saving the content of Program Counter and general purpose registers. |
|
| 81. |
Can Rom Be Used As Stack? |
|
Answer» ROM cannot be USED as STACK because it is not POSSIBLE to WRITE to ROM. ROM cannot be used as stack because it is not possible to write to ROM. |
|
| 82. |
What Is Nv-ram? |
|
Answer» NONVOLATILE Read Write MEMORY, also called FLASH memory. It is also know as SHADOW RAM. Nonvolatile Read Write Memory, also called Flash memory. It is also know as shadow RAM. |
|
| 83. |
List The Main Applications Of 8 Bit Microprocessors? |
|
Answer» 8 bit microprocessors are used in a VARIETY of applications such as APPLIANCES automobiles ,INDUSTRIAL process and control applications. 8 bit microprocessors are used in a variety of applications such as appliances automobiles ,industrial process and control applications. |
|
| 84. |
Explain Mysql Architecture. |
|
Answer» The front LAYER takes care of network CONNECTIONS and security authentications, the MIDDLE layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one SUPPLIED with MySQL (MyISAM) or a commercial one supplied by a third-party vendor (ScaleDB, InnoDB, etc.) The front layer takes care of network connections and security authentications, the middle layer does the SQL query parsing, and then the query is handled off to the storage engine. A storage engine could be either a default one supplied with MySQL (MyISAM) or a commercial one supplied by a third-party vendor (ScaleDB, InnoDB, etc.) |
|
| 85. |
Explain Mysql Locks. |
|
Answer» Table-level LOCKS ALLOW the user to lock the entire table, page-level locks allow locking of certain portions of the tables (those portions are referred to as tables), row-level locks are the most GRANULAR and allow locking of SPECIFIC rows. Table-level locks allow the user to lock the entire table, page-level locks allow locking of certain portions of the tables (those portions are referred to as tables), row-level locks are the most granular and allow locking of specific rows. |
|
| 86. |
Explain Multi-version Concurrency Control In Mysql? |
|
Answer» Each row has two ADDITIONAL columns ASSOCIATED with it - creation TIME and deletion time, but instead of storing timestamps, MySQL STORES version NUMBERS. Each row has two additional columns associated with it - creation time and deletion time, but instead of storing timestamps, MySQL stores version numbers. |
|
| 87. |
What Are Mysql Transactions? |
|
Answer» A SET of instructions/queries that should be EXECUTED or rolled BACK as a single atomic UNIT. A set of instructions/queries that should be executed or rolled back as a single atomic unit. |
|
| 88. |
What's Your Goal For Your Talk At Fosdem? |
|
Answer» I’d like to communicate the basic ideas — that Linux is a good BIOS, and why; why Linux BIOS is BUILT the way it is; where we are going; and how people can help. Most importantly, why it all matters — and it really matters a lot. We’re on the verge of losing control of the systems we buy, and we need to make a conscious EFFORT, as a COMMUNITY, to ensure this loss of control does not HAPPEN. That effort will not be without some sacrifice, but if we are to maintain our ability to use and program our machines, and have FUN with them, we have to act now. Because, if the computing business stops being fun, what’s the point$ I’d like to communicate the basic ideas — that Linux is a good BIOS, and why; why Linux BIOS is built the way it is; where we are going; and how people can help. Most importantly, why it all matters — and it really matters a lot. We’re on the verge of losing control of the systems we buy, and we need to make a conscious effort, as a community, to ensure this loss of control does not happen. That effort will not be without some sacrifice, but if we are to maintain our ability to use and program our machines, and have fun with them, we have to act now. Because, if the computing business stops being fun, what’s the point$ |
|
| 89. |
We Saw The Mention On The Linux Bios Website About One Million Devices Shipped With Linux Bios. Could You Tell Us More About These Devices? |
|
Answer» Yes, these are internet terminals that were built in India, based on the [x86 system-on-chip] STPC chip, I am told; also, there evidently is a Turkish-built digital TV that runs Linux BIOS. I have also HEARD that there are routers and many other embedded devices running Linux BIOS. I think at this point that 1 million is a low number. I am in contact with other set-top BOX vendors that are talking about numbers in the lOs of MILLIONS for their PRODUCTS. These numbers actually make the OLPC numbers seem small, which is in it AMAZING. Yes, these are internet terminals that were built in India, based on the [x86 system-on-chip] STPC chip, I am told; also, there evidently is a Turkish-built digital TV that runs Linux BIOS. I have also heard that there are routers and many other embedded devices running Linux BIOS. I think at this point that 1 million is a low number. I am in contact with other set-top box vendors that are talking about numbers in the lOs of millions for their products. These numbers actually make the OLPC numbers seem small, which is in it amazing. |
|
| 90. |
How Can You Copy Lines Into The Buffer In Command Mode? |
|
Answer» yy - COPY a SINGLE LINE defined by current cursor position yy - copy a single line defined by current cursor position |
|
| 91. |
How Can You Terminate Vi Session? |
|
Answer» Use command: ZZ that is SAVE changes and quit. Use command: ZZ that is save changes and quit. |
|
| 92. |
How Many Vi Editor Modes Do You Know? |
|
Answer» Three MODES - Three modes - |
|
| 93. |
How To Switch To A Previously Used Directory? |
|
Answer» CD - cd - |
|
| 94. |
Please Write A Loop For Removing All Files In The Current Directory That Contains A Word 'log'? |
|
Answer» for i in *LOG*; do RM $i; DONE for i in *log*; do rm $i; done |
|
| 95. |
What Is The Best Way To See The End Of A Logfile.log File? |
|
Answer» Use tail command - output the last part of FILES Use tail command - output the last part of files |
|
| 96. |
How To Find Difference In Two Configuration Files On The Same Server? |
|
Answer» Use DIFF command that is COMPARE FILES LINE by line Use diff command that is compare files line by line |
|
| 97. |
What Does The Top Command Display? |
|
Answer» Top PROVIDES an ongoing look at processor activity in real time.It DISPLAYS a listing of the most CPU-intensive tasks on the system, and can provide an interactive inter¬ FACE for MANIPULATING processes. (q is to quit) Top provides an ongoing look at processor activity in real time.It displays a listing of the most CPU-intensive tasks on the system, and can provide an interactive inter¬ face for manipulating processes. (q is to quit) |
|
| 98. |
What Does Grep() Stand For? |
|
Answer» GENERAL REGULAR EXPRESSION PARSER. General Regular Expression Parser. |
|
| 99. |
How You Will Uncompress The File? |
|
Answer» USE tar command (The GNU VERSION of the tar ARCHIVING utility): Use tar command (The GNU version of the tar archiving utility): |
|
| 100. |
What Types Of Files You Know? |
|
Answer» Files come in eight flavors: Files come in eight flavors: |
|