|Description: Computer Basics|
|Number of Questions: 11|
|Created by: Prabha Kade|
Which part of C program is ignored by its compiler?
Comments are program documentations, which help the reader to understand the code better.
Which of the following operating systems has a command line interface?
MS DOS has a command line interface.
Which operator returns the address of a variable?
It returns the address of a variable. For example, a; will give actual address of the variable.
Which storage class allows local variables to maintain their values between function calls?
The static storage class instructs the compiler to keep a local variable in existence during the lifetime of the program instead of creating and destroying it each time it comes into and goes out of scope. Therefore, making local variables static allows them to maintain their values between function calls.
In what way are the items stored in a queue?
FIFO stands for First In First Out. A queue is a FIFO data structure.
How can an array be passed as a function argument?
While passing arrays to the argument, the name of the array is passed as an argument, i.e, starting address of memory area is passed as argument. Hence, an array is passed by reference.
Which of the following is not a storage class in C?
Unions are quite similar to the structures in C. Union is also a derived data type as structure. Unions are not a memory storage class.
What is a collection of wires that transfers data between components inside a computer called?
In computer architecture, a bus is a subsystem that transfers data between components inside a computer.
How can the 2's complement be obtained from the given 1's complement of a number?
2's complement of a number is obtained by adding 1 to the 1's complement of that number.
Which of the following is a reservation protocol for allocating a multiple access channel?
Bit Map Protocol is also a contention system. In Bit Map Protocol, the desire to transmit is broadcast before the actual transmission. Such protocols are called reservation protocols.
Which of the following is a property of ATM networks?
ATM networks are connection-oriented. Making a call requires first sending a message to set up a connection. After that, subsequent cells follow the same path to the destination. Cell delivery is not guaranteed, but their order is guaranteed. If cells 1 and 2 are sent in that order, then they will arrive in that order, never first 2 and then 1.