الأربعاء، 21 أغسطس 2013


1. Which of the following is NOT an objective of MIS?

A) Facilitate the decisions-making process

B) Provide requisite information at each level of management

C) Support decision-making

D) recruit people for system



2. In MIS system design, the sources of information may be categorized as ............... and ...............

A) internal, external

B) personal, organizational

C) useful, unuseful

D) constructive, destructive



3. What among the following are the primary characteristics that information must process?
English: Business Process Reengineering Cycle
English: Business Process Reengineering Cycle (Photo credit: Wikipedia)


i) Relevance             ii) Availability


iii) Timeliness          iv) Accuracy


A) Only i, ii, and iii

B) Only ii, iii and iv

C) Only i, iii and iv

D) All i, ii, iii, and iv



4. Which of the following models are developed on the principles of business management, accounting and econometrics?

A) Behavioral model

B) Management science models

C) Operations research models

D) Policy making models



5. An ...................... is a set of processes and procedures that transform data into information and knowledge.

A) information system

B) Knowledge system

C) Database system

D) Computer system



6. A system is called ..................... when the inputs, process and the outputs are known with certainty.

A) Probablistics

B) Deterministic

C) Open

D) Close



7. Which of the following steps is/are the implementation plans involved in MIS?

i) Preparing organizational plans

ii) Planning of work flow

iii) Training of personnel

iv) Development of software

v) Acquiring computer hardware

A) i, ii and iii only

B) i, ii, iii and iv only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v



8. Which of the following is included in the Office automation systems?

i) Word processing

ii) Electronic mail

iii) Voice mail

iv) Electronic calendaring

v) Audio conferencing

A) i, ii, iii and v only

B) i, ii, iii and iv only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v



9. In a typical ................ network, application processing is shared between clients and one more servers.

A) client server computing

B) cloud computing

C) mobile computing

D) data computing



10. The .................... is defined as a set of activities performed across the organization creating as output of value to the customer.

A) development process

B) business process

C) quality process

D) customer focus


Answers:

1.   D) recruit people for system
2.   A) internal, external
3.   A) Only i, ii, and iii
4.   B) Management science models
5.   A) information system
6.   B) Deterministic
7.   D) All i, ii, iii, iv and v
8.   D) All i, ii, iii, iv and v
9.   A) client server computing
10. B) business process


You Might also view the following Related Posts

Solved MCQ of Management Information System set-1

Posted at  11:55 م - by mego almasry 0


1. Which of the following is NOT an objective of MIS?

A) Facilitate the decisions-making process

B) Provide requisite information at each level of management

C) Support decision-making

D) recruit people for system



2. In MIS system design, the sources of information may be categorized as ............... and ...............

A) internal, external

B) personal, organizational

C) useful, unuseful

D) constructive, destructive



3. What among the following are the primary characteristics that information must process?
English: Business Process Reengineering Cycle
English: Business Process Reengineering Cycle (Photo credit: Wikipedia)


i) Relevance             ii) Availability


iii) Timeliness          iv) Accuracy


A) Only i, ii, and iii

B) Only ii, iii and iv

C) Only i, iii and iv

D) All i, ii, iii, and iv



4. Which of the following models are developed on the principles of business management, accounting and econometrics?

A) Behavioral model

B) Management science models

C) Operations research models

D) Policy making models



5. An ...................... is a set of processes and procedures that transform data into information and knowledge.

A) information system

B) Knowledge system

C) Database system

D) Computer system



6. A system is called ..................... when the inputs, process and the outputs are known with certainty.

A) Probablistics

B) Deterministic

C) Open

D) Close



7. Which of the following steps is/are the implementation plans involved in MIS?

i) Preparing organizational plans

ii) Planning of work flow

iii) Training of personnel

iv) Development of software

v) Acquiring computer hardware

A) i, ii and iii only

B) i, ii, iii and iv only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v



8. Which of the following is included in the Office automation systems?

i) Word processing

ii) Electronic mail

iii) Voice mail

iv) Electronic calendaring

v) Audio conferencing

A) i, ii, iii and v only

B) i, ii, iii and iv only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v



9. In a typical ................ network, application processing is shared between clients and one more servers.

A) client server computing

B) cloud computing

C) mobile computing

D) data computing



10. The .................... is defined as a set of activities performed across the organization creating as output of value to the customer.

A) development process

B) business process

C) quality process

D) customer focus


Answers:

1.   D) recruit people for system
2.   A) internal, external
3.   A) Only i, ii, and iii
4.   B) Management science models
5.   A) information system
6.   B) Deterministic
7.   D) All i, ii, iii, iv and v
8.   D) All i, ii, iii, iv and v
9.   A) client server computing
10. B) business process


