Answered by:
Techinical Quiz

Question
-
dear friends here i am starting the technical quiz everyone can POST QUESTIONS HERE and ANSWER to previously posted questions. ALL ARE WELCOMETuesday, March 20, 2007 4:49 PM
Answers
-
here's the first one for you.
CDROM is a
1.)Random access memory
2.) semi-random access
3.) sequential
4.) direct- memory access.
Tuesday, March 20, 2007 4:52 PM -
Your question is not so clear... what are you asking???
If you are asking the access mode of CDROM than its connected through Direct Memory Access.. so the ans is (4)
Wednesday, March 21, 2007 3:01 AM -
KANAV_AGGARWAL_502530 wrote: dear friends here i am starting the technical quiz everyone can POST QUESTIONS HERE and ANSWER to previously posted questions. ALL ARE WELCOME Man how many Quiz are you running?? I have seen 3 quiz thread maintained by you.... Looks like you are going to be the Quiz Master in MS Forums... but its a very clever way of getting replies and also a good topic for a thread... but please maintain the quality of the questions.. most of your questions are really good but sometime they are not concerned with any topic or theme or are very easy... also sometime the questions are not clear so please take care of it.. you are doing a good thing by running the quiz thread but please dont let the quality to degrade or else the charm is lost... all the best for further posts, hope to see more exciting quiz here...
Wednesday, March 21, 2007 3:05 AM -
the ans is direct memory access.
Wednesday, March 21, 2007 12:49 PM -
Varun_Modi_a59ed9 wrote: KANAV_AGGARWAL_502530 wrote: dear friends here i am starting the technical quiz everyone can POST QUESTIONS HERE and ANSWER to previously posted questions. ALL ARE WELCOME Man how many Quiz are you running?? I have seen 3 quiz thread maintained by you.... Looks like you are going to be the Quiz Master in MS Forums... but its a very clever way of getting replies and also a good topic for a thread... but please maintain the quality of the questions.. most of your questions are really good but sometime they are not concerned with any topic or theme or are very easy... also sometime the questions are not clear so please take care of it.. you are doing a good thing by running the quiz thread but please dont let the quality to degrade or else the charm is lost... all the best for further posts, hope to see more exciting quiz here...
thanks my dear friend for the compliments and suggestions, i will definitely keep this in mind and if there is anything u like to share with me for the betterment of these threads then kindly do so.
Wednesday, March 21, 2007 6:18 PM -
what does "DDR" stands for in SDRAM-DDR and give explanation, here i am talking about synchronous dynamic ramWednesday, March 21, 2007 6:33 PM
-
KANAV_AGGARWAL_502530 wrote: what does "DDR" stands for in SDRAM-DDR and give explanation, here i am talking about synchronous dynamic ram
DDR SDRAM or double-data-rate synchronous dynamic random access memory is a class of memory integrated circuit used in computers. It achieves greater bandwidth than the preceding single-data-rate SDRAM by transferring data on the rising and falling edges of the clock signal (double pumped). Effectively, it nearly doubles the transfer rate without increasing the frequency of the front side bus. Thus a 100 MHz DDR system has an effective clock rate of 200 MHz when compared to equivalent SDR SDRAM, the “SDR” being a retrospective designation.
With data being transferred 64 bits at a time DDR RAM gives a transfer rate of [mbcr x 2 x 64] / 8; annotated it looks like this: (memory bus clock rate) × 2 (for dual rate) × 64 (number of bits transferred) / 8 (number of bits/byte). Thus with a bus frequency of 100 MHz, DDR-SDRAM gives a max transfer rate of 1600 MB/s.Thursday, March 22, 2007 1:49 AM -
Q.1) what is the first program to be loaded into computer memory?
Q.2) what is the difference between structure and unions in C ??
here i have two questions as they r fairly easy for u ppl.
Thursday, March 22, 2007 9:36 AM -
A structure occupies memory for all the members.. that is you use all the members of the structure.. but a union occupies space for only one member at a given time... ie if you have 3 members in union, than at the given time it can hold only one member in memory.. so the the unions size is equal to the member of the union which has the highest space usage....Thursday, March 22, 2007 3:51 PM
-
VARUN's answer is correct but thats half part of the question
the remaining part is :
the first program to be loaded into computer's memory at boot up is BOOTSTAP LOADER program definitely this program resides in BIOS of computer
Friday, March 23, 2007 8:43 AM -
QUESTION :5
what is the Purpose of PC(Program Counter) in a MicroProcessor????
Saturday, March 24, 2007 4:51 PM -
KANAV_AGGARWAL_502530 wrote: QUESTION :5
what is the Purpose of PC(Program Counter) in a MicroProcessor????
The Program Counter (PC) is a register structure that contains the address pointer value of the current instruction. Each cycle, the value at the pointer is read into the instruction decoder and the program counter is updated to point to the next instruction.Saturday, March 24, 2007 5:40 PM -
The program counter (also called the instruction pointer, part of the instruction sequencer in some computers) is a register in a computer processor which indicates where the computer is in its instruction sequence. Depending on the details of the particular machine, it holds either the address of the instruction being executed, or the address of the next instruction to be executed. The program counter is automatically incremented for each instruction cycle so that instructions are normally retrieved sequentially from memory. Certain instructions, such as branches and subroutine calls and returns, interrupt the sequence by placing a new value in the program counter.
In most processors, the instruction pointer is incremented immediately after fetching a program instruction; this means that the target address of a branch instruction is obtained by adding the branch instruction's operand to the address of the next instruction (byte or word, depending on the computer type) after the branch instruction.Sunday, March 25, 2007 5:00 AM -
detailed answer has been given by sanket but varun answer is also correct,
QUESTION:6
what is cycle stealing in reference to DMA??????
Sunday, March 25, 2007 6:12 AM -
As we know that DMA stands for Direct memory access... what happens is that processor and memory are connected directly, memory and i/o devices are connected by DMA, and this DMA is connected with processor..
DMA is used to speed up the transfer between i/o devices and memory, so what happens is that when a data is transfered, DMA puts the processor in a stand still mode, i.e it steals the time cycle, so that the buss is free for that moment and without the notice of processor, the data gets transfered... though it slows the speed of processor a bit, but its not as slow as the time the processor would have taken if it was taking a note of every transfer.. So this is called Cycle stealing....Sunday, March 25, 2007 11:32 AM -
QUESTION:7
what is a vector pipelining in CPU architecture????
Sunday, March 25, 2007 7:29 PM -
It is a concept used in Parallel Processing. Vector Pipelines are specially designed to handle vector instructions over vector operands. Vector Pipelining method is used by SIMD (Single Instruction Multiple Data) machines.
The concept of vector pipelining is that the second, third, etc. operands used in arithmetic in a DO loop can be fed into the start of this multistep process before the result of the first pair of operands is delivered back into memory. This is what gives the VP its speed compared with a scalar processor in which the instruction steps act serially upon each pair of operands, not starting the second pair until the first is finished. The vector pipeline can thus be considered as analogous to a car assembly line and contrasted with the building of complete cars, one at a time, in a pre- Ford 'scalar' factory.Monday, March 26, 2007 12:59 PM -
QUESTION :8
What piece of hardware do EIDE cables connect to?
Monday, March 26, 2007 4:40 PM -
Memory devices such as Hard Disk, CD-ROM Drive etc are connected to EIDE.Tuesday, March 27, 2007 5:22 PM
-
QUESTION::9
how do you comment out a line in the autoexec.bat file?
Tuesday, March 27, 2007 5:43 PM -
To comment a line in autoexec.bat, put "REM:" before comment.
e.g. -
REM:This is a comment.Tuesday, March 27, 2007 5:50 PM -
-
Mutual exclusion (often abbreviated to mutex) algorithms are used in concurrent programming to avoid the simultaneous use of a common resource, such as a global variable, by pieces of computer code called critical sections.
Examples of such resources are fine-grained flags, counters or queues, used to communicate between code that runs concurrently, such as an application and its interrupt handlers. The problem is acute because a thread can be stopped or started at any time.
To illustrate: suppose a section of code is mutating a piece of data over several program steps, when another thread, perhaps triggered by some unpredictable event, starts executing. If this second thread reads from the same piece of data, the data, in the process of being overwritten, is in an inconsistent and unpredictable state. If the second thread tries overwriting that data, the ensuing state will probably be unrecoverable. These critical sections of code accessing shared data must therefore be protected, so that other processes which read from or write to the chunk of data are excluded from running.
A mutex is also a common name for a program object that negotiates mutual exclusion among threads, also called a lock.Sunday, April 1, 2007 5:10 PM
All replies
-
here's the first one for you.
CDROM is a
1.)Random access memory
2.) semi-random access
3.) sequential
4.) direct- memory access.
Tuesday, March 20, 2007 4:52 PM -
Your question is not so clear... what are you asking???
If you are asking the access mode of CDROM than its connected through Direct Memory Access.. so the ans is (4)
Wednesday, March 21, 2007 3:01 AM -
KANAV_AGGARWAL_502530 wrote: dear friends here i am starting the technical quiz everyone can POST QUESTIONS HERE and ANSWER to previously posted questions. ALL ARE WELCOME Man how many Quiz are you running?? I have seen 3 quiz thread maintained by you.... Looks like you are going to be the Quiz Master in MS Forums... but its a very clever way of getting replies and also a good topic for a thread... but please maintain the quality of the questions.. most of your questions are really good but sometime they are not concerned with any topic or theme or are very easy... also sometime the questions are not clear so please take care of it.. you are doing a good thing by running the quiz thread but please dont let the quality to degrade or else the charm is lost... all the best for further posts, hope to see more exciting quiz here...
Wednesday, March 21, 2007 3:05 AM -
the ans is direct memory access.
Wednesday, March 21, 2007 12:49 PM -
Varun_Modi_a59ed9 wrote: KANAV_AGGARWAL_502530 wrote: dear friends here i am starting the technical quiz everyone can POST QUESTIONS HERE and ANSWER to previously posted questions. ALL ARE WELCOME Man how many Quiz are you running?? I have seen 3 quiz thread maintained by you.... Looks like you are going to be the Quiz Master in MS Forums... but its a very clever way of getting replies and also a good topic for a thread... but please maintain the quality of the questions.. most of your questions are really good but sometime they are not concerned with any topic or theme or are very easy... also sometime the questions are not clear so please take care of it.. you are doing a good thing by running the quiz thread but please dont let the quality to degrade or else the charm is lost... all the best for further posts, hope to see more exciting quiz here...
thanks my dear friend for the compliments and suggestions, i will definitely keep this in mind and if there is anything u like to share with me for the betterment of these threads then kindly do so.
Wednesday, March 21, 2007 6:18 PM -
what does "DDR" stands for in SDRAM-DDR and give explanation, here i am talking about synchronous dynamic ramWednesday, March 21, 2007 6:33 PM
-
KANAV_AGGARWAL_502530 wrote: what does "DDR" stands for in SDRAM-DDR and give explanation, here i am talking about synchronous dynamic ram
DDR SDRAM or double-data-rate synchronous dynamic random access memory is a class of memory integrated circuit used in computers. It achieves greater bandwidth than the preceding single-data-rate SDRAM by transferring data on the rising and falling edges of the clock signal (double pumped). Effectively, it nearly doubles the transfer rate without increasing the frequency of the front side bus. Thus a 100 MHz DDR system has an effective clock rate of 200 MHz when compared to equivalent SDR SDRAM, the “SDR” being a retrospective designation.
With data being transferred 64 bits at a time DDR RAM gives a transfer rate of [mbcr x 2 x 64] / 8; annotated it looks like this: (memory bus clock rate) × 2 (for dual rate) × 64 (number of bits transferred) / 8 (number of bits/byte). Thus with a bus frequency of 100 MHz, DDR-SDRAM gives a max transfer rate of 1600 MB/s.Thursday, March 22, 2007 1:49 AM -
Q.1) what is the first program to be loaded into computer memory?
Q.2) what is the difference between structure and unions in C ??
here i have two questions as they r fairly easy for u ppl.
Thursday, March 22, 2007 9:36 AM -
When the computer starts, BIOS start-up program gets looded in the memory..Thursday, March 22, 2007 3:44 PM
-
A structure occupies memory for all the members.. that is you use all the members of the structure.. but a union occupies space for only one member at a given time... ie if you have 3 members in union, than at the given time it can hold only one member in memory.. so the the unions size is equal to the member of the union which has the highest space usage....Thursday, March 22, 2007 3:51 PM
-
1. definitely BIOS is the answer.
2. with varun alongwith following :
structures retain values for all values, but unions do not, as they can handle only one member value at a time.Thursday, March 22, 2007 5:54 PM -
Thursday, March 22, 2007 5:55 PM
-
VARUN's answer is correct but thats half part of the question
the remaining part is :
the first program to be loaded into computer's memory at boot up is BOOTSTAP LOADER program definitely this program resides in BIOS of computer
Friday, March 23, 2007 8:43 AM -
QUESTION :5
what is the Purpose of PC(Program Counter) in a MicroProcessor????
Saturday, March 24, 2007 4:51 PM -
KANAV_AGGARWAL_502530 wrote: QUESTION :5
what is the Purpose of PC(Program Counter) in a MicroProcessor????
The Program Counter (PC) is a register structure that contains the address pointer value of the current instruction. Each cycle, the value at the pointer is read into the instruction decoder and the program counter is updated to point to the next instruction.Saturday, March 24, 2007 5:40 PM -
The program counter (also called the instruction pointer, part of the instruction sequencer in some computers) is a register in a computer processor which indicates where the computer is in its instruction sequence. Depending on the details of the particular machine, it holds either the address of the instruction being executed, or the address of the next instruction to be executed. The program counter is automatically incremented for each instruction cycle so that instructions are normally retrieved sequentially from memory. Certain instructions, such as branches and subroutine calls and returns, interrupt the sequence by placing a new value in the program counter.
In most processors, the instruction pointer is incremented immediately after fetching a program instruction; this means that the target address of a branch instruction is obtained by adding the branch instruction's operand to the address of the next instruction (byte or word, depending on the computer type) after the branch instruction.Sunday, March 25, 2007 5:00 AM -
detailed answer has been given by sanket but varun answer is also correct,
QUESTION:6
what is cycle stealing in reference to DMA??????
Sunday, March 25, 2007 6:12 AM -
As we know that DMA stands for Direct memory access... what happens is that processor and memory are connected directly, memory and i/o devices are connected by DMA, and this DMA is connected with processor..
DMA is used to speed up the transfer between i/o devices and memory, so what happens is that when a data is transfered, DMA puts the processor in a stand still mode, i.e it steals the time cycle, so that the buss is free for that moment and without the notice of processor, the data gets transfered... though it slows the speed of processor a bit, but its not as slow as the time the processor would have taken if it was taking a note of every transfer.. So this is called Cycle stealing....Sunday, March 25, 2007 11:32 AM -
QUESTION:7
what is a vector pipelining in CPU architecture????
Sunday, March 25, 2007 7:29 PM -
It is a concept used in Parallel Processing. Vector Pipelines are specially designed to handle vector instructions over vector operands. Vector Pipelining method is used by SIMD (Single Instruction Multiple Data) machines.
The concept of vector pipelining is that the second, third, etc. operands used in arithmetic in a DO loop can be fed into the start of this multistep process before the result of the first pair of operands is delivered back into memory. This is what gives the VP its speed compared with a scalar processor in which the instruction steps act serially upon each pair of operands, not starting the second pair until the first is finished. The vector pipeline can thus be considered as analogous to a car assembly line and contrasted with the building of complete cars, one at a time, in a pre- Ford 'scalar' factory.Monday, March 26, 2007 12:59 PM -
QUESTION :8
What piece of hardware do EIDE cables connect to?
Monday, March 26, 2007 4:40 PM -
Memory devices such as Hard Disk, CD-ROM Drive etc are connected to EIDE.Tuesday, March 27, 2007 5:22 PM
-
QUESTION::9
how do you comment out a line in the autoexec.bat file?
Tuesday, March 27, 2007 5:43 PM -
To comment a line in autoexec.bat, put "REM:" before comment.
e.g. -
REM:This is a comment.Tuesday, March 27, 2007 5:50 PM -
Also if you put a ; in front of a line it will be a comment...
Therotically it is right but it dosen work on some computers..
eg.
; This is a comment lineTuesday, March 27, 2007 6:58 PM -
-
Mutual exclusion (often abbreviated to mutex) algorithms are used in concurrent programming to avoid the simultaneous use of a common resource, such as a global variable, by pieces of computer code called critical sections.
Examples of such resources are fine-grained flags, counters or queues, used to communicate between code that runs concurrently, such as an application and its interrupt handlers. The problem is acute because a thread can be stopped or started at any time.
To illustrate: suppose a section of code is mutating a piece of data over several program steps, when another thread, perhaps triggered by some unpredictable event, starts executing. If this second thread reads from the same piece of data, the data, in the process of being overwritten, is in an inconsistent and unpredictable state. If the second thread tries overwriting that data, the ensuing state will probably be unrecoverable. These critical sections of code accessing shared data must therefore be protected, so that other processes which read from or write to the chunk of data are excluded from running.
A mutex is also a common name for a program object that negotiates mutual exclusion among threads, also called a lock.Sunday, April 1, 2007 5:10 PM -
-
What is the difference between a MESSAGEBOX and an ALERT
-
A messagebox can be used only by the system and cannot be used in user application while an alert can be used in user application also.
-
A alert can be used only by the system and cannot be use din user application while an messagebox can be used in user application also.
-
An alert requires an response from the userwhile a messagebox just flashes a message
and only requires an acknowledment from the user -
An message box requires an response from the userwhile a alert just flashes a message an only requires an acknowledment from the user
Sunday, April 15, 2007 7:38 PM -
-
The ans is 'D'Sunday, April 15, 2007 8:20 PM
-
I m not to sure but looks like d is the ansSunday, April 15, 2007 8:30 PM
-
the answer is other way round it's C
i.e. msgbox only flashes a msgbox while alert requires response from u.
QUESTION:12
what is buffering and why do we sometimes use fflush(stdin) in c lang??????
Monday, April 16, 2007 8:55 AM -
fflush is defined only for output streams. Since its definition of "flush" is to complete the writing of buffered characters (not to discard them), discarding unread input would not be an analogous meaning for
fflush
on input streams. There is no standard way to discard unread characters from astdio
input buffer, nor would such a way be sufficient; unread characters can also accumulate in other, OS-level input buffers.Monday, April 16, 2007 10:28 AM -
Whenever we write to a file, the data is not written to the file everytime that we give the command.. Instead their is a memory block for the file in the main memory which is called file buffer.. the data is transfered to this block and when this block is full, the data is written on the actual file.. This way the process of writing decreases and increases the efficiency of the programme...
Now i m not too sure about the fflush(stdin) and dont know why do we need it, but yes fflush(stdout) is used to clear the file buffer.. ie even if the buffer is not full, fflush cmd will write all the data in the buffer to the file and clear the file....
This is important while debugging because sometime we might wonder why data has not come in the file, forgeting that it might be in the file buffer...Monday, April 16, 2007 3:43 PM -
fflush can be used to clear both input buffer and output buffer. when we accept some data using input functions like scanf, if size of entered data is larger than size of data type then rest of the data is stored in buffer (generally occurs with strings) and is given to input in next scanf statements, which revokes user to input data. It is an unwanted condition, so we use fflush to clear buffer. The same case applies on output buffer.Tuesday, April 17, 2007 1:08 AM
-
Rakshit_Menpara_30a70b wrote: fflush can be used to clear both input buffer and output buffer. when we accept some data using input functions like scanf, if size of entered data is larger than size of data type then rest of the data is stored in buffer (generally occurs with strings) and is given to input in next scanf statements, which revokes user to input data. It is an unwanted condition, so we use fflush to clear buffer. The same case applies on output buffer.
Brother we are talking about fflush here, which is for files only...
What you are talking about is of flushall() function....Tuesday, April 17, 2007 3:12 AM -
Well Brother,
It is not for files only. fflush is for streams. it includes i/o stream. Check it yourself.Tuesday, April 17, 2007 7:05 AM