Está en la página 1de 69

Which of the following options is the correct syntax of declaring an array in pseudocode?

4,numeric arr[5]
You have declared an array to store the name of the five students. Now, you want to display the names
of the students. Which of the following options will you use to accomplish the preceding task?
3,for (i = 0; i <= 4; i = i + 1)
begin
display st_name[i]
end
Which of the following options is a collection of elements of a single data type stored in adjacent
memory locations?
3,Array
Which of the following options is correct to initialize a numeric array during declaration?
3,begin
numeric arr[5] = {14, 15, 17, 45, 81}
.....
.....
end
Which of the following options will you use to display the last element of an array of size 10?
1,display arr[9]
Which of the following generations of computers used Integrated Circuit (IC) with hundreds of
transistors placed on a single silicon chip?
3,Third generation
Which of the following computer systems can vary in size from a small desktop model to the size of a
small filing cabinet?
2,Minicomputer
Which of the following options is NOT a benefit of computers?
3,Computers are less flexible than humans.
Which of the following software is a type of system software?
3,Operating system
Which of the following keys on the keyboard is used to erase the character to the left of the cursor
position?
4,Backspace
You want to capture information from books and store it on your computer as an image. Which of the
following devices enables you to perform the required task?
3,Scanner
You want to buy a device that would allow you to record sound. Which of the following devices would
allow you to perform the required task?
2,Microphone
You have brought a new sound card. Now, you want to attach the sound card to your system in order to
use it. Which of the following components of the computer can be attached to the sound card?
3,Motherboard
You have recorded some videos of your friend's party. Now, you want to store the videos on a high
capacity storage device on your computer.
You do not want to move the storage device between computers. Which of the following storage
devices would you use to perform the required task?
1,Hard disk
You want to store information regarding the employees of your organization in a computer file. You
want to store the information in the form of records where the details about each employee are
contained in a single line. Which of the following types of computer file would enable you to perform
the required task?
2,Data file
You have copied a large number of image files to your computer. You want to change the view of the
contents pane so that the size of a image is displayed along with the image name. How will you perform
the required task?
4,By selecting the Details option from the View menu
You are viewing the contents of the D:\Computer folder in Windows Explorer. You, then moved to view
the E:\Windows folder. Now, you want to navigate to the D:\Computer folder again. Which of the
following buttons in the explorer toolbar would enable you to perform the preceding task?
4,Back
You have created a file named MyFile under the D: drive of your computer. Now, you want to copy
MyFile to another folder named Projects that is created under the D: drive. Identify the correct
sequence of steps required to copy MyFile to the Projects folder.
2,1. Click the MyFile file in Windows Explorer.
2. Click on the Copy this file hyperlink under File and Folder Tasks in the left pane of the window.
3. Select the Projects folder from the list in the Copy Items dialog box.
4. Click the Copy button. You are viewing a text file using Notepad. While viewing the file, you want to
search for a particular word in the file. Which of the following options states the correct sequence to
find the required word in the file?
2,1. Click the Edit menu
2. Select the Find option
3. Enter the required word in the Find what text box in the Find dialog box.
4. Click the Find Next button to find the required word.
Click the Exhibit button to view the flowchart.
What would be the value of nsum if the input values for nNum1, nNum2, and nNum3 are 5, 10, and -15
respectively?
1,0
Click the Exhibit button to view the flowchart.
Which of the following options is correct if the value of nTest1, nTest2, nTest3, and nAverage is 80, 77,
83, and 80 respectively?
1,nTotSelect is incremented by 1.
Which of the following productivity enhancing tools can be used to view the contents of the clipboard in
Office XP?
3,Task pane
Which of the following features of Office XP consists of a set of buttons that are displayed when a user
performs an action or an error?
2,Smart tags
Which of the following productivity enhancing tools of Office XP can be used as an alternate method for
accepting user input?
3,Language bar
Where is the Ask a Question box feature of Office XP located in Microsoft Word?
1,Menu bar
Which of the following features of Office XP lets you reuse an earlier created table style in Office XP?
4,Table AutoFormat
Which of the following tasks cannot be performed by using the shared documents feature of Microsoft
Word 2002?
4,E-mail a document to a group of people
Which of the following tools of the Formula Auditing toolbar in Excel can be used to determine the cells
that are dependent on a specified cell?
2,Trace Dependents
Which of the following task panes of PowerPoint can be used to determine the type and size of bullet
points in the presentation?
2,Design Templates
Which of the following features of PowerPoint can be used to determine the number of slides that
would be printed on a single page of the handout?
2,Print Preview
Which of the following features of Microsoft Word can be used to send a letter to a group of people
with the same content?
1,Mail Merge
You are creating a document in word. You want to control the AutoCorrect entry by undoing the
AutoCorrect change. Which of the following productivity enhancing tools can you use to accomplish the
required task?
2,Smart Tags
You are creating a document for your organization. To enhance the appearance of the document, you
decide to add the logo of your organization such that it is displayed as a background in the document.
Which of the following features of Word 2002 would you use to perform the required task?
3,Watermarks
You have created a document in Microsoft Word. While formatting the document, you want to view the
complete details of formatting that is applied to a paragraph. Which of the following commands of
Office XP will allow you to perform the required task in Microsoft Word?
3,Reveal Formatting
You are adding some data in an Excel workbook. The workbook contains three worksheets. You want to
change the color of a worksheet tab. Which of the following options would you use to perform the
required task?
4,Tab Color
You have prepared a presentation with lot of pictures. While sharing the presentation with your friends
on the Internet, you find that the presentation is taking a long time to download. Which of the following
changes can you make to your presentation so that it is downloaded quickly?
3,Compress pictures
You have added a table to your document. You want to change the style of the table to one of the
predefined styles available in Word. Which of the following options states the correct sequence of steps
to perform the required task?
2,1. Place the mouse pointer inside the table.
2. Click the Table AutoFormat icon on the Tables and Borders toolbar.
3. Select a table style from the Table styles list box in the Table AutoFormat dialog box.
4. Click the Apply button.
John has created a report using Excel. He wants to add a field that contains the sum of values of a
selected range of fields. To accomplish the required task, he wants to use the AutoSum feature of Excel.
Identify the correct sequence of steps that John needs to perform to use the AutoSum feature?
2,1. Click in a cell, and then click the down arrow of the AutoSum button in the standard toolbar.
2. Select the Sum command.
3. Select the range of cells that need to be added.
4. Press the Enter button.
Which of the following options means a tangible entity with a well-defined behavior?
2,Object
Which of the following computer languages is specially designed to work with Microsoft's .NET
platform?
1,C#
Which of the following escape characters can be used to insert a backspace in C#?
2,\b
Which of the following components of the .NET Framework provides garbage collection services?
1,Common Language Runtime
Which of the following templates in Visual Studio.NET IDE can be used to create a class or a reusable
component that exposes some functionality to be used in various projects?
4,Class Library
You are developing an application using C#. For implementing a specific functionality, you decide to
create a new class by inheriting an existing class. Which of the following characteristics of object
oriented approach does the preceding example exhibit?
2,Reusability
Mac is developing an application. Before starting to build the application, he identifies the critical
requirements of the application. Which of the following options states the correct phase of the object-
oriented methodology implemented by Mac?
3,Analysis
You are creating a class for your application. The class would contain methods for storing car details.
Which of the following options states the correct syntax for creating the required class?
2,class my_car
Consider the following statements:

Statement A: An assembly is a single file with the extension .exe or .dll.

Statement B: An assembly cannot contain more than one module.

Which of the following options is correct about the preceding statements?
1,Statement A is true and statement B is false.
You are developing an application in Visual Studio .NET IDE. While developing the application, you want
to view all the classes used in your project. Which of the following windows lists the project name and
all the classes used in the project?
3,Solution Explorer
Which of the following options is a special type of method that is invoked when a new instance of a class
is created?
3,Constructor
A delegate that has reference to only one method at a time is derived from the _________ class.
2,System.Delegate
Consider the following code:

using System;
class Car
{
public string Color;
public void Honk()
{
Console.WriteLine("BEEP BEEP!" );
}
}
class Result
{
static void Main(string[ ] args)
{
Car Ford = new Car(); ;
Ford.Honk();

Console.ReadLine();
}
}

What would be the output of the preceding code?
4,BEEP BEEP!
Jimmy is developing a C# application. The application accepts two integer values and calculates their
average value. The values are stored in two integer variables, sum and count, and the average value is
stored in an integer variable named average. However, Jimmy must ensure that the value of the count
variable is not zero. Therefore, he decides to create a user-defined exception named
CountIsZeroException that displays the appropriate message, if the value of the count variable is 0.
Which of the following code snippets can Jimmy use to create the user-defined exception?
3,public class CountIsZeroException : ApplicationException
Consider the following code:

using System;
public class FunctionCount
{
public static int count = 0;
public static void CountFunction()
{
count++;
System.Console.WriteLine("Count function is Called by Main {0} times.", count);
}
public static void Main(string[ ] args)
{
for (int var = 0; var < 10; var++)
{
FunctionCount.CountFunction();
}
Console.ReadLine();
}

}
How many times would the CountFunction method be called?
2,10
You are creating a calculator application by using the following code:

using System;
namespace Calculator
{
class Calculator
{
public int number1, number2;
public Calculator(int num1, int num2)
{
number1 = num1;
number2 = num2;
}
public static Calculator operator -(Calculator c1)
{
c1.number1 = -c1.number1;
c1.number2 = -c1.number2;
return c1;
}
public void Print()
{
Console.WriteLine(" number1=" + number1);
Console.WriteLine(" number2=" + number2);
Console.ReadLine();
}
}
class EntryPoint
{
static void Main()
{
Calculator calc = new Calculator(15, -25);

calc.Print();
}
}
}

Which of the following lines of code do you need to add in the Main() method to call the overloaded
operator - () function?
1,calc = -calc;
Predict the output of the following code:

using System;
namespace ConsoleApplication1
{
struct NumberCount
{
public int i;
public NumberCount(int initval)
{
this.i = initval;
}
public static NumberCount operator ++(NumberCount arg)
{
arg.i++;
return arg;
}
}
class TestClass
{
static void Main(string[ ] args)
{
NumberCount Count1 = new NumberCount(1);
NumberCount Count2 = Count1++;
Console.WriteLine(Count1.i);
Console.WriteLine(Count2.i);
Count2 = ++Count1;
Console.WriteLine(Count1.i);
Console.WriteLine(Count2.i);
Console.ReadLine();
}
}
}
1,2
onsider the following code snippet:

class CalculateMax
{
public int Max(int number1, int number2)
{
if (number1 > number2)
{
return number1;
}
else
{
return number2;
}
}
public float Max(float number1, float number2)
{
if (number1 > number2)
{
return number1;
}
else
{
return number2;
}
}
}

Analyze the preceding code and identify the approach used to implement polymorphism.
3,Function overloading
Jim has to develop an application for his college. While creating the application, he decides to re-use
some methods of an existing class B1 in a new
class, Derived. He writes the following code:

using System;
public class B1
{
public void Function1()
{
Console.WriteLine("Base class");
}
}
class Derived : B1
{
void Function1();

static void Main()
{
Derived obj = new Derived();
obj.Function1();
Console.Read();
}
}

However, the preceding code gives a compile-time error. Analyze the preceding code and identify the
line of code causing the error.
4,void Function1();
Kim has created a C# application and used abstract classes in it. She encounters errors, whenever she
tries to compile the application. She has used the following code snippet in her application:

using System;
abstract class Animal
{
public abstract void FoodHabits()
{
}
}
class Carnivorous: Animal
{
public override void FoodHabits( )
{
Console.WriteLine("The Carnivorous animals eat only meat");
}
}
class Herbivorous: Animal
{
public override void FoodHabits( )
{
Console.WriteLine("The Carnivorous animals eat only plants");
}
}
What is the source of error in the preceding code?
4,The FoodHabits() method has been implemented in the Animal class.
Tim is developing an application using C#. He has to create a class named Car containing a method
named Engine. The engine method has a statement that displays a message to the user. Tim wants to
override the Engine method in a class named Truck that is derived from the Car class. Tim has written
the following code to perform the required task:

using System;
class Car
{

public void Engine()
{
Console.WriteLine("Car has a smaller engine than a truck.");
}
}
class Truck : Car
{
public override void Engine()
{
Console.WriteLine("Truck has a bigger engine than a car.");
}
static void Main()
{
Truck obj = new Truck();
obj.Engine();
Console.Read();
}
}
However, the preceding code gives an error when it is executed. Identify the reason for the error.
2,The Engine() method is not declared virtual in the Car class.
Consider the following code:

using System;
namespace Test
{
sealed class myClass
{
void display()
{
Console.WriteLine("Hello");
}
}
class disp : myClass
{
void abcd()
{
Console.WriteLine("Wassup");
}
static void Main()
{
disp obj = new disp();
obj.abcd();
Console.Read();
}
}
}
The preceding code gives error when it is compiled. Analyze the code and identify the line of code
causing the error.
3,class disp : myClass
Lim is creating an application using C#. He has created an interface named IOrderdetails that has two
methods, UpdateCustStatus() and TakeOrder(). The interface is implemented by a class named
ItemsDetails. Lim has written the following code snippet:

public interface IOrderDetails
{
void UpdateCustStatus()
{
......................
}
void TakeOrder()
{
....................
}
}
public class ItemsDetails : IOrderDetails
{
public void UpdateCustStatus() { }
public void TakeOrder() { }
}

However, the code doesn't compile and gives a compile-time error. Identify the reason for the error.
1,The UpdateCustStatus() and TakeOrder() methods are implemented in the interface.
Predict the output of the following code:

public class Class1
{
static int number1;
int number2;
static Class1()
{
number1 = 10;
number2 = 3;
Console.WriteLine("Value of number1 is {0}", number1);
Console.WriteLine("Value of number2 is {0}", number2);
}
}
3,No output, there would be a compile-time error.
Consider the following code:

using System;
class Calculator
{
static int number1, number2, total;
Calculator(int num1, int num2)
{
number1 = num1;
number2 = num2;
}
public void CalculateNumber()
{
total = number1 + number2;
}
public void DisplayNumber()
{
Console.WriteLine("The total is : {0}", total);
}
public static void Main(string[ ] args)
{
int var1, var2;
Console.WriteLine("Enter Value 1 :");
var1=Convert.ToInt16(Console.ReadLine());
Console.WriteLine("Enter Value 2 :");
var2 = Convert.ToInt16(Console.ReadLine());
Calculator C1 = new Calculator(var1,var2);
C1.CalculateNumber();
C1.DisplayNumber();
Console.ReadLine();
}
}

Analyze the preceding code and identify the correct output, if the value of var1 and var 2 is 50 and 70
respectively.
3,The total is: 120
Consider the following code:

using System;
class Calculator
{
static int number1=20;
static int number2=30;
static int total=0;

public void CalculateNumber()
{
total = number1 + number2;
Console.WriteLine("The Total is :{0}", total);
}
public static void Main(string[ ] args)
{
Calculator C1 = new Calculator();
C1.CalculateNumber();
Console.ReadLine();
}
}
You need to add a destructor of the Calculator class so that it displays the message "Program
Terminating" whenever a user exits the program. Identify the correct lines of code that you can add to
the Calculator class to implement the desired functionality in your application.
2,~Calculator()
Jim is creating an application for his college project. The application has a class named myConnection
with a method named dbCon() that uses a database connection. Jim wants to add another method to
the class to release the database connection as soon as the dbCon() method completes execution. How
will Jim perform the required task?
4,By using the Dispose() method
Predict the output of the following code:

using System;
namespace Objects
{
class TestCalculator
{
TestCalculator()
{
Console.WriteLine("Constructor Invoked");
}
~TestCalculator()
{
Console.WriteLine("Destructor Invoked");
Console.Read();
}
public static void Main(string[ ] args)
{
Console.WriteLine("Main() Begins");
TestCalculator calc1 = new TestCalculator();
{
Console.WriteLine("Inner Block Begins ");
TestCalculator calc2 = new TestCalculator();
Console.WriteLine("Inner Block Ends");
}
Console.WriteLine("Main() ends");
Console.Read();

}
}
}
1,Main() Begins
Constructor Invoked
Inner Block Begins
Constructor Invoked
Inner Block Ends
Main() ends
Destructor Invoked
Destructor Invoked
onsider the following code snippet:

class FileHandling
{
void fileAccess()
{
FileStream File1= new FileStream("C:\\Myfile.txt", FileMode.Append, FileAccess.Write);
}

}
Analyze the preceding code and identify the use of the FileMode.Append enumerator in the fileAccess()
method.
3,Opens the file MyFile.txt and places the cursor at the end of the file.
Tom has to create an application in C# that would be used to read data from a string buffer. The
application accepts data in the string buffer from the user and displays it on screen. Which of the
following code snippets can he use to perform the required task?
4,string str=Console.ReadLine();
StringReader sr = new StringReader(str);
Console.WriteLine(sr.ReadLine());
Console.Read();
Predict the output of the following code snippet:

public void ReadData()
{

FileStream fs = new FileStream("Myfile.txt", FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs);
sr.BaseStream.Seek(0, SeekOrigin.Begin);
string str = sr.ReadLine();
while (str != null)
{
Console.WriteLine("{0}", str);
str = sr.ReadLine();
}
}
1,1. Opens the file Myfile.txt, and prepares the stream for a read operation.
2. Positions the file pointer at the beginning of the stream.
3. Reads a line of characters from the current stream and returns data as a string.
Predict the output of the following code snippet:

using System;
using System.IO;
namespace File_Handling
{
class Tester
{

public static void Main()
{
DirectoryInfo MydirInfo = new DirectoryInfo(@"c:\WINDOWS");
FileInfo [] FilesInDir = MydirInfo.GetFiles ( );
foreach (FileInfo file in FilesInDir)
{
Console.WriteLine ("File Name :{0} Size: {1} bytes",
file.Name, file.Length);
}
Console.Read();
}
}
}
3,The code would list the name and size of all the files under the c:\Windows folder.
Jim has created an application that reads the contents of a text file as a byte stream and displays it to
the user. Jim has written the following code snippet for his application:

public void ReadData()
{
FileStream fs = new FileStream("Myfile.txt", FileMode.Open,FileAccess.Read);
StreamReader sr = new StreamReader(fs);
sr.BaseStream.Seek(0, SeekOrigin.End);
string str = sr.ReadLine();
while (str != null)
{
Console.WriteLine("{0}", str);
str = sr.ReadLine();
}
sr.Close();
fs.Close();
}
However, the application does not display any data when it is executed. Identify the line(s) of code
causing the logical error of not displaying any data.
2,sr.BaseStream.Seek(0, SeekOrigin.End);
Tom has to create an application to divide two numbers. The numbers must be accepted from the user.
However, he must ensure that if the user tries to divide a number by zero, then the application should
catch the exception and display an appropriate error message. Tom has written the following code
snippet to implement the required functionality in his application:

class division
{
void DivideNum()
{
int a;
int b;
int result;
Console.WriteLine("Enter first number");
a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter second number");
b = Convert.ToInt32(Console.ReadLine());
try
{
result = a / b;
Console.WriteLine("The result after dividing the two numbers is: {0}", result);
}

catch (IndexOutOfRangeException e)
{

Console.WriteLine("e.message");
}

}
However, the preceding code does not handle the exception if the user gives the value of b as zero.
Identify the reason for this.
3,The type of exception that is handled in the catch block is not correct.
onsider the following code snippet:

void display()
{
try
{
FileStream fs = new FileStream("orders.txt", FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs);
String str = sr.ReadLine();
Console.WriteLine(str);
Console.Read();
}
catch (IOException e)
{
Console.WriteLine(e.Message);
Console.Read();
}
catch (NullReferenceException e1)
{
Console.WriteLine(e1.Message);
}
catch (InvalidCastException e2)
{
Console.WriteLine(e2.Message);
}
catch (ArgumentNullException e3)
{
Console.WriteLine(e3.Message);
}
}

The preceding code gives an exception that displays the message 'Could not find file', when it is
executed. This exception is handled by one of the catch blocks in the code. Identify the lines of code that
handle the exception.
3,catch (IOException e)
{
Console.WriteLine(e.Message);
Console.Read();
}
Jim is creating an application using C#. The application has to calculate the sum of values in an integer
array. Jim needs to ensure that the application displays an exception message if the integer array is
assigned any out of range value. Identify the code snippet that would help Jim to handle the exception.
2,void myMethod()
{
try
{
................
}
catch(IndexOutOfRangeException e)
{
Console.WriteLine(e.message);
}
}
You have created an application for a fast food joint. The workers of the fast food joint save the order
data in a common file named orders.txt. You have used the following code snippet to save the order
data:

void Write()
{
Console.WriteLine("Enter order data");
String str=Console.ReadLine();
FileStream fs = new FileStream("orders.txt", FileMode.Append, FileAccess.Write, FileShare.None);
StreamWriter sr = new StreamWriter(fs);
String str = "Hello";
sr.Write(str);
sr.Flush();
sr.Close();
fs.Close();
}
However, the preceding code gives a compile-time error. Identify the line(s) of code causing the error.
1,String str = "Hello";
Predict the output of the following code snippet:

public class RWData
{
public static void Main()
{
BinaryWriter dataout;
BinaryReader datain;
double d = 1023.56;
bool b = true;
dataout = new BinaryWriter(new FileStream("testdata", FileMode.Create));
Console.WriteLine("Writing " + d);
dataout.Write(d);
Console.WriteLine("Writing " + b);
dataout.Write(b);
Console.WriteLine("Writing " + 12.2 * 7.4);
dataout.Write(12.2 * 7.4);
dataout.Close();
Console.WriteLine();

datain = new BinaryReader(new FileStream("testdata", FileMode.Open));
d = datain.ReadDouble();
Console.WriteLine("Reading " + d);
b = datain.ReadBoolean();
Console.WriteLine("Reading " + b);
d = datain.ReadDouble();
Console.WriteLine("Reading " + d);
Console.ReadLine();
datain.Close();
}
}
1,Writing 1023.56
Writing True
Writing 90.28

Reading 1023.56
Reading True
Reading 90.28
Which of the following I/O devices transforms the image to ASCII codes that is used by a computer to
represent the characters you find on your keyboard, such as alphabets, numbers, punctuation marks,
and graphics?
1,Scanner
Which of the following types of touch screens send sound waves across the computer screen to look for
interruptions caused by touch?
3,Surface Acoustic touch screens
Which of the following types of computer mouses allows to work from the distance upto one and a half
meters away from the computer?
4,Wireless mouse
Which of the following components of a motherboard provides the timing signal in the form of
electronic pulses that are used by the computer components to set up a working pace?
3,Clock Chip
You want to use search engine for the Web pages that contain the exact phrase, Life beyond Earth.
Which of the following operators will you use in the search phrase to find such Web pages?
4,Quotation marks (" ")
While assembling a computer system, Sam wants to use a bus that can operate between the expansion
bus and the system bus. Which of the following types of buses he can use for the same?
4,Peripheral Component Interconnect Bus
You are setting up a computer system at your home. You need to attach a component to the computer
system that supplies required voltage to internal and external components like motherboard and
keyboard. Which of the following components of the system unit will you use to achieve the same?
1,SMPS
You want to connect your digital camera to your computer system without using data cables. You want
to use a low cost wireless technology that is able to connect the camera with the computer system
within the range of 30 feet. Which of the following technologies can help you to achieve the same?
1,Bluetooth
You want to upgrade your computer system and increase its RAM for faster data transfer. Which of the
following types of RAM will you purchase that can synchronize memory access with the CPU clock for
faster data transfer?
1,SDRAM
You are a regular traveler. You want to purchase a portable computer that is not bulky and allows basic
functionalities, such as I/O operations on data. In addition, it can contain at least one database with
names and address book, and to-do lists. Which of the following portable devices will you purchase?
1,PDA
Analyze the given flowchart where a number is accepted and incremented by 1. Identify the incorrect
usage of symbol(s), if any, in the flowchart. Click the Exhibit button to view the flowchart.
1,The instruction, "Get a number" should be in the Input box.
Which of the following examples is a valid declaration of a variable name in C#?
1,int This_variable_name_is_very_long;
How many bytes are occupied by the char data type in C# programming language?
2,2
Consider X=5. Determine the values of X and Y after the execution of the following expression:
Y=X++;
3,X=6, Y=5
Which of the following operators is used when you want to compare two values and perform an action
on the basis of the result of that comparison?
2,Unary operators
Which of the following options is a built-in data type in C#?
1,int
You have been asked to create a menu-based C# program that can accept the values as 'y' for yes and 'n'
for no in the data variable, choice. Which of the following data types will you use for the choice data
variable?
4,char
Sam wants to store data in a variable. In addition, he wants that the variable should hold a reference to
the memory instead of the data. Which of the following data types he can use for declaring such a
variable?
2,Arrays
Which of the following data types in C# is a reference type?
4,string
ou want to check the value of the var variable in the C# program. The requirement states that if the
value of the var variable is greater than 0 then the statement, "This is a positive number" should be
shown to the user. Which of the following code snippets will help you to achieve the required task?
2,if (var>0)
Console.WriteLine(This is a positive number);
You have to accept numeric values from the user in a C# program. Which of the following code snippets
can help you to achieve the required task?
4,int Number = Convert.ToInt32(Console.ReadLine());
You have written the following C# code:
using System;
class Car
{
string Engine;
public void AcceptDetails()
{
Console.WriteLine("Enter the engine model");
Engine = Console.ReadLine();
}
public void DisplayDetails()
{
Console.WriteLine("The Engine Model is: {0}", Engine);
}
}
class ExecuteClass
{
public static void Main (string[ ] args)
{
Car MyCar = new Car();
MyCar. AcceptDetails();
}
}

Identify the line of code that a C# compiler first looks for in the preceding code to compile it.
4,public static void Main (string[ ] args)
You have declared a variable named x and initialized it with the value 20. In addition, you have declared
a boolean variable named Result. Which of the following code snippets would you use to store the
value, true in the Result variable when the value of x is not equal to 10?
1,Result = (!( x == 10));
Danny wants to use a looping construct in which the body of the loop is executed at least once and the
condition is evaluated for subsequent iterations. Which of the following looping constructs will Danny
use to achieve the required task?
3,The dowhile loop
Determine the output of the following code snippet:
int var= 1;
for (; var <= 2; var++)
{
Console.WriteLine ("Value of variable is: {0}", var);
}
2,Value of variable is: 1
Value of variable is: 2
You have been asked to create a marks-list for the school students using arrays in the C# language.
However, you are not sure about the number of students in the school. Identify which of the following
concepts can be used to handle an array list of unknown numbers?
1,By using param arrays
Consider X=20 and Y=20. Determine the values of X and Y from the following arithmetic expressions:

X+=Y;
X-=Y;
X*=Y;
X/=Y;
X%=Y;
1,X=0 and Y=20
From the following steps of instructions, identify the correct sequence of steps for the execution of a for
loop.
1,1. Initialization of a variable.
2. Evaluate condition.
3. If true then execute the body of the for loop.
4. Increment/Decrement the counter.
5. If false then exit the for loop.
Predict the output of the following code:

using System;
namespace EnumDays
{
class EnumTest
{
enum Days { Sat, Sun, Mon, Tue, Wed, Thu, Fri};
static void Main (string[ ] args)
{
int First_Day = (int)Days.Sat;
int Last_Day = (int)Days.Fri;
Console.WriteLine("Sat = {0}", First_Day);
Console.WriteLine("Fri = {0}", Last_Day);
Console.ReadLine();
}
}
}
1,Sat = 0
Fri = 6
You have been asked to write a C# program to check whether the year entered by the user is a Leap
year. For this, you have written the following code:

using System;
class LeapYear
{
static void Main(string[ ] args)
{
int Year;
Console.WriteLine("Enter the year: ");
Year = Convert.ToInt32(Console.ReadLine());

if ((Year % 4 == 0) ; (Year / 100 != 0 || Year % 400 == 0))
{
Console.WriteLine("The Year you have entered is a Leap Year {0}", Year);
}
else
{
Console.WriteLine("The Year you have entered is not a Leap Year {0}", Year);
}
Console.ReadLine();
}
}

The preceding code results in an error. Identify the statement(s) that can generate an error.

1,if ((Year % 4 == 0) ; (Year / 100 != 0 || Year % 400 == 0))
You have written the following code by using the switchcase construct:
int var;
var = 500;
switch(&&var)
{
case 100:
Console.WriteLine("Century");
break;
case 200:
Console.WriteLine("Double Century");
break;
case 300:
Console.WriteLine("Triple Century");
break;
default:
Console.WriteLine("Invalid value");
break;

}

Analyze the preceding code and identify the statement(s) that can produce an error on compilation.
4,switch(&&var)
You have written the following code to accept five numbers and print the sum of all the positive
numbers entered by the user:

using System;
class BreakContinue
{
static void Main(string[ ] args)
{
int incr, SumNum, number;
for (SumNum = number = incr = 0; incr < 5; incr += 1)
{
Console.WriteLine("Enter a positive number");
number = (Console.ReadLine());

if (number <= 0)
continue;
SumNum = SumNum + number;
}
Console.WriteLine("The sum of positive numbers entered is {0}", SumNum);
Console.ReadLine();
}
}

Analyze the preceding code and identify the statement(s) that can produce an error on compilation.
1,number = (Console.ReadLine());
You have written the following program that checks a palindrome character array:

using System;

namespace ManipulateArray
{
class Palindrome
{
static void Main(string[ ] args)
{
char[] Str = new char[10];
Console.WriteLine("Enter a Palindrome string (Max 10 Char):");
Str = Console.ReadLine().ToCharArray();
Console.WriteLine(CheckPalindrome(Str));
Console.ReadLine();
}
private static bool CheckPalindrome(char[] myString)
{
int startChar;
int lastChar;
startChar = 0;
lastChar = myString.Length - 1;
while (startChar < lastChar)
{
if (myString[startChar] = myString[lastChar])
{
startChar++;
lastChar--;
}
else
{
return false;
}
}
return true;
}
}
}

However, the preceding code generates a compile-time error. Identify the incorrect statement that
generates the error in the preceding code.
3,if (myString[startChar] = myString[lastChar])
You have written the following C# code that generates the Fibonacci series upto 200:

using System;
class Fibonacci
{
static void Main(string[ ] args)
{
int number1;
int number2;
number1=number2=1;
Console.WriteLine("{0}", number1);
while (number2 <= 200)
{
Console.WriteLine(number2);
number2 += number1;
num1 = number2-number1;
}
Console.ReadLine();

}
}
However, the preceding code when compiled generates an error. Identify the incorrect statement that
generates the error in the preceding code.
2,num1 = number2-number1;
______________ involves extracting only the relevant information.
1,Abstraction
Which of the following elements of the method declaration is used to pass and receive data from a
method?
4,Parameter list
The method name is followed by ____________ even if the method call has no parameters.
1,Parentheses (())
___________ allows one interface to be used for multiple functions and reduces the complexity within
the functions of a class of a C# program.
1,Polymorphism
Which of the following keywords restricts the users from inheriting the class in C#?
1,sealed
Which of the following access specifiers allows a class to expose its member variables and member
functions to other functions and objects of any class?
1,The public access specifier
Which of the following types of operators cannot be overloaded?
1,+=, -=, *=
Which of the following types of relationships exist between a handbag and a zip?
4,Composition relationship
Which of the following keywords can be used by derived classes to implement a virtual method defined
in the base class?
2,override
___________ is used when you want a standard structure of methods to be followed by the classes,
where classes will implement the functionality.
1,Interface
You are working on a C# application. In the application , you want the base class to hide its member
variables and member functions from other class objects and functions, except the child class. Which of
the following access specifiers will you use to achieve the same?
3,The protected access specifier
Consider the following code snippet that declares a method named AddNumber in the calc class:

class calc
{
public int AddNumber(int num1, int num2)
{
int result;
result = num1 + num2;
return result;
}
}

Identify the correct code snippet for calling the AddNumber() method.
2,calc c = new calc();
int Result=c.AddNumber(10, 20);
You want to declare a variable named Mark in the Student class to store some value. In addition, you
want that only one copy of the Mark variable should exist for the Student class. Which of the following
keywords can help you to declare such a variable?
3,static
ou want to overload the + operator in a C# program. Which of the following options is the correct syntax
to define the function for overloading the + operator?
1,<access specifier> className operator +(parameters)
{
// Code
}
Sam wants to declare an interface named IOrderDetails, which contains two methods,
UpdateCustStatus() and TakeOrder(). Identify the correct code snippet that can help Sam to achieve the
required task.
1,public interface IOrderDetails
{
void UpdateCustStatus();
void TakeOrder();
}
Consider the following statement:
"You do not want to see the complex processes of a vacuum cleaner that are needed to convert
electricity into suction power".
Which of the following concepts provided by the C# programming language can be used to implement
the preceding statement?
4,Encapsulation

Danny have been asked to calculate the area of the geometrical figures; square, rectangle, and triangle.
To achieve this, he created the CalcArea() method that is defined in the program to find the area of all
the three types of geometrical figures. The CalcArea() method will find the area depending on the
number of inputs provided by the user. Which of the following C# mechanisms has Sam followed to find
the area of the geometrical figures?
2,Function overloading
Consider the following statements:

Statement A: Overloading a binary operator is similar to overloading a unary operator, except that a
binary operator requires two additional parameters.

Statement B: The comparison operators, if overloaded, must be overloaded in pairs; that is, if == is
overloaded, != must also be overloaded.

Which of the following options is correct with respect to the preceding statements?
2,Statement A is false, and Statement B is true.
Predict the output of the following code:
using System;
class Base
{
public Base()
{
Console.WriteLine("Constructor of Base");
}
~Base()
{
Console.WriteLine("Destructor of Base");
}
class Derived : Base
{
public Derived()
{
Console.WriteLine("Constructor of Derived");
}
~Derived()
{
Console.WriteLine("Destructor of Derived");
}
}
class BaseDerived
{
static int Main(string[ ] args)
{
Derived obj = new Derived();
return 0;
}
}
1,Constructor of Base
Constructor of Derived
Destructor of Derived
Destructor of Base
You are creating an application in C# programming language. While implementing inheritance in the
program, you have a situation where you want a method in a class to be implemented differently in the
derived classes but not by the base class itself. Which of the following concepts provided by C#
programming language will you use in such a situation?
4,Use abstract methods
A __________ is a reference type variable and is a general-purpose mechanism for indirectly calling
methods at run time.
4,Delegate
_____________ hold the reference of more than one method and execute all the methods it wraps in
the calling order.
4,Multicast delegates
__________ is an object that contains the definition of the event and the delegate.
1,Publisher
Which of the following options is NOT true about constructors?
2,Static constructors are used to initialize the non-static variables of a class.
Consider the following code snippet:

public class Class1
{
static int number1;
int number2;
static Class1()
{
number1 = 10;
}
}

Which of the following concepts provided by the C# programming language is illustrated by the
preceding code snippet?
1,Implementation of the static constructor
You are working with a C# application. You have come across with a requirement where the variables
need to be initialized with user supplied values as soon as the object of the class is created. Which of the
following mechanisms will you use in such a situation?
4,Constructor with parameters
Consider the following statements:

Statement A: The dispose() method is called after the last reference to an object is released from the
memory.

Statement B: Constructors are special methods that are used to release the instance of a class from
memory.

On the basis of the preceding statements, identify which of the following statements is correct?
4,Both, Statement A and Statement B are false.
You are creating a C# application for your organization. You want that the application should be able to
dynamically change the reference to the methods in a class. Which of the following concepts will you
use in your application to perform this task?
3,Delegates
Which of the following tasks is NOT performed by the publisher object while defining a delegate for an
event?
1,Declare an event
You want to declare a delegate in you C# program. The delegate should be used to refer any method
that takes an integer parameter and does not return any value. Which of the following code snippets
can be used to declare such a delegate?
2,public delegate void MyDelegate (int i);
Which of the following statements is NOT true about delegates?
4,A single-cast delegate derives from the System.SinglecastDelegate class.
You have been assigned the following tasks for implementing events with delegates in a C# program:
1) Declare a delegate
2) Declare an event based on the delegate
3) Fire the event
Which of the following objects will you use to accomplish the preceding tasks?
1,Publisher
You have defined an event and a delegate by using the following code snippet:

public delegate void TimeToRise();
private event TimeToRise RingALarm;

Further, you have created a class named Student that contains a method named Wakeup(). You want
that the WakeUp() method should be called at 6 am. Identify the correct code snippet that allows the
Student class to subscribe to the event named TimeToRise.
1,Student PD = new Student();
RingALarm = new TimeToRise(PD.WakeUp);
_____________ class is used to read characters from a byte stream.
1,StreamReader
A _____________ occurs when an application compiles and runs properly but does not produce the
expected results.
1,logical error
The ______________ contains constants for controlling the kind of access that the FileStream
constructors can have on a file.
1,FileShare Enumerator
Which of the following definitions correctly describes the peek method of the StreamReader class?
1,It returns the next available character but does not consume it.
Which of the following definitions correctly defines the Flush method of StreamWriter class?
2,It clears all buffers for the current writer and causes any buffered data to be written to the underlying
stream.
Predict the output of the following code:

using System;
namespace ThreadExample
{
class MainThreadExample
{
public static void Main(string[ ] args)
{
Thread Th = Thread.CurrentThread;
Th.Name = "MainThread";
Console.WriteLine("The current thread after name change: {0}", Th.Name);
Console.ReadLine();
}
}
}
3,It will generate the following compile time error:
The name 'Thread' does not exist in the current context.
Consider the following code:

using System;
using System.Threading;
namespace ThreadSample
{
class BasicThreadApp
{
public static void ChildThreadCall()
{
Console.WriteLine("Child thread started");
int SleepTime = 5000;
Console.WriteLine("Sleeping for {0} seconds", SleepTime/1000);
ChildThread.Sleep(SleepTime);
Console.WriteLine("Waking Up");
}
public static void Main()
{
ThreadStart ChildRef = new ThreadStart(ChildThreadCall);
Console.WriteLine("Main - Creating Child thread");
Thread ChildThread = new Thread(ChildRef);
ChildThread.Start();
Console.WriteLine("Main - Have requested the start of child thread");
Console.ReadLine();
}
}
}
The preceding code generates a compile-time error. Identify the line of code that will generate the
error.
4,ChildThread.Sleep(SleepTime);
Sam has created the following method in a C# application to accept and print book details:

public static void BookDetails()
{
Console.WriteLine("Enter the name of the book you want to buy: ");
String str=Console.ReadLine();
Console.WriteLine("Enter the number of copies you want:");
int Num1= Convert.ToInt32(Console.ReadLine());
Console.WriteLine("You have requested for {0} copies of the {1} book. ",Num1, str);
}

Further Sam wants to call this method by using thread in the application. Identify the correct code
snippet that Sam should implement to create a thread and call the BookDetails() method by using the
newly created thread.
1,public static void Main(string[ ] args)
{
ThreadStart ChildRef = new ThreadStart(BookDetails);
Thread ChildThread = new Thread(ChildRef);
ChildThread.Start();
}
Mr. Beth has been assigned a task to create a game application in C# that gives a user 15 seconds to
type the text printed on the screen. He writes the following code for the game:

using System;
using System.IO;
using System.Threading;
namespace Game
{
public class Typometer
{
public void StartGame()
{
String str = "The Cheater Cheats the Cheating Code";
Console.WriteLine(str);
String userVal = Console.ReadLine();
if (userVal == str)
{
Console.WriteLine("\nYou WON! Game Over! \n");
}
else
{
Console.WriteLine("\nThe strings does not match..Game Over! \n");
}
Thread.Sleep(15000);
}
}
class Game
{
static void Main(string[ ] args)
{
Console.WriteLine("You have to complete the game within 15 seconds\n");
Typometer obj = new Typometer();

Thread t = new Thread(new ThreadStart(obj.StartGame));
t.Start();
try
{
t.Abort();
Console.WriteLine("\n\nSorry You lose! The Time is Over!");
}
catch (ThreadAbortException e)
{
Console.WriteLine(e.Message);
}
}
}
}

However, the preceding code when executed does not generate the desired output. It shows the
following output without giving user the time to type:

You have to complete the game within 15 seconds

Sorry You lose! The Time is Over!

Identify the reason and provide the solution for this problem.
3,The Thread.Sleep(15000); statement is placed at the wrong position. It should come after the
following statement:
t.Start();
Predict the output of the following code:

using System;
using System.Threading;
class ThreadSchedule
{
public static void Doctor()
{
for (int Cnt = 0; Cnt < 2; Cnt++)
{
Console.Write("\nDoctor: Give medicine " + (Cnt + 1));
Console.WriteLine();
Thread.Sleep(1000);
}
Console.WriteLine("Doctor: Work finished");
}
public static void Nurse()
{
for (int Cnt = 0; Cnt < 2; Cnt++)
{
Console.Write("Nurse: Medicine " + (Cnt + 1) + " given\n");
Console.WriteLine();
Thread.Sleep(1000);
}
Console.WriteLine("Nurse: Work finished");
}

public static void Main()
{
ThreadStart Child1 = new ThreadStart(Doctor);
ThreadStart Child2 = new ThreadStart(Nurse);
Thread Thread1 = new Thread(Child1);
Thread Thread2 = new Thread(Child2);
Thread1.Start();
Thread2.Start();
Console.Read();
}
}
4,Doctor: Give medicine 1
Nurse: Medicine 1 given

Doctor: Give medicine 2
Nurse: Medicine 2 given

Nurse: Work finished
Doctor: Work finished
Consider the following code:

using System;
using System.Threading;
namespace ThreadExample
{
class FileAccess
{
public void WriteData(string Data)
{
Monitor.Enter(this);
Console.WriteLine("Writing data to file");
for (int Cnt = 0; Cnt < 5; Cnt++)
{
Console.WriteLine("Writing in Line {0}", Cnt );
}
Monitor.Exit();
}
}
class ThreadMonitorClass
{
public static FileAccess Fd = new FileAccess();
public static void ChildThread1()
{
Console.WriteLine("Thread 1 started");
Fd.WriteData("T1");
}
public static void ChildThread2()
{
Console.WriteLine("Thread 2 started");
Fd.WriteData("T2");
}
public static void Main()
{
ThreadStart Child1 = new ThreadStart(ChildThread1);
ThreadStart Child2 = new ThreadStart(ChildThread2);
Thread Thread1 = new Thread(Child1);
Thread Thread2 = new Thread(Child2);
Thread1.Start();
Thread2.Start();
Console.ReadLine();
}
}
}
The preceding code generates a compile-time error. Identify the statement in the preceding code that
generates the error.
3,Monitor.Exit();
onsider the following code that locks the code of the UpdateAC() method by using the lock statement:
using System;
using System.Threading;
namespace ThreadExample
{
class FileAccess
{
public void UpdateAC(string Data)
{
lock()
{
Console.WriteLine("Updating Salary Accounts: {0}", Data);
for (int Cnt = 0; Cnt < 5; Cnt++)
{
Console.WriteLine("Updated {0} record", Cnt+1);
}
}
}
}
class ThreadMonitorClass
{
public static FileAccess Fd = new FileAccess();
public static void ChildThread1()
{
Console.WriteLine("Thread 1 started");
Fd.UpdateAC("T1");
}
public static void ChildThread2()
{
Console.WriteLine("Thread 2 started");
Fd.UpdateAC("T2");
}
public static void Main()
{
ThreadStart Child1 = new ThreadStart(ChildThread1);
ThreadStart Child2 = new ThreadStart(ChildThread2);
Thread Thread1 = new Thread(Child1);
Thread Thread2 = new Thread(Child2);
Thread1.Start();
Thread2.Start();
Console.ReadLine();
}
}
}
The preceding code generates a compile-time error. Identify the statement in the preceding code that
generates the error.
2,lock()
Sim has been assigned the task of creating a C# application for a game. She has to use the Thread class
to perform different functions in the game. Therefore, she created an instance of the Thread class in the
application. Now, she has to allocate system resources such as memory to the instance of the Thread
class. How will she perform the required task?
2,By calling the Start() method.
Which of the following languages directly communicates with a computer?
1,Machine language
Which of the following instructions are used by a computer system that consists of only two digits, 0 and
1?
4,Machine Instructions
Which of the following instructions in a program are executed one after the other?
2,Sequential
A __________________ consists of a set of instructions, which are represented using simple English
words.
4,High-level programming language
___________ is easy and fast to write as it uses English like statements.
2,Pseudocode
Consider the following statements:

Statement A: A compiler is translation software.

Statement B: A compiler is language specific.

Which of the following option is true with respect to the above statements?
2,Both, Statement A and Statement B, are True.
Consider the following statements:

Statement A: An algorithm follows the I-P-O cycle to solve the problem.

Statement B: The steps in an algorithm specify basic operations. These operations could include
calculations, input/output operations, and comparisons.

Which of the following options is true with respect to the above statements?
2,Both, Statement A and Statement B, are True.
Consider the following statements:

Statement A: A flowchart representing a complex algorithm may have too many flow lines. This is time-
consuming to draw and understand the logic.

Statement B: Pseudocode can be converted to a program by using any programming language.

Which of the following options is true with respect to the above statements?
2,Both, Statement A and Statement B, are True.
Consider the following statements:

Statement A: Like everything else in computer, compiler does not follow the I-P-O cycle.

Statement B: For each programming language, there is same compiler available.

Which of the following option is true with respect to the above statements?
1,Both, Statement A and Statement B, are False.
Consider the following statements:

Statement A: A compiler is a special program that processes the statements written in a particular
programming language and converts them into machine language at one go.

Statement B: In some situations, java compiler can be used as C compiler.

Which of the following options is true with respect to the above statements?
3,Statement A is True and Statement B is False.

Consider the flowchart to display the largest of 10 numbers.
Identify the erroneous statement in the flowchart.
To view the flowchart, click the Exhibit button.
4,Is nCounter<=10?
Consider the flowchart to display the largest of 10 numbers.
Identify the erroneous statement in the flowchart.
To view the flowchart, click the Exhibit button.
4,No error
Which of the following options is referred as decision construct in a pseudocode?
4,if..else
Consider the following pseudocode:

begin
numeric number1, number2
accept number1
accept number2
if number1 = number2
begin
display "Numbers are equal"
end
if number1 > number2
begin
display "Number 1 is greater"
end
else
begin
display "Number 2 is greater"
end
end

What will be the output, if 65 is entered as number1 and 98 is entered as number2?
3,The pseudocode will display "Number 2 is greater".
Consider the following pseudocode:

begin
numeric number1
accept number1
if number1 > 10
begin
display "Good"
end
else if number1> 5
begin
display "OK"
end
else
begin
display "Reject"
end
end
What will be output when number1 is 3?
3,The pseudocode will display "Reject".
Consider a scenario where Mrs. Allena, a class teacher, used a pseudocode to calculate the average of
marks scored by four students in her class.
begin
numeric nMarks1, nMarks2, nMarks3, nMarks4, nResult
display "Enter the marks"
accept nMarks1, nMarks2, nMarks3, nMarks4
nResult=(nMarks1+ nMarks2+ nMarks3)/3
display "The average marks of the student is"
display nResult
end

However, the pseudocode has an error in it. Identify the error.
2,The result should be calculated using marks1, marks2,marks3, and marks4.
Consider the following pseudocode to add two numbers and display the result.

begin
numeric nNum1, nNum2, nSum
display "Enter the first number:"
accept nNum1
display "Enter the second number:"
accept nNum2
nNum1 + nNum2 = nSum
display nSum
end

However, the pseudocode has an error in it. Identify the error.
4,The assignment statement nNum1 + nNum2 = nSum is incorrect.
Consider the following pseudocode to multiply two numbers and display the result:

begin
numeric nNum1, nNum2, nResult
accept nNum1, nNum2
display "Enter two numbers to be multiplied"
nNum1*nNum2 = nResult
display nResult
end

However, the pseudocode has an error in it. Identify the error.
4,The assignment statement nNum1*nNum2=nResult is incorrect.
Consider the following pseudocode:

numeric nNum1, nNum2, nNum3
nNum1=4
nNum2=36
nNum2=nNum1*7
nNum3=nNum1+nNum2

What will be the value of nNum3 after execution of the above code?
2,32
________ refers to the memory location that can store only one value at a time but can vary throughout
the program execution.
1,Variable
Which of the following is used to define the fixed value that does not change during the execution of a
program?
3,Constant
_________ operators are used to compare two variables or constants.
4,Relational
Which of the following signs is used to assign a value to a variable?
4,=
John has written a pseudocode to calculate the discount on the television sets. 5% discount is given on
Black and White T.V, 8% discount is given on
14-inch color T.V. and 10% discount on 21-inch color T.V.

A part of pseudocode is given:

begin


if (cType = "B")
begin
nDiscount = 5% of SP
end
else
begin
if (cType = "C")
begin
if (nScreen = 14)
begin
nDiscount = 8% of SP
end
end
else
begin
if (nScreen = 21)
begin
nDiscount = 10% of SP
end
else
begin
display No Discount Available
end
end
end
end


What will be the output, if cType = "C" and nScreen = 25?
1,The pseudocode will execute and no discount will be calculated.
onsider the following pseudocode:

begin
numeric nCounter
for(nCounter=0; nCounter<=300; nCounter=nCounter+3)
begin
if(nCounter<=30)
begin
display nCounter
end
end
end
What will be the output of the preceding code?
2,It displays the multiples of 3 starting from 0 up to 30.
Which of the following options states the correct decimal form of the hexadecimal number 97?
1,151
Which of the following options states the correct binary form of the octal number 52?
1,101010
Which of the following options states the correct octal form of the binary number 11100?
3,34
Which of the following options states the correct binary form of the hexadecimal number 14?
2,10100

Which of the following options states the correct hexadecimal form of the binary number 10010?
2,12

También podría gustarte