Answer:
Reference
Explanation:
The Reference type variable is such type of variable in C# that holds the reference of memory address instead of value. Examples for reference type are classes, interfaces, delegates and arrays.
We can pass parameters to the method by reference using <em>ref </em>keyword
It’s mandatory to initialize the variable value before we pass it as an argument to the method in c#
For example,
int x = 10; // Variable need to be initialized
Add(ref x); // method call
If you pass parameters by reference in method definition, any changes made to it affect the other variable in method call.
Here's a sample program:
using System;
namespace ConsoleApplication
{
public class Test
{
public static void Main()
{
int i = 10;
Console.WriteLine("i=" + i);
Add(ref i);
Console.WriteLine("i=" + i);
Console.ReadLine();
}
public static void Add( ref int j)
{
j = j + 10;
Console.WriteLine("j="+j);
}
}
}
Output:
i=10
j=20
i=20
Answer:
Database
Explanation:
To store a variety of drugs electronically, along with displaying their purchase dates and prices, the kind of software that would be used is database.
Answer:
Screenplay
Financing
Theme
cinematography
editing
sound and music
Acting and Genre
Explanation:
There are various essential elements that needs to be considered to become a famous and a good filmmaker. A good filmmaker will take care of small elements and will consider minor details. The audience is very keen when it takes interest in the movie. They pay attention to even minor details in the movie. The filmmaker should take care of all the details and will have to decide on the main things such as screenplay, audio, editing, genre of the movie and similar. These elements are dependent on each other. If the audio of the movie is not appropriate or sound quality is not suitable then the overall impact of the movie will be slowed no matter how strong the content is. There is high dependency of all the elements and every element should be paid attention.
Answer:
b. P2 requests drive 2 and gets it.
Explanation:
Two users from the local board of education are each running a program (P1 and P2), and both programs will eventually need two DVD drives to copy files from one disc to another. Only two DVD-R drives are available and they’re allocated on an "as requested" basis. Soon the following sequence transpires: P2 requests drive 2 and gets it.