You Might also view the following Related Posts

السبت، 17 أغسطس 2013


1. State whether the following statements are True or False.

i) JavaScript ignores spaces, tabs and newlines that appear in JavaScript program.

ii) Semicolons are necessary while writing JavaScript statements.

iii) JavaScript is a case-sensitive language.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True



2. Which of the following are the advantages of JavaScript?

i) Less server interaction

Titel WikiBook JavaScript
Titel WikiBook JavaScript (Photo credit: Wikipedia)
ii) Immediate feedback to visitors

iii) Reading or writing of files

iv) Increased interactivity

A) i, ii and iii only

B) i, iii and iv only

C) i, ii and iv only

D) All i, ii, iii, and iv



3. Which of the following is NOT an operator used in JavaScript?

A) Arithmetic Operator

B) Comparison Operator

C) Conditional Operator

D) Static Operator



4. JavaScript For Loops contains the following important parts.

i) The loop initialization to start value.

ii) The test statement to test if the given condition is True or not.

iii) The iteration statement to increase or decrease counter.

iv) The end statement to finish the loop.

A) i, ii and iii only

B) i, iii and iv only

C) i, ii and iv only

D) All i, ii, iii, and iv



5. In JavaScript, a ............................ is simply an identifier followed by a colon that is applied to a statement or block of code.

A) bookmark

B) label

C) break

D) continue



6. A JavaScript function which can be defined dynamically along with the new operator using ..........

A) Nested Function

B) Function Literals

C) Function ( ) Constructor

D) None of the above



7. A function literal is an expression that defines unnamed function. The syntax for function literal is ......

A) var variable name=function (Argument list){Function Body};

B) variable name=function (Argument list){Function Body};

C) var variable name =new function(Arg1, Arg2, ......,"function body");

D) variable name =new function(Arg1, Arg2, ......,"function body");



8. Match the following JavaScript function with their description.

i) onblur             a) script runs when element changes

ii) onmouseup     b) script runs when the form is reset

iii) onchange       c) script runs when the element lost focus.

iv) onreset          d) script runs when mouse button is released.

A) i-d, ii-c, iii-a, iv-b

B) i-b, ii-c, iii-a, iv-d

C) i-c, ii-d, iii-a, iv-b

D) i-a, ii-c, iii-d, iv-b



9. Cookies are a plain text data record having the following variable length fields.

i) Expires                  ii) Starts            iii) Domain             iv) Secure

A) i, ii and iii only

B) i, iii and iv only

C) i, ii and iv only

D) All i, ii, iii, and iv



10. While reading Cookies, the ................ string will keep a list of name = value pairs separated by semicolons, where name is the name of a cookie and value is its string value.

A) document.cookie

B) read.cookie

C) cookie.string

D) name.cookie

Answers:

1.   A) i- True, ii- False, iii-True
2.   C) i, ii and iv only
3.   D) Static Operator
4.   A) i, ii and iii  only
5.   B) label
6.   C) Function ( ) Constructor
7.   A) var variable name=function (Argument list){Function Body};
8.   C) i-c, ii-d, iii-a, iv-b
9.   C) i, ii and iv only
10. A) document.cookie


You Might also view the following Related Posts

Enhanced by Zemanta

Solved MCQ of JavaScript set-1

Posted at  9:45 ص - by mego almasry 0


1. State whether the following statements are True or False.

i) JavaScript ignores spaces, tabs and newlines that appear in JavaScript program.

ii) Semicolons are necessary while writing JavaScript statements.

iii) JavaScript is a case-sensitive language.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True



2. Which of the following are the advantages of JavaScript?

i) Less server interaction

Titel WikiBook JavaScript
Titel WikiBook JavaScript (Photo credit: Wikipedia)
ii) Immediate feedback to visitors

iii) Reading or writing of files

iv) Increased interactivity

A) i, ii and iii only

B) i, iii and iv only

C) i, ii and iv only

D) All i, ii, iii, and iv



3. Which of the following is NOT an operator used in JavaScript?

A) Arithmetic Operator

B) Comparison Operator

C) Conditional Operator

D) Static Operator



4. JavaScript For Loops contains the following important parts.

i) The loop initialization to start value.

ii) The test statement to test if the given condition is True or not.

iii) The iteration statement to increase or decrease counter.

iv) The end statement to finish the loop.

A) i, ii and iii only

B) i, iii and iv only

C) i, ii and iv only

D) All i, ii, iii, and iv



5. In JavaScript, a ............................ is simply an identifier followed by a colon that is applied to a statement or block of code.

A) bookmark

B) label

C) break

D) continue



