What are collections and generics
What are collections and generics?
Expert
A collection can be defined as a group of related items that can be referred to as a single unit. The System.Collections namespace provides you with many classes and interfaces. Some of them are - ArrayList, List, Stack, ICollection, IEnumerable, and IDictionary. Generics provide the type-safety to your class at the compile time. While creating a data structure, you never need to specify the data type at the time of declaration. The System.Collections.Generic namespace contains all the generic collections.
1. Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will print "7", and Bert says, no, when the function exits the changes get reversed and the value goes back to "5". Expl
Livelock: It is a situation in which a thread waits to be notified of a condition however, on waking, finds that the other thread has inverted the condition another time. The primary thread is forced to wait again. Whenever this occurs for an indefini
Explain what is meant by the term u-area (user area)?
Define the term Runtime error: It is an error which causes a program to finish whenever it is being run.
When a process enters the CPU, your program must now "fork"and "exe" a stand alone child process. You MUST use "glxgears" for the child process. When a context switch occurs
Explain the shell variables?
Illustrate what are the different functions of Kernel Mode, interrupts and system calls?
Describe the term Context Switch.
Round robin allocation: It is an allocation of time slices which repeatedly cycles regarding a set of eligible threads in the fixed order.
Ans. Applet: An applet is an application designed to travel over the internet and to be executed on the client machine by a java compatible
18,76,764
1938969 Asked
3,689
Active Tutors
1452932
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!