Comprihensive
Comprihensive
Comprihensive
The header file __________ contains the macros for many of the input/ Output functions used in C.
o <iostream.h>
o <studio.h>
o <Conio.h>
Which of the following are different editions of Windows 7?
o Windows 7 Starter
o Windows 7 Premium
o Windows 7 Ultimate
o Windows 7 Home Bas
Identify the panel used to store pieces of code that can be reused when required.
o Assets panel
o Snippets panel
o Properties panel
o Floating panel
From the following options, identify the tag used to end a paragrpaph.
o <p>
o <\p>
o </p>
o <:p>
Which of the following options are provided when the user clicks the File tab for the first time in the
Backstage view?
o Startup options
o Permissions
o Prepare for Sharing
o Versions
The ______ attribute allows the user to span a cell along a horizontal row in an HTML table.
o Colsan
o Rowspan
o Cellspan
o Span
Which of the following is the first screen that users view after the computer is switched in and the boot
up process is completed?
o Soft Copy
o Hard Copy
o Desktop
o Data
The ___ tag is used for displaying information about the date.
o Html
o Meta
o Title
o Script
The difference between getchar() and putchar() is that getchar() takes an argument while putchar()
does not.
o True
o False
__________ enables a user to play songs and view movies on the computer.
o WordPad
o Windows Media Player
o Paint
o Notepad
Identify the satellite navigation system that provides information about the location from any part of
the globe.
o GSM
o Bluetooth
o Wifi
o GPS
_________ is basic word processing tool that allows a user to create a RTF file.
o Paint
o Windows Explorer
o Notepad
o WordPad
Which keyword is used in a SELECT query to prevent the retrieval of duplicate records?
o TOP
o ONLY
o UNIQUE
o DISTINCT
Which of the following browsers require the –webkit- prefix to support CSS3 transitions?
o Apple Safari 3.1
o Mozilla Firfox 3.7
o Google Chrome
o Opera 10.5x
ij
A _________ is an application that runs on a user? computer and helps to access and retrieve
information from the Internet.
o Web Browser
o Web Site
o Web Server
o Web Application
Which of the following options are valid values that can be assigned to the text-decoration property?
o None
o Overline
o Strike-through
o Line-through
Identify the correct syntax of the <enbed> tag to insert an external file into an HTML page.
o <embed source=”sample.mp3”/>
o <embed>
o <embed src =”sample.mp3’’/>
o <embed file=”sample.mp3”/>
Which of the following XML based formats are used to save file in Microsoft Word 2010?
o .docx
o .doc
o .docm
o .dotx
o Double d = 15.3446;
o Which of the following option shows the correct statement that produces the output,
o |015.345|?
System.out.printf(“|%07d|\n”,d);
System.out.printf(“|%07.3f|\n”,d);
System.out.printf(“|%07.d|\n”,d);
System.out.printf(“|%07.3e|\n”,d);
The __________ command is used to interpret and run the Java bytecode.
o Javac
o Java
o Javap
o Javadoc
Which of the following is not a collection class that implements the interfaces in the java.until package?
o ArrayList
o HashTree
o TreeMap
o LinkedList
Column Header
Row Header
Data
o 1,2
o 2,3
o 1,3
o 1,2,3
The standard input/output stream in Java is presented by Which of the following fields of the System
class?
In
Out
Err
Sys
o 1,2
o 1,2,3
o 1,2,4
o 2,3,4
The read() method reads the next bytes of data from the input stream and returns an int value in the
range of 0 to 32767?
o True
o False
o True
o False
A thread can be created by extending the Thread class. Which of the following methods are defined in
the class Thread?
o Object
o Byte
o Short
o Character
o Troffanf TEX
o GML
o SGML
o HTML
Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
o Accessed
o duplicated
o deleted
o overridden
The ________ process involves converting data into textual form and passing it to a browser or so.
o Creation
o Access
o Modification
o Serialization
<xs:complexType name=”Books”>
o <sx:simple Content>
o <xs:extension base = “xs:string”>
o <xs:attribute name = “Bookcode” type=”xs: positiveInteger”/>
o </xs:extension>
o </xs:simpleContent>
o </xs:complexType>
o Empty Elements
o Mixed
o Only Elements
o Only Text
o 32
o 64
o 128
o 256
The Deflater and Inflator classes extend from the _______ class.
o Object
o ZipFile
o InputStream
o ZipEntry
Which of the following method indicates that the compression should end with the current contents of
the input buffer?
o End()
o Close()
o Finish()
o endCompression()
______ method when invoked for an object, acquires a _______ for the object before commencing any
execution of the code.
o Start(), reference
o Run(),lock
o Notify(), reference
o Synchronized, lock
Which of the following are the parameters of the move() method of Files class?
o Source path
o Exception
o Target path
o Copy options
o Platform independence
o Vendor independence
o Program independence
o Ease of maintenance
o The executeQuery() method is used to execute SQL statements which return more than one
result set.
o The executeUpdate() method is used to execute SQL DDL statements.
o The execute() method returns true when a result set object is created due to the execution of an
SQL statement.
o The executeUpdate() method returns an integer indicating the number of rows affected by the
execution of the SQL statement.
Which of the following is the base class for all symmetric algorithm classes?
o RC2
o SymmetricAlgorithm
o DES
o TripleDES
The ________ object is responsible for transforming the data based on the algorithm of the symmetric
encryption class.
o ICryptoTransform
o CyrptoStream
o NetworkStream
o RijndaeImanaged
______ is a new control in ASP.NET that implements user templates and displays repeated data in a
simplified manner.
ListView
DataPager
ListBox
ComboBox
_______ is browser technology which enables applications to exchange data with a server by updating
the parts of Web page without reloading the whole page.
o AJAX
o LINQ
o WPF
o WCF
o =>
o >>
o ->
o ==
________ is framework used for developing system or human workflows in the applications designed
for operating systems such as Windows Vista, Windows XP, and Windows Server 2003.
o CSS
o JavaScript
o C# 3.0
o XAML
Which of the following classes can you use to perform symmetric encryption?
o AesManaged
o tripleDESCryptoServiceProvider
o RijndealManaged
o RSACryptoServiceProvider
o A value
o An expression
o An object initializer
o A method call
1,2,4,
1,2,3,4
1,4,1,3,4
o Debugging
o Application deployment
o Syntax checking
o Both a and b
o All of the above
o Is unsigned
o Has two states
o Is displayed by the program as yes or no
o Both a and b
o All of the above
o compile error
o logic error
o runtime error
o superficial error
Which property is the same in the OpenFileDialog and the SaveFileDialog control
o FileName
o Filter
o InitialDirectory
o Both a and b.
o All of the above.
o Methods
o Property
o Instances
o Both a and b
o actions.
o Classes
o Data
o Events
o Instances
Method are used to represent
o actions.
o Classes
o Data
o Events
o Instances
o Encapsulation
o Inheritance
o Polymorphism
o Both a and b.
o All of the above.
Which of the following area in the memory stores object references, method parameters, and its local
variables?
o Stack
o Heap
o Accumulator
o Register
o Comparator()
o Comparable()
o Compare()
o compareTo()
o Interatoritr = arraylist.iterator();
o //insert code here
o {
o System.out.printIn(itr.next());
o }
o Which of the following statement added at line 2 will compile the code successfully?”
While (itr.moreElements())
While (itr.hasElements())
While (itr.hasNext())
While (itr.next())
Which of the following statements are true with respect to exceptions in Java?
o The try statement must be followed by only one catch or a finally block
o The Exception subclasses are used when the called method handles the exception
o Repeated re-throwing of the same exception must be avoided as it may slow down programs
that are known for frequently raising exceptions.
o Use the throw statement to throw an exception that a method does not handle by itself.
“Consider a directly structure created on the Window system: A directory named AplhaProject has been
created. It contains two sub-directories named source and classes. The source directory contains a Java
file named MyProgram.Java. Assume that the current directory has been set to AlphaProject. Then,
what will be the result of the following command invocation on the command prompt, javac –d classes
source/MyProgram.java.”
“Given that the root directory contains a subdirectory called ““BankApp””that contains files for a Java
Application. The following command is invoked from the root directory in order to create a JAR file
containing the ““BankApp”” directory: jar –cf X Y, where X and Y are arguments. Which of the following
statements correctly identify the arguments X and Y in the jar command?”
o X should be the file name of the JAR file, and Y should be “BankApp”
o X should be “BankApp”, and Y should be the file name of the JAR file.
o Both X and Y specifies file name of the JAR file.
o If a name is not specified, then file named BankApp,jar will be created
o Double d = 15.3446;
o Which of the following option shows the correct statement that produces the output,
o |015.345|?
System.out.printf(“|%07d|\n”,d);
System.out.printf(“|%07.3f|\n”,d);
System.out.printf(“|%07.d|\n”,d);
System.out.printf(“|%07.3e|\n”,d);
Which of the following statements truly specifies the characteristics of static methods in Java?
The __________ command is used to interpret and run the Java bytecode.
o Javac
o Java
o Javap
o Javadoc
o LinkedList
o ArrayList
o PriorityQueue
o CircularQueue
Which of the following is not a collection class that implements the interfaces in the java.until package?
o ArrayList
o HashTree
o TreeMap
o LinkedList
Column Header
Row Header
Data
o 1,2
o 2,3
o 1,3
o 1,2,3
The standard input/output stream in Java is presented by Which of the following fields of the System
class?
In
Out
Err
Sys
o 1,2
o 1,2,3
o 1,2,4
o 2,3,4
The read() method reads the next bytes of data from the input stream and returns an int value in the
range of 0 to 32767?
o True
o False
o True
o False
A thread can be created by extending the Thread class. Which of the following methods are defined in
the class Thread?
o Object
o Byte
o Short
o Character
o Troffanf TEX
o GML
o SGML
o HTML
Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
o Accessed
o duplicated
o deleted
o overridden
The ________ process involves converting data into textual form and passing it to a browser or so.
o Creation
o Access
o Modification
o Serialization
<xs:complexType name=”Books”>
o <sx:simple Content>
o <xs:extension base = “xs:string”>
o <xs:attribute name = “Bookcode” type=”xs: positiveInteger”/>
o </xs:extension>
o </xs:simpleContent>
o </xs:complexType>
o Empty Elements
o Mixed
o Only Elements
o Only Text
o 32
o 64
o 128
o 256
The Deflater and Inflator classes extend from the _______ class.
o Object
o ZipFile
o InputStream
o ZipEntry
Which of the following method indicates that the compression should end with the current contents of
the input buffer?
o End()
o Close()
o Finish()
o endCompression()
______ method when invoked for an object, acquires a _______ for the object before commencing any
execution of the code.
o Start(), reference
o Run(),lock
o Notify(), reference
o Synchronized, lock
Which of the following are the parameters of the move() method of Files class?
o Source path
o Exception
o Target path
o Copy options
o Platform independence
o Vendor independence
o Program independence
o Ease of maintenance
o The executeQuery() method is used to execute SQL statements which return more than one
result set.
o The executeUpdate() method is used to execute SQL DDL statements.
o The execute() method returns true when a result set object is created due to the execution of an
SQL statement.
o The executeUpdate() method returns an integer indicating the number of rows affected by the
execution of the SQL statement.
o RC2
o SymmetricAlgorithm
o DES
o TripleDES
The ________ object is responsible for transforming the data based on the algorithm of the symmetric
encryption class.
o ICryptoTransform
o CyrptoStream
o NetworkStream
o RijndaeImanaged
______ is a new control in ASP.NET that implements user templates and displays repeated data in a
simplified manner.
ListView
DataPager
ListBox
ComboBox
_______ is browser technology which enables applications to exchange data with a server by updating
the parts of Web page without reloading the whole page.
o AJAX
o LINQ
o WPF
o WCF
o =>
o >>
o ->
o ==
________ is framework used for developing system or human workflows in the applications designed
for operating systems such as Windows Vista, Windows XP, and Windows Server 2003.
WPF uses _________ which is an XML-based language that allows specifying a user unterface
declaratively rather than in code.
o CSS
o JavaScript
o C# 3.0
o XAML
Which of the following classes can you use to perform symmetric encryption?
o AesManaged
o tripleDESCryptoServiceProvider
o RijndealManaged
o RSACryptoServiceProvider
o Used to indicates how the elements in the returned sequence will look like when the query is
executed.
o Used to group query based on a specified key value
o Used to sort query results in ascending or descending order
o Used to indicate a data source and a range variable.
What will be the result of executing the following statement in the Main() method of a C# program?
o A value
o An expression
o An object initializer
o A method call
1,2,4,
1,2,3,4
1,4,1,3,4
o Debugging
o Application deployment
o Syntax checking
o Both a and b
o All of the above
o Is unsigned
o Has two states
o Is displayed by the program as yes or no
o Both a and b
o All of the above
o compile error
o logic error
o runtime error
o superficial error
Which property is the same in the OpenFileDialog and the SaveFileDialog control
o FileName
o Filter
o InitialDirectory
o Both a and b.
o All of the above.
o Methods
o Property
o Instances
o Both a and b
o actions.
o Classes
o Data
o Events
o Instances
o actions.
o Classes
o Data
o Events
o Instances
o Encapsulation
o Inheritance
o Polymorphism
o Both a and b.
o All of the above.
Inheritance makes it easier to
Which of the following area in the memory stores object references, method parameters, and its local
variables?
o Stack
o Heap
o Accumulator
o Register
o Comparator()
o Comparable()
o Compare()
o compareTo()
o Interatoritr = arraylist.iterator();
o //insert code here
o {
o System.out.printIn(itr.next());
o }
o Which of the following statement added at line 2 will compile the code successfully?”
While (itr.moreElements())
While (itr.hasElements())
While (itr.hasNext())
While (itr.next())
Which of the following statements are true with respect to exceptions in Java?
o The try statement must be followed by only one catch or a finally block
o The Exception subclasses are used when the called method handles the exception
o Repeated re-throwing of the same exception must be avoided as it may slow down programs
that are known for frequently raising exceptions.
o Use the throw statement to throw an exception that a method does not handle by itself.
“Consider a directly structure created on the Window system: A directory named AplhaProject has been
created. It contains two sub-directories named source and classes. The source directory contains a Java
file named MyProgram.Java. Assume that the current directory has been set to AlphaProject. Then,
what will be the result of the following command invocation on the command prompt, javac –d classes
source/MyProgram.java.”
“Given that the root directory contains a subdirectory called ““BankApp””that contains files for a Java
Application. The following command is invoked from the root directory in order to create a JAR file
containing the ““BankApp”” directory: jar –cf X Y, where X and Y are arguments. Which of the following
statements correctly identify the arguments X and Y in the jar command?”
o X should be the file name of the JAR file, and Y should be “BankApp”
o X should be “BankApp”, and Y should be the file name of the JAR file.
o Both X and Y specifies file name of the JAR file.
o If a name is not specified, then file named BankApp,jar will be created
Consider the following declaration:
o Double d = 15.3446;
o Which of the following option shows the correct statement that produces the output,
o |015.345|?
System.out.printf(“|%07d|\n”,d);
System.out.printf(“|%07.3f|\n”,d);
System.out.printf(“|%07.d|\n”,d);
System.out.printf(“|%07.3e|\n”,d);
Which of the following statements truly specifies the characteristics of static methods in Java?
The __________ command is used to interpret and run the Java bytecode.
o Javac
o Java
o Javap
o Javadoc
Which of the following is not a collection class that implements the interfaces in the java.until package?
o ArrayList
o HashTree
o TreeMap
o LinkedList
Column Header
Row Header
Data
o 1,2
o 2,3
o 1,3
o 1,2,3
The standard input/output stream in Java is presented by Which of the following fields of the System
class?
In
Out
Err
Sys
o 1,2
o 1,2,3
o 1,2,4
o 2,3,4
The read() method reads the next bytes of data from the input stream and returns an int value in the
range of 0 to 32767?
o True
o False
o True
o False
A thread can be created by extending the Thread class. Which of the following methods are defined in
the class Thread?
o Object
o Byte
o Short
o Character
o Troffanf TEX
o GML
o SGML
o HTML
Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
o Accessed
o duplicated
o deleted
o overridden
The ________ process involves converting data into textual form and passing it to a browser or so.
o Creation
o Access
o Modification
o Serialization
<xs:complexType name=”Books”>
o <sx:simple Content>
o <xs:extension base = “xs:string”>
o <xs:attribute name = “Bookcode” type=”xs: positiveInteger”/>
o </xs:extension>
o </xs:simpleContent>
o </xs:complexType>
o Empty Elements
o Mixed
o Only Elements
o Only Text
o 32
o 64
o 128
o 256
The Deflater and Inflator classes extend from the _______ class.
o Object
o ZipFile
o InputStream
o ZipEntry
Which of the following method indicates that the compression should end with the current contents of
the input buffer?
o End()
o Close()
o Finish()
o endCompression()
______ method when invoked for an object, acquires a _______ for the object before commencing any
execution of the code.
o Start(), reference
o Run(),lock
o Notify(), reference
o Synchronized, lock
Which of the following are the parameters of the move() method of Files class?
o Source path
o Exception
o Target path
o Copy options
o Platform independence
o Vendor independence
o Program independence
o Ease of maintenance
o The executeQuery() method is used to execute SQL statements which return more than one
result set.
o The executeUpdate() method is used to execute SQL DDL statements.
o The execute() method returns true when a result set object is created due to the execution of an
SQL statement.
o The executeUpdate() method returns an integer indicating the number of rows affected by the
execution of the SQL statement.
Which of the following is the base class for all symmetric algorithm classes?
o RC2
o SymmetricAlgorithm
o DES
o TripleDES
The ________ object is responsible for transforming the data based on the algorithm of the symmetric
encryption class.
o ICryptoTransform
o CyrptoStream
o NetworkStream
o RijndaeImanaged
______ is a new control in ASP.NET that implements user templates and displays repeated data in a
simplified manner.
ListView
DataPager
ListBox
ComboBox
_______ is browser technology which enables applications to exchange data with a server by updating
the parts of Web page without reloading the whole page.
o AJAX
o LINQ
o WPF
o WCF
Which of the following represents the lambda operator?
o =>
o >>
o ->
o ==
________ is framework used for developing system or human workflows in the applications designed
for operating systems such as Windows Vista, Windows XP, and Windows Server 2003.
WPF uses _________ which is an XML-based language that allows specifying a user unterface
declaratively rather than in code.
o CSS
o JavaScript
o C# 3.0
o XAML
Which of the following classes can you use to perform symmetric encryption?
o AesManaged
o tripleDESCryptoServiceProvider
o RijndealManaged
o RSACryptoServiceProvider
What will be the result of executing the following statement in the Main() method of a C# program?
o A value
o An expression
o An object initializer
o A method call
1,2,4,
1,2,3,4
1,4,1,3,4
o Debugging
o Application deployment
o Syntax checking
o Both a and b
o All of the above
o Is unsigned
o Has two states
o Is displayed by the program as yes or no
o Both a and b
o All of the above
o compile error
o logic error
o runtime error
o superficial error
Which property is the same in the OpenFileDialog and the SaveFileDialog control
o FileName
o Filter
o InitialDirectory
o Both a and b.
o All of the above.
o Methods
o Property
o Instances
o Both a and b
o actions.
o Classes
o Data
o Events
o Instances
o actions.
o Classes
o Data
o Events
o Instances