6. A JavaScript function which can be defined dynamically along with the new operator using ..........

A) Nested Function

B) Function Literals

C) Function ( ) Constructor

D) None of the above



7. A function literal is an expression that defines unnamed function. The syntax for function literal is ......

A) var variable name=function (Argument list){Function Body};

B) variable name=function (Argument list){Function Body};

C) var variable name =new function(Arg1, Arg2, ......,"function body");

D) variable name =new function(Arg1, Arg2, ......,"function body");



8. Match the following JavaScript function with their description.

i) onblur             a) script runs when element changes

ii) onmouseup     b) script runs when the form is reset

iii) onchange       c) script runs when the element lost focus.

iv) onreset          d) script runs when mouse button is released.

A) i-d, ii-c, iii-a, iv-b

B) i-b, ii-c, iii-a, iv-d

C) i-c, ii-d, iii-a, iv-b

D) i-a, ii-c, iii-d, iv-b



9. Cookies are a plain text data record having the following variable length fields.

i) Expires                  ii) Starts            iii) Domain             iv) Secure

A) i, ii and iii only

B) i, iii and iv only

C) i, ii and iv only

D) All i, ii, iii, and iv



10. While reading Cookies, the ................ string will keep a list of name = value pairs separated by semicolons, where name is the name of a cookie and value is its string value.

A) document.cookie

B) read.cookie

C) cookie.string

D) name.cookie

Answers:

1.   A) i- True, ii- False, iii-True
2.   C) i, ii and iv only
3.   D) Static Operator
4.   A) i, ii and iii  only
5.   B) label
6.   C) Function ( ) Constructor
7.   A) var variable name=function (Argument list){Function Body};
8.   C) i-c, ii-d, iii-a, iv-b
9.   C) i, ii and iv only
10. A) document.cookie


You Might also view the following Related Posts

Enhanced by Zemanta

الجمعة، 16 أغسطس 2013


1. An exception condition in a computer system caused by an event external to the CPU is called ........

A) Interrupt

B) Halt

C) Wait

D) Process



2. When the CPU detects an interrupt, it then saves its .............

A) Previous State

B) Next State

C) Current State

D) Both A and B
English: A photo of three 32-bit PCI slots.
English: A photo of three 32-bit PCI slots. (Photo credit: Wikipedia)



3. A microprogram is sequencer perform the operation...

A) read

B) write

C) read and write

D) read and execute



4. A computer program that converts an entire program into machine language at one time is called

A) interpreter

B) simulator

C) compiler

D) commander



5. The unit which decodes and translates each instruction and generates the necessary enable signals for ALU and other units is called ..

A) arithmetic unit

B) logical unit

C) control unit

D) CPU



6. State whether the following statement is True or False for cache memory.

i) Cache memories are high-speed buffers which are inserted between the processors and main memory.

ii) They can also be inserted between main memory and mass storage.

iii) It can be used as secondary memory.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True



7. The channel which handles the multiple requests and multiplexes the data transfers from these devices a byte at a time is known as .....

A) multiplexor channel

B) the selector channel

C) block multiplex channel

D) both A and C



8. The address mapping is done, when the program is initially loaded is called ......

A) dynamic relocation

B) relocation

C) static relocation

D) dynamic as well as static relocation



9. State whether the following statement is True or False for PCI bus.

i) The PCI bus tuns at 33 MHZ and can transfer 32-bits of data(four bytes) every clock tick.

ii) The PCI interface chip may support the video adapter, the EIDE disk controller chip and may be two external adapter cards.

iii) PCI bus deliver the different throughout only on a 32-bit interface that other parts of the machine deliver through a 64-bit path.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True



10. The I/O processor has a direct access to ....................... and contains a number of independent data channels.

A) main memory

B) secondary memory

C) cache

D) flash memory

Answers:

1.   A) Interrupt
2.   C) Current State
3.   D) read and execute
4.   C) compiler
5.   C) control unit
6.   C) i-True, ii-True, iii-False
7.   A) multiplexor channel
8.   C) static relocation
9.   C) i-True, ii-True, iii-False
10. A) main memory


You Might also view the following Related Posts

MCQ of Computer Organization and Architecture with Answer set-3

Posted at  10:45 م - by mego almasry 0


1. An exception condition in a computer system caused by an event external to the CPU is called ........

A) Interrupt

B) Halt

C) Wait

D) Process



2. When the CPU detects an interrupt, it then saves its .............

A) Previous State

B) Next State

C) Current State

D) Both A and B
English: A photo of three 32-bit PCI slots.
English: A photo of three 32-bit PCI slots. (Photo credit: Wikipedia)



3. A microprogram is sequencer perform the operation...

A) read

B) write

C) read and write

D) read and execute



4. A computer program that converts an entire program into machine language at one time is called

A) interpreter

B) simulator

C) compiler

D) commander



5. The unit which decodes and translates each instruction and generates the necessary enable signals for ALU and other units is called ..

A) arithmetic unit

B) logical unit

C) control unit

D) CPU



6. State whether the following statement is True or False for cache memory.

i) Cache memories are high-speed buffers which are inserted between the processors and main memory.

ii) They can also be inserted between main memory and mass storage.

iii) It can be used as secondary memory.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True



7. The channel which handles the multiple requests and multiplexes the data transfers from these devices a byte at a time is known as .....

A) multiplexor channel

B) the selector channel

C) block multiplex channel

D) both A and C



8. The address mapping is done, when the program is initially loaded is called ......

A) dynamic relocation

B) relocation

C) static relocation

D) dynamic as well as static relocation



9. State whether the following statement is True or False for PCI bus.

i) The PCI bus tuns at 33 MHZ and can transfer 32-bits of data(four bytes) every clock tick.

ii) The PCI interface chip may support the video adapter, the EIDE disk controller chip and may be two external adapter cards.

iii) PCI bus deliver the different throughout only on a 32-bit interface that other parts of the machine deliver through a 64-bit path.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True



10. The I/O processor has a direct access to ....................... and contains a number of independent data channels.

A) main memory

B) secondary memory

C) cache

D) flash memory

Answers:

1.   A) Interrupt
2.   C) Current State
3.   D) read and execute
4.   C) compiler
5.   C) control unit
6.   C) i-True, ii-True, iii-False
7.   A) multiplexor channel
8.   C) static relocation
9.   C) i-True, ii-True, iii-False
10. A) main memory


You Might also view the following Related Posts

الخميس، 15 أغسطس 2013

English: JDBC type 3 driver (Network Protocol ...
English: JDBC type 3 driver (Network Protocol driver) (Photo credit: Wikipedia)

1. What is JDBC?

A) java compiler

B) Java API

C) Java interpreter

D) Both A and B



2. JDBC is a ..................... interface, which means that it is used to invoke SQL commands directly

A) low-level

B) middle-level

C) higher-level

D) user



3. ODBC is not appropriate for direct use from java because it uses a ..............

A) C interface

B) C# interface

C) java interface

D) Both A and C



4. Java Soft provides ................. JDBC product components as part of the java Developer's Kit (JDK)

A) three

B) two

C) four

D) single



5. Kind of driver converts JDBC calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS is known as

A) JDBC-Net pure Java driver

B) JDBC-ODBC Bridge plus ODBC driver

C) Native-API partly-Java driver

D) Both A and B



6. JSP stands for ..........................

A) Java server Pages

B) Java server Programming

C) Java Server Process

D) Java Socket Programming



7. JSP includes a mechanism for defining ............................... or custom tags.

A) static attributes

B) local attributes

C) dynamic attributes

D) global attributes



8. JSP is not governed by the syntax and semantics defined by the ................... specifications.

A) Java 2

B) Java 2.4

C) Java 1

D) Java 1.2
 


9. JSP containers are required to support ..................... different formats of JSP syntax.

A) Two

B) Three

C) Four

D) Only One



10. The difference between Servlets and JSP is the ................

A) translation

B) compilation

C) syntax

D) Both A and B


Answers:

1.   B) Java API
2.   A) low-level
3.   A) C interface
4.   A) three
5.   C) Native-API partly-Java driver
6.   A) Java server Pages
7.   C) dynamic attributes
8.   A) Java 2
9.   A) Two
10. C) syntax

You Might also view the following Related Posts

Enhanced by Zemanta

Solved MCQ of JDBC and JSP set-1

Posted at  11:43 م - by mego almasry 0

English: JDBC type 3 driver (Network Protocol ...
English: JDBC type 3 driver (Network Protocol driver) (Photo credit: Wikipedia)

1. What is JDBC?

A) java compiler

B) Java API

C) Java interpreter

D) Both A and B



2. JDBC is a ..................... interface, which means that it is used to invoke SQL commands directly

A) low-level

B) middle-level

C) higher-level

D) user



3. ODBC is not appropriate for direct use from java because it uses a ..............

A) C interface

B) C# interface

C) java interface

D) Both A and C



4. Java Soft provides ................. JDBC product components as part of the java Developer's Kit (JDK)

A) three

B) two

C) four

D) single



5. Kind of driver converts JDBC calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS is known as

A) JDBC-Net pure Java driver

B) JDBC-ODBC Bridge plus ODBC driver

C) Native-API partly-Java driver

D) Both A and B



6. JSP stands for ..........................

A) Java server Pages

B) Java server Programming

C) Java Server Process

D) Java Socket Programming



7. JSP includes a mechanism for defining ............................... or custom tags.

A) static attributes

B) local attributes

C) dynamic attributes

D) global attributes



8. JSP is not governed by the syntax and semantics defined by the ................... specifications.

A) Java 2

B) Java 2.4

C) Java 1

D) Java 1.2
 


9. JSP containers are required to support ..................... different formats of JSP syntax.

A) Two

B) Three

C) Four

D) Only One



10. The difference between Servlets and JSP is the ................

A) translation

B) compilation

C) syntax

D) Both A and B


Answers:

1.   B) Java API
2.   A) low-level
3.   A) C interface
4.   A) three
5.   C) Native-API partly-Java driver
6.   A) Java server Pages
7.   C) dynamic attributes
8.   A) Java 2
9.   A) Two
10. C) syntax

You Might also view the following Related Posts

Enhanced by Zemanta

الأربعاء، 14 أغسطس 2013


MCQs in C#
MCQs in C#
1. The general syntax for declaring an enumeration in C# is .

A) <enum_name> enum {enum list};

B) enum <enum_name> {enum list};

C) <enum_type> enum <enum_name> {enum list};

D) None of the above


2. State True or False for the difference between classes and structures.

i) Structures do not support inheritance

ii) Structure can have default constructor

iii) Classes are reference types and structures are value types.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True


3. The various techniques provided by C# to implement static polymorphism is/are

i) Function overloading

ii) Static overloading

iii) Operator overloading

A) i and ii only

B) i and iii only

C)  ii and iii only

D) All i, ii, iii


4. Operator overloading is creating functions with special names, the keyword ........................ operator followed by the symbol for the operator being defined.

A) Overload

B) Update

C) Operator

D) Implement


5. Match the following operators in C# with their description for the operator overload property.

i) +, -, !, ~, ++, --            a) cannot be overloaded

ii) ==, !=, <, >, <=, >=    b) cannot be overloaded directly

iii) &&, ||                         c) take one operand and can be overloaded

iv) =, ., ? :, ->                  d) can be overload

A) i-d, ii-c, iii-a, iv-b

B) i-b, ii-c, iii-a, iv-d

C) i-c, ii-d, iii-b, iv-a

D) i-a, ii-c, iii-d, iv-b


6. Match the following preprocessor directives in C# with their description?

i) #elif                      a) specifies the end of conditional directive

ii) #endif                   b) allows to undefine a symbol.

iii) #undef                  c) allows creating compound conditional directive

A) i-b, ii-c, iii-a

B) i-b, ii-c, iii-a

C) i-c, ii-a, iii-b

D) i-a, ii-c, iii-b


7. The operator symbols can be used for the conditional directives in C# is/are.

i) = = (equality)         ii) ! = (inequality)            iii) && (and)

iv) || (or)                   v) >= (grater than or equal to)

A) i, ii  iii and iv only

B) i, iii and iv only

C) i, ii, iii and v only

D) All i, ii, iii, iv and v


8. Conditional directives are beginning with a ...................... directive and must be terminated with ....................... directive and must be terminated with .............. directive.

A) #if, #endif

B) #start, #end

C) #elif, #endelif

D) Both A and B


9. The keywords provided by C# for exception handling are.

i) try             ii) catch             iii) finally             iv) tryif             v) throw

A) i, ii and iii and iv only

B) ii, iii and iv and v only

C) i, ii and iii and v only

D) All i, ii, iii and iv


10. The ................... block is used to execute a given set of statement, whether the exception is thrown or not.

A) try

B) tryif

C) finally

D) throw


Answers:

1.   B) enum <enum_name> {enum list};
2.   A) i- True, ii- False, iii-True
3.   B) i and iii only
4.   C) Operator
5.   C) i-c, ii-d, iii-b, iv-a
6.   C) i-c, ii-a, iii-b
7.   A) i, ii and iii and iv only
8.   A) #if, #endif
9.   C) i, ii and iii and v only
10. C) finally


You Might also view the following Related Posts

MCQ of C# with Answer set-3

Posted at  9:42 ص - by mego almasry 0


MCQs in C#
MCQs in C#
1. The general syntax for declaring an enumeration in C# is .

A) <enum_name> enum {enum list};

B) enum <enum_name> {enum list};

C) <enum_type> enum <enum_name> {enum list};

D) None of the above


2. State True or False for the difference between classes and structures.

i) Structures do not support inheritance

ii) Structure can have default constructor

iii) Classes are reference types and structures are value types.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True


3. The various techniques provided by C# to implement static polymorphism is/are

i) Function overloading

ii) Static overloading

iii) Operator overloading

A) i and ii only

B) i and iii only

C)  ii and iii only

D) All i, ii, iii


4. Operator overloading is creating functions with special names, the keyword ........................ operator followed by the symbol for the operator being defined.

A) Overload

B) Update

C) Operator

D) Implement


5. Match the following operators in C# with their description for the operator overload property.

i) +, -, !, ~, ++, --            a) cannot be overloaded

ii) ==, !=, <, >, <=, >=    b) cannot be overloaded directly

iii) &&, ||                         c) take one operand and can be overloaded

iv) =, ., ? :, ->                  d) can be overload

A) i-d, ii-c, iii-a, iv-b

B) i-b, ii-c, iii-a, iv-d

C) i-c, ii-d, iii-b, iv-a

D) i-a, ii-c, iii-d, iv-b


6. Match the following preprocessor directives in C# with their description?

i) #elif                      a) specifies the end of conditional directive

ii) #endif                   b) allows to undefine a symbol.

iii) #undef                  c) allows creating compound conditional directive

A) i-b, ii-c, iii-a

B) i-b, ii-c, iii-a

C) i-c, ii-a, iii-b

D) i-a, ii-c, iii-b


7. The operator symbols can be used for the conditional directives in C# is/are.

i) = = (equality)         ii) ! = (inequality)            iii) && (and)

iv) || (or)                   v) >= (grater than or equal to)

A) i, ii  iii and iv only

B) i, iii and iv only

C) i, ii, iii and v only

D) All i, ii, iii, iv and v


8. Conditional directives are beginning with a ...................... directive and must be terminated with ....................... directive and must be terminated with .............. directive.

A) #if, #endif

B) #start, #end

C) #elif, #endelif

D) Both A and B


9. The keywords provided by C# for exception handling are.

i) try             ii) catch             iii) finally             iv) tryif             v) throw

A) i, ii and iii and iv only

B) ii, iii and iv and v only

C) i, ii and iii and v only

D) All i, ii, iii and iv


10. The ................... block is used to execute a given set of statement, whether the exception is thrown or not.

A) try

B) tryif

C) finally

D) throw


Answers:

1.   B) enum <enum_name> {enum list};
2.   A) i- True, ii- False, iii-True
3.   B) i and iii only
4.   C) Operator
5.   C) i-c, ii-d, iii-b, iv-a
6.   C) i-c, ii-a, iii-b
7.   A) i, ii and iii and iv only
8.   A) #if, #endif
9.   C) i, ii and iii and v only
10. C) finally


You Might also view the following Related Posts

الثلاثاء، 13 أغسطس 2013

C# MCQs
Objective Questions in C#

1. In C# variables are categorized into ..........

i) Value types          ii) Reference types              iii) initial types             iv) pointer types

A) i, ii and iii only

B) ii, iii and iv only

C) i, ii and iv only

D) All i, ii, iii and iv


2. Value type variables can be assigned a value directly which are derived from the class

A) System.value

B) System.ValueType

C) General.ValueType

D) Variable.ValueType


3. The various data types used in C# are

i) Integral Type           ii) Floating point types

iii) Boolean types       iv) Nullable types

A) i, ii and iii only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv


4. The built-in operators that are provided by C# programming language are...

i) Arithmetic operators          ii) Logical operators

iii) Bitwise operators             iv) Assignment operators

A) i, ii and iii only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv


5. Match the different Bitwise operators supported by C# with their descriptions.

i) &                   a) Binary Left Shift Operator

ii) ^                   b) Binary Right Shift Operator

iii) <<               c) Binary XOR operator

iv) >>               d) Binary AND operator

A) i-d, ii-c, iii-a, iv-b

B) i-b, ii-c, iii-a, iv-d

C) i-c, ii-a, iii-b, iv-d

D) i-a, ii-c, iii-d, iv-b



6. What will be the value of the following expression if x=10?

A) 25

B) -5

C) 10

D) 15


7. While passing parameter to a method ................ copies the actual value of an argument into the formal parameter of the function.

A) Output Parameter

B) Value Parameter

C) Reference Parameter

D) Initial Parameter


8. In C# methods can be defined by using which of the following syntex?

A) <Method Name> (parameter list) { Method body }

B) <Method Name> <Return Type> <Access Specifier> (parameter list) { Method body }

C) <Return Type> <Method Name> <Access Specifier> (parameter list) { Method body }

D) None of the above


9. Which of the following are the methods to assign values to an array?

i) double [ ] score = {234.0, 214.5, 572.0};

ii) int [ ] marks = new int [3] {33, 45, 67};

iii) int [ ] marks = new int [ ] {33, 45, 67};

A) i and ii only

B) ii and iii only

C) i and iii only

D) All i, ii, iii


10. State whether the following statements are True or False.

i) Unlike classes, structures cannot inherit other structures or classes.

ii) A structure can implement one or more interfaces.

iii) Structure members can be specified as abstract, virtual or protected.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True


Answers:

1.   C) i, ii and iv only
2.   B) System.ValueType
3.   D) All i, ii, iii and iv
4.   D) All i, ii, iii and iv
5.   A) i-d, ii-c, iii-a, iv-b
6.   A) 25
7.   B) Value Parameter
8.   A)<Access Specifier><Return Type> <Method Name> (parameter list) {Method body}
9.   D) All i, ii, iii
10. C) i-True, ii-True, iii-False


You Might also view the following Related Posts

Objective Questions of C# with Answer set-2

Posted at  12:30 ص - by mego almasry 0

C# MCQs
Objective Questions in C#

1. In C# variables are categorized into ..........

i) Value types          ii) Reference types              iii) initial types             iv) pointer types

A) i, ii and iii only

B) ii, iii and iv only

C) i, ii and iv only

D) All i, ii, iii and iv


2. Value type variables can be assigned a value directly which are derived from the class

A) System.value

B) System.ValueType

C) General.ValueType

D) Variable.ValueType


3. The various data types used in C# are

i) Integral Type           ii) Floating point types

iii) Boolean types       iv) Nullable types

A) i, ii and iii only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv


4. The built-in operators that are provided by C# programming language are...

i) Arithmetic operators          ii) Logical operators

iii) Bitwise operators             iv) Assignment operators

A) i, ii and iii only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv


5. Match the different Bitwise operators supported by C# with their descriptions.

i) &                   a) Binary Left Shift Operator

ii) ^                   b) Binary Right Shift Operator

iii) <<               c) Binary XOR operator

iv) >>               d) Binary AND operator

A) i-d, ii-c, iii-a, iv-b

B) i-b, ii-c, iii-a, iv-d

C) i-c, ii-a, iii-b, iv-d

D) i-a, ii-c, iii-d, iv-b



6. What will be the value of the following expression if x=10?

A) 25

B) -5

C) 10

D) 15


7. While passing parameter to a method ................ copies the actual value of an argument into the formal parameter of the function.

A) Output Parameter

B) Value Parameter

C) Reference Parameter

D) Initial Parameter


8. In C# methods can be defined by using which of the following syntex?

A) <Method Name> (parameter list) { Method body }

B) <Method Name> <Return Type> <Access Specifier> (parameter list) { Method body }

C) <Return Type> <Method Name> <Access Specifier> (parameter list) { Method body }

D) None of the above


9. Which of the following are the methods to assign values to an array?

i) double [ ] score = {234.0, 214.5, 572.0};

ii) int [ ] marks = new int [3] {33, 45, 67};

iii) int [ ] marks = new int [ ] {33, 45, 67};

A) i and ii only

B) ii and iii only

C) i and iii only

D) All i, ii, iii


10. State whether the following statements are True or False.

i) Unlike classes, structures cannot inherit other structures or classes.

ii) A structure can implement one or more interfaces.

iii) Structure members can be specified as abstract, virtual or protected.

A) i- True, ii- False, iii-True

B) i- False, ii- True, iii-True

C) i-True, ii-True, iii-False

D) i- False, ii- False, iii-True


Answers:

1.   C) i, ii and iv only
2.   B) System.ValueType
3.   D) All i, ii, iii and iv
4.   D) All i, ii, iii and iv
5.   A) i-d, ii-c, iii-a, iv-b
6.   A) 25
7.   B) Value Parameter
8.   A)<Access Specifier><Return Type> <Method Name> (parameter list) {Method body}
9.   D) All i, ii, iii
10. C) i-True, ii-True, iii-False


You Might also view the following Related Posts

الاثنين، 12 أغسطس 2013


1. Which of the following is not the component of .Net framework?

A) Common Language Run time(CLR)

B) .Net Framework Library.

C) Component Network

D) Windows Workflow Foundation (WF)


2. Following is/are the Integrated Development Environment (IDE) for C#.

A) Visual Studio 2010 (VS)

B) Visual Web Developer

C) Both A and B
Visual overview of the Common CLR Language Inf...
Visual overview of the Common CLR Language Infrastructure, and how the components relate to each other. Converted to SVG from PNG version, originally by Foofy from English Wikipedia. (Photo credit: Wikipedia)

D) Only A


3. A C# program may consist of the following parts.

i) Namespace declaration

ii) Class methods

iii) A main method

iv) Statement & Expressions

A) i, ii and iii only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv


4. State True or False for naming class in C#.

i) The class name can be a C# keyword.

ii) A name must begin with a letter, can be followed by letters, digits and underscore.

A) i- True, ii- False

B) i- False, ii- True

C) i-True, ii-True

D) i- False, ii- False


5. ...................... is a name which can be used to identify a class, variable, function etc.

A) Keyword

B) Reference

C) Identifier

D) Object


6. .................... conversions are performed by C# compiler itself and ..................... conversions are performed by users by using predefined functions.

A) Implicit type, Explicit type

B) Explicit type, Implicit type

C) External type, Internal type

D) Internal type, External type


7. A variable can be declared by using which of the following syntax?

A) <variable_list> <data_type>;

B) <variable_list>, <data_type>

C) <data_type> <variable_list>

D) <data_type> <variable_list>;


8. Match the following.

i) *                  a) returns the address of an variable

ii) ? :                b) point to variable

iii) &                c) conditional expression

A) i-a, ii-b, iii-c

B) i-b, ii-c, iii-a

C) i-c, ii-a, iii-b

D) i-a, ii-c, iii-b


9. C# supports the following types of access specifiers.

i) public ii) friend iii) private iv) protected v) internal

A) i, ii, iii and iv only

B) i, iii, iv and v only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v


10. ........................ access specifier allows a class to expose it's member variables and member functions to other functions and objects in the current application.

A) Internal

B) Protected

C) Private

D) Public


Answers:

1.  C) Component Network
2.  C) Both A and B
3.  D) All i, ii, iii  and iv
4.  B) i- False, ii- True
5.  C) Identifier
6.  A) Implicit type, Explicit type
7.  D) <data_type> <variable_list>;
8.  B) i-b, ii-c, iii-a
9.   B) i, iii, iv and v only
10. A) Internal


You Might also view the following Related Posts

Solved Objective Questions of C# set-1

Posted at  6:55 ص - by mego almasry 0


1. Which of the following is not the component of .Net framework?

A) Common Language Run time(CLR)

B) .Net Framework Library.

C) Component Network

D) Windows Workflow Foundation (WF)


2. Following is/are the Integrated Development Environment (IDE) for C#.

A) Visual Studio 2010 (VS)

B) Visual Web Developer

C) Both A and B
Visual overview of the Common CLR Language Inf...
Visual overview of the Common CLR Language Infrastructure, and how the components relate to each other. Converted to SVG from PNG version, originally by Foofy from English Wikipedia. (Photo credit: Wikipedia)

D) Only A


3. A C# program may consist of the following parts.

i) Namespace declaration

ii) Class methods

iii) A main method

iv) Statement & Expressions

A) i, ii and iii only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv


4. State True or False for naming class in C#.

i) The class name can be a C# keyword.

ii) A name must begin with a letter, can be followed by letters, digits and underscore.

A) i- True, ii- False

B) i- False, ii- True

C) i-True, ii-True

D) i- False, ii- False


5. ...................... is a name which can be used to identify a class, variable, function etc.

A) Keyword

B) Reference

C) Identifier

D) Object


6. .................... conversions are performed by C# compiler itself and ..................... conversions are performed by users by using predefined functions.

A) Implicit type, Explicit type

B) Explicit type, Implicit type

C) External type, Internal type

D) Internal type, External type


7. A variable can be declared by using which of the following syntax?

A) <variable_list> <data_type>;

B) <variable_list>, <data_type>

C) <data_type> <variable_list>

D) <data_type> <variable_list>;


8. Match the following.

i) *                  a) returns the address of an variable

ii) ? :                b) point to variable

iii) &                c) conditional expression

A) i-a, ii-b, iii-c

B) i-b, ii-c, iii-a

C) i-c, ii-a, iii-b

D) i-a, ii-c, iii-b


9. C# supports the following types of access specifiers.

i) public ii) friend iii) private iv) protected v) internal

A) i, ii, iii and iv only

B) i, iii, iv and v only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v


10. ........................ access specifier allows a class to expose it's member variables and member functions to other functions and objects in the current application.

A) Internal

B) Protected

C) Private

D) Public


Answers:

1.  C) Component Network
2.  C) Both A and B
3.  D) All i, ii, iii  and iv
4.  B) i- False, ii- True
5.  C) Identifier
6.  A) Implicit type, Explicit type
7.  D) <data_type> <variable_list>;
8.  B) i-b, ii-c, iii-a
9.   B) i, iii, iv and v only
10. A) Internal


You Might also view the following Related Posts

Copyright © 2013 hello1. by Bloggertheme9 Powered by Blogger.
WP Theme-junkie converted by Blogger template