Research Methodology MCQ : Introduction to Research : Link1

Research Methodology MCQ : Introduction to Research : Link1

Introduction to Research MCQ & Answers

       Are you worried about the answers to Introduction to Research :Definition of research , Characteristics of research questions? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Research Methodology MCQ will helpful to the advance and can learn the various types of questions and answers.

Q.1. In the list of statements given below which of them offer a suitable definition of research? Give your answer by selecting from the code.
1) Research means a repeated search.
2) Research is basically an answer to a question.
3) Research provides an authentic solution to a problem.
4) Research is an endeavour to prove one's hypothesis.
5) Research is a meaning-giving process.
6) Research means drawing a sample from a defined population.

A. 1, 2 and 3
B. 2, 3 and 6
C. 1, 4 and 6
D. 2, 3 and 5

Q.2. Meaning of Research is -------.

A. Adoption of 'Scientific Method' for creation and application of knowledge
B. Adoption of critical and constructive thinking for solution of problems
C. Arriving at generalisations based on observed data
D. Search for universal truths of life

Q.3. Which of the following statements best reflect the meaning and characteristics of research?
1. Research means challenging the status quo.
2. Research is an endeavor to collect facts and information.
3. Research is a synthesis of deductive and inductive processes.
4. Research means proving one’s assertions and beliefs.
5. Research is a careful review of reported studies.
6. Research is a critical and passionate search for knowledge.

A. 1, 2 and 3
B. 2, 4 and 5
C. 1, 5 and 6
D. 1, 3 and 6

Q.4. One of the main aims of science is ---------.

A. Post diction
B. Persuasion
C. Prediction
D. Assertion

Q.5. The best meaning of Research is -------.

A. Adoption of ‘Scientific Method’ for creation and application of knowledge                                                                 B. Adoption of critical and constructive thinking for solution of problems
C. Arriving at generalisations based on observed data                                                                         D. Search for universal truths of life

Q.6. Which one of the following statements is not correct?

A. Any person can do research.                                                                 B. Research may be without a hypothesis.
C. Research requires library facilities                                                                       D. Research is not always systematic

Q.7. In the list of statements given below which of them offer a suitable definition of research? Give your answer by selecting from the code.
1) Research means a repeated search.
2) Research is basically an answer to a question.
3) Research provides an authentic solution to a problem.
4) Research is an endeavour to prove one's hypothesis.
5) Research is a meaning-giving process.
6) Research means drawing a sample from a defined population.

A. 1, 2 and 3                                                        B. 2, 3 and 6
C. 1, 4 and 6                                D. 2, 3 and 5

Q.8. Research refers to ----------.

A. Routine activity                                                               B. Annual activity
C. Occasional activity                                                                 D. Fact finding activity

Q.9. Which of the following statements best reflect the meaning and characteristics of research?
(1) Research means challenging the status quo.
(2) Research is an endeavor to collect facts and information.
(3) Research is a synthesis of deductive and inductive processes.
(4) Research means proving one’s assertions and beliefs.
(5) Research is a careful review of reported studies.
(6) Research is a critical and passionate search for knowledge.

A. (1), (2) and (3)                                         B. (2), (4) and (5)
C. (1), (5) and (6)                                            D. (1), (3) and (5)

Q.10. Research is a ---------.

A. Searching again and again                              B. Finding solution to any problem
C. Working in a scientific way to search for truth of any problem                       D. None of the above

Relational Database Management System MCQ : Relational Database Design - Views : Link4

RDBMS MCQ : Relational DB Design - Views : Link4

RDBMS MCQ & Answers

       Are you worried about the answers to Relational Database Management System questions-Relational Database Design : Views problems? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Relational Database Management System MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. Which one is not applicable while querying on a view?

A. From
B. SELECT
C. Order By
D. Where

Q.2. Refer below query which leads to create a view named employee.
CREATE worker VIEW
AS
SELECT nothing
FROM dbo.Employee
WHERE ID < 100
Which of the following statement is true about the above view.

A. Above query is correct.
B. View name must be after keyword view and ‘nothing’ is not a keyword , so should be replaced with *.
C. Replace nothing with view name.
D. Replace nothing with column names.

Q.3. How can you drop more than one View in single command?

A. Drop viewname1 + viewname2 + viewname(n);
B. Drop viewname1; Drop viewname2; Drop viewname(n);
C. Drop viewname1; viewname2; viewname(n);
D. Drop viewname1, viewname2,viewname(n);

Q.4. Which of the following statements is true about views

A. View never references actual table for which it is created.
B. View can’t use JOIN in it’s query.
C. The performance of the view degrades if they are based on other views.
D. Only option to safeguard data integrity.

Q.5. What is a view?

A. A view is a special stored procedure executed when certain event occurs
B. A view is a virtual table which results of executing a pre-compiled query
C. A view is a database diagram
D. None of the Mentioned

Q.6. Which of the following is not a limitation of view?

A. ORDER BY Does Not Work
B. Index Created on View Used Often
C. Cross Database Queries Not Allowed in Indexed View
D. Adding Column is Expensive by Joining Table Outside View

Q.7. Views are also called as ----------.

A. Complex tables                              B. Simple tables
C. Virtual tables                                            D. Actual Tables

Q.8. Syntax for creating views is -------

A. CREATE VIEW view_name AS SELECT
B. CREATE VIEW view_name AS UPDATE
C. CREATE VIEW AS UPDATE
D. DROP VIEW view_name AS SELECT

Q.9. Delete a view using ------ command.

A. DROP VIEW
B. REMOVE VIEW
C. TRUNCATE VIEW
D. DELETE VIEW

Q.10. What is SCHEMABINDING VIEW?

A. Schema binding binds your views to the dependent physical columns of the accessed tables specified in the contents of the view
B. These are stored only in the Master database
C. These types of view are defined by users on a specified schema
D. These are used to show database self describing information

Relational Database Management System MCQ : Relational Database Design - Controlling the program flow : Link3

RDBMS MCQ : Relational DB Design - Controlling the program flow, conditional statements, loops : Link3

RDBMS MCQ & Answers

       Are you worried about the answers to Relational Database Management System questions-Relational Database Design : Controlling the program flow, conditional statements, loops problems? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Relational Database Management System MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. Which of the following is not true about labeling PL/SQL loops?

A. PL/SQL loops can be labeled.
B. The label should be enclosed by angle brackets (< and >).
C. The label name appears at the beginning of the LOOP statement.
D. The label name can also appear at the end of the LOOP statement or with an EXIT statement.

Q.2. What is the initial value of index for a reverse for loop?

A. UPPER bound
B. Lower bound
C. 1
D. Upper bound-Lower bound/2

Q.3. Which of the following is not true about PL/SQL decision making structures?

A. The IF statement associates a condition with a sequence of statements enclosed by THEN and END IF.
B. The IF statement also adds the keyword ELSE followed by an alternative sequence of statement.
C. The IF-THEN-ELSIF statement allows you to choose between several alternatives.
D. PL/SQL does not have a CASE statement.

Q.4. Which of the following statements can be used to terminate a PL/SQL loop?

A. GOTO                                                                           B. EXIT WHEN
C. KILL                                                                                 D. CONTINUE WHEN

Q.5. Which of the following is equivalent to multiple IF-ELSIF statements?

A. LOOP statement
B. FOR statement
C. CASE statement
D. WHILE statement

Q.6. How many ELSE clauses can an IF statement have?

A. 0 or 1
B. Always 1
C. 1 or 2
D. 1 to 10

Q.7. For which Exception, if a SELECT statement attempts to retrieve data based on its conditions, this exception is raised when no rows satisfy the SELECT criteria?

A. TOO_MANY_ROWS                              B. NO_DATA_FOUND
C. VALUE_ERROR                                            D. DUP_VAL_ON_INDEX

Q.8. Which of the following is true about PL/SQL program?

A. PL/SQL programs can exist with or without any SQL statements.
B. PL/SQL programs can exist only with any SQL statements.
C. PL/SQLprograms can exist only without any SQL statements.
D. SQL programs can exist only with PL/SQL statements.

Q.9. How many parts of a PL/SQL block are optional?

A. 1
B. 2
C. 3
D. 0

Q.10. What is an anonymous block in PL/SQL?

A. A PL/SQL unit without decalarationA
B. PL/SQL unit without a body to execute
C. A PL/SQL unit without an exception handler
D. A PL/SQL unit without a name

Q.11. How does an execution block start and end in PL/SQL?

A. Starts with START and ends with END
B. Starts with BEGIN and ends with END
C. Starts with START and ends with ; (semi colon)
D. Starts with BEGIN and ends with ; (semi colon)

Q.12. How can a PL/SQL block be executed?

A. By using a semi colon at the end.
B. By using a colon at the end.
C. By using a slash (/)at the end.
D. By pressing "Enter"

Q.13. Which command should be used to turn on the output of PL/SQL commands in SQL*Plus?

A. set serveroutput on                                     B. showserveroutput on
C. set output on                                    D. set PL/SQL on

Q.14. What is a package in PL/SQL?

A. A package is a named PL/SQL unit stored in the database to perform action based on an event.
B. A package is an anonymous block in PL/SQL.
C. A package is a schema object that groups logically related PL/SQL objects.
D. A package is a subprogram in the database.

Q.15. What are composite variables in PL/SQL?

A. Variables having internal components                                     B. Native datatypes
C. Scalar variables                                               D. User defined datatypes

Relational Database Management System MCQ : PL/PgSqL: Datatypes, Language structure : Link2

Relational Database Management System MCQ : Relational Database Design - PL/PgSqL: Datatypes, Language structure : Link2

RDBMS MCQ & Answers

       Are you worried about the answers to Relational Database Management System questions-Relational Database Design : PL/PgSqL: Datatypes, Language structure? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Relational Database Management System MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. Which of the following is true about scalar data types in PL/SQL?

A. They hold single values with no internal components.
B. Examples of scalar data types are NUMBER, DATE, or BOOLEAN.
C. PL/SQL provides subtypes of data types.
D. All of the above

Q.2.Which of the following is not true about PL/SQL constants and literals?

A. A constant holds a value that once declared, does not change in the program.
B. The CONSTANT declaration cannot impose the NOT NULL constraint.
C. A constant is declared using the CONSTANT keyword.
D. A CONSTANT declaration requires an initial value.

Q.3. What value will be assigned to the variable declared as − counter binary_integer;

A. 0                                                                                 B. 1
C. NULL                                                                                  D. None of the above

Q.4. Which of the following is explicit numeric, string, or BOOLEAN value not represented identifier?

A. Delimiters                                                                           B. Literals
C. Comments                                                                                 D. None of the above

Q.5. Which of the following is not true about large object data types and in PL/SQL?

A. BFILE is used to store large binary objects in operating system files outside the database.
B. BLOB is used to store character data in the database.
C. CLOB is used to store large blocks of character data in the database.
D. NCLOB is used to store large blocks of NCHAR data in the database.

Q.6. Which of the following is true about comments in PL/SQL?

A. Comments are explanatory statements.
B. The PL/SQL single-line comments start with the delimiter — (double hyphen)
C. Multi-line comments are enclosed by /* and */.
D. All of the above.

Q.7. Which is a simple or compound symbol that has a special meaning to PL/SQL?

A. Delimiters                              B. Identifiers
C. Literals                                            D. Comments

Q.8. PL/SQL is a procedural language that has which of the following advantages?

A. Integration with database                                                             B. Better Performance
C. Portability                                                             D. All of the above

Q.9. Which data type supports only sequential access of objects?

A. LONG
B. LOB
C. Both A & B
D. None of the above

Q.10. Is it possible to define a CONSTANT value in a record?

A. Yes                                                                                       B. No
C. Depends upon                                                                                       D. None of the above

Q.11. Which datatypes can be used with a RECORD Type?

A. NUMBER,VARCHAR2                                B. %TYPE OR %ROWTYPE
C. BOTH A & B                                           D. REF,CURSOR

Q.12. Which of the following is used to declare a record?

A. %ROWTYPE
B. %TYPE
C. Both A & B
D. None of the above.

Q.13. Which keyword is used instead of the assignment operator to initialize variables?

A. NOT NULL                                     B. DEFAULT
C. %TYPE                                    D. %ROWTYPE

Q.14. What is the advantage of using the %ROWTYPE datatype?

A. It is useful to retrieve an entire row from a table. If you do not use the %ROWTYPE datatype, then you have to declare variables for each column separately.
B. It can be used even if data type of the table columns is not known.
C. It ensures that data type of the variable changes dynamically if the underlying table is altered.
D. All of the above

Q.15. The LOB objects can be stored in-line or out-of-line. The in-line storage means that objects are stored-------

A. Along with the row                                     B. Outside the row
C. Both A & B                                               D. None of the above

Software Engineering MCQ : System Concept Decision Support System : Link3

Software Engineering MCQ : System Concept Decision Support System : Link3

Software Engineering MCQ & Answers

       Are you worried about the answers to Software Engineering questions :System Concept-Types of Systems : Physical & Abstract Systems, Open & Closed Systems, Computer-based Systems (MIS : Management Information System & DSS : Decision Support System)? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Software Engineering MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. DSS is most widely used in the ------, analysis in an organization.

A. Planning
B. Support
C. System maintenance
D. All of the above

Q.2. A decision support system differs from an ordinary ------.

A. Operating System
B. Operational Application
C. Transaction Process System
D. None of the above

Q.3. A ------ can integrate all multiple variables and produces an outcome.

A. ESS
B. DSS
C. TPS
D. All of the above

Q.4. Which of the following is / are some of the main areas of operation of DSS.

A. Transaction processing
B. Production, finance, and marketing
C. Executive Support System
D. None of the above

Q.5. Which of the following is a good characteristic of a DSS?

A. It has an increment model                                                                 B. Responds quickly to decision makers to help in decision making
C. Automates decision making process                                                                         D. None of the above

Q.6. Which of the following is / are the components of a Decision Support System.

A. Knowledge Base                                                                 B. Model Management System
C. User Interface                                                                       D. All of the above

Q.7. The ___ includes tools that help the end-user of a DSS to navigate through the system.

A. User Interface                                                        B. Transaction Process System
C. Executive Support System                                D. None of the above

Q.8. Database is just like a container which stores data in a ------- manner.

A. Organized                                                               B. Systematic
C. Ordered                                                                 D. All of the above

Q.9. ------ allows companies to support tasks that require more than one person to work on the task.

A. Model Driven DSS                                         B. A Communication-driven DSS
C. Knowledge Driven DSS                                            D. All of the above

Q.10. ------- allows access to and the management of financial, organizational, and statistical models.

A. Knowledge Driven DSS                              B. A Communication-driven DSS
C. Model Driven DSS                       D. All of the above

Q.11. ------- DSS supports companies to store and analyze internal and external data.

A. Model-driven                                                           B. Data Driven DSS
C. Communication-driven                                                       D. All of the above

Q.12. Which amongst the followings are true with reference to DSS?

A. A DSS increases the speed and efficiency of decision-making activities
B. It automates managerial processes
C. It improves interpersonal communication within the organization
D. All of the above

Q.13. Which of the following is a limitation of a DSS?

A. It is a costly system, which makes less accessible to smaller companies
B. It is an efficient system for large organizations
C. Implementation of a DSS requires large capital amount
D. None of the above

Q.14.A DSS gathers and analyzes data, produce it to create comprehensive information -------.

A. Documents
B. Reports
C. Sheets
D. Papers

Q.15. Decision support system involves analytical modeling activities except-------.

A. Heuristics
B. What-if analysis
C. Optimization analysis
D. None of the above

Software Engineering MCQ : System Concept Types of Systems : Link2

Software Engineering MCQ : System Concept Types of Systems : Link2

Software Engineering MCQ & Answers

       Are you worried about the answers to Software Engineering questions :System Concept-Types of Systems : Physical & Abstract Systems, Open & Closed Systems, Computer-based Systems (MIS : Management Information System & DSS : Decision Support System)? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Software Engineering MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. What is Open System?

A. To describe a state of being
B. To describe a system that is open to inclusion of many products from many resources
C. All of the above
D. None of the above

Q.2. The benefits of open systems ----------

A. Reduced reliance on proprietary products
B. More competition leading to lower cost
C. Better tested products
D. All of the above

Q.3. Which of the following is Open-Closed principle?

A. Open to modification, Close to extension
B. Open to modification
C. Close to modification
D. Open to extension, Close to modification

Q.4. closed system is one in which -------.

A. mass does not cross boundaries of the system, though energy may do so
B. mass crosses the boundary but not the energy
c. neither mass nor energy crosses the boundaries of the system
D. both energy and mass cross the boundaries of the system

Q.5. Information systems that monitor the elementary activities and transactions of the organizations are------.

A. Management level system                                                                 B. Operational level system
C. Knowledge level system                                                                         D. Strategic level system

Q.6. Projections and responses to queries are Information output characteristics associated with -------.

A. Decision Support System (DSS)                                                                 B. Management Information System (MIS)
C. Executive Support System (ESS)                                                                       D. Transaction Processing System (TPS)

Q.7. Summary transaction data, high-volume data, and simple models are information inputs characteristic of -------.

A. Decision Support System (DSS)                                                        B. Management Information System (MIS)
C. Executive Support System (ESS)                                D. Transaction Processing System (TPS)

Q.8. Which of the following individuals typically have less formal, advanced educational degrees and tend to process rather than create information?

A. Knowledge workers                                                               B. Executives
C. System analysts                                                                 D. Data workers

Q.9. In MIS ------ plays economically sound and logically in development process.

A. information                                         B. data
C. statements                                             D. data flow

Q.10. Assembling a product, identifying customers and hiring employees are -------.

A. Transactions                               B. Phases
C. Business Processes                       D. Business Functions

Q.11. ----- type of system is essential for applying boundaries of the problem.

A. Super                                                           B. Sub
C. Economic                                                       D. Adaptive

Q.12. Materials into intermediate and finished products, and distributing the finished products to customers is ---------.

A. Production Chain                                                          B. Primary Chain
C. Supply Chain                                                         D. Distribution chain

Q.13. What are the characteristics of software?

A. Software is developed or engineered; it is not manufactured in the classical sense.
B. Software can be custom built or custom build.
C. Software doesn’t wear out.
D. All of the above.

Q.14.A ------ is a computer application used to support determinations, decisions, and courses of action in an organization or a business.

A. Decision Support System (DSS)
B. Transaction Process System
C. Executive Support System
D. None of the above.

Q.15. A Decision Support System (DSS) is an application for information systems that helps in --------

A. System Design
B. System Analysis
C. Decision making
D. All of the above

php programming language MCQ : Arrays-Converting between arrays and variables Link4

php programming language MCQ : Arrays-Converting between arrays and variables Link4

Arrays MCQ

       Are you worried about the answers to PHP programming-Arrays-Identifying elements of an array, Storing data in arrays, Multidimensional arrays, Extracting multiple values, Converting between arrays and variables, Traversing arrays, Sorting questions? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Arrays MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. For getting rid of an assigned variable in an array which function is used?

A. delete_array ( )                                                              B. reset_array
C. reset ( )                                                       D. unset ( )

Q.2. Foreach ( ), current ( ), next ( ), reset ( ), each ( ) and array_walk ( ) all these functions are example of---------

A. Searching arrays                                                              B. Creating arrays
C. Iteration of arrays                                                       D. Deleting of arrays

Q.3. A function that takes two integers as arguments and returns an array filled with all integers between them, is known as-------.

A. Range ( ) function B. Value ( ) function
C. Limit ( ) function
D. None of the above

Q.4. Next ( ) function returns value after the -----.

A. pointer is reversed
B. pointer is moved
C. array is empty
D. None of the above

Q.5. $multi_array [1] [2] [3] [4] = "I am working on PHP"; will create ------.

A. One dimensional array
B. 5 dimensional array
C. 4 dimensional array
D. None of the above

Q.6. In vector arrays, the elements must have -----------.

A. Same size
B. Same type
C. Different size
D. Different type

Q.7. Other than index values an array can be retrieved by a function that is called as -------.

A. Retrieve ( ) function
B. Array_retrive ( ) function
C. list ( ) function
D. Array_call ( ) function

Q.8. Three ways to create an array is Direct assignment, array ( ) construct and ---------.

A. Functions returning arrays
B. Functions creating arrays
C. Keys creating arrays
D. None of the above

Q.9. What will be the output of the following PHP code?

 <?php \\
\$a=array("A","Cat","Dog","A","Dog"); \\
\$b=array("A","A","Cat","A","Tiger"); \\
\$c=array\_combine(\$a,\$b);\\
print\_r(array\_count\_values(\$c)); \\
?>

A. Array ( [A] => 5 [Cat] => 2 [Dog] => 2 [Tiger] => 1 )
B. Array ( [A] => 2 [Cat] => 2 [Dog] => 1 [Tiger] => 1 )
C. Array ( [A] => 6 [Cat] => 1 [Dog] => 2 [Tiger] => 1 )
D. Array ( [A] => 2 [Cat] => 1 [Dog] => 4 [Tiger] => 1 )

Q.10. What will be the output of the following PHP code?

 <?php \\
\$a1 = array("a" => "red", "b" => "green", "c" => "blue", "d" => "yellow"); \\
\$a2 = array("e" => "red", "f" => "green", "g" => "blue", "h" => "orange"); \\
\$a3 = array("i" => "orange"); \\
\$a4 = array\_combine(\$a2, \$a3); \\ 
\$result = array\_diff(\$a4, \$a2);  \\
print\_r(\$result); \\
?>

A. Array ( [i] => orange )                                                                  B. Array ( [d] => yellow )
C. Array ( [h] => orange )                                                    D. Array ( [d] => yellow [h] => orange )

php programming language MCQ : Arrays -Sorting Link3

Php programming language MCQ : Arrays: Link3

Arrays MCQ

       Are you worried about the answers to PHP programming-Arrays-Identifying elements of an array, Storing data in arrays, Multidimensional arrays, Extracting multiple values, Converting between arrays and variables, Traversing arrays, Sorting questions? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Arrays MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. PHP arrays are also called as--------

A. Vector arrays                                                              B. Perl arrays
C. Hashesfunction                                                       D. All of the above

Q.2. When we simply want iteration through looping an array values we can use---------

A. current ( )                                                              B. foreach ( )
C. next ( ) function                                                       D. None of the above

Q.3. count ( ) function is identical to -------.

A. is_array ( ) function B. in_array ( ) function
C. sizeof ( )
D. None of the above

Q.4. Is_array ( ) function that takes a single argument of any type and returns a true value if -----.

A. Argument is an array
B. Argument is number type
C. Argument is character type
D. None of the above

Q.5.An array is a collection of------.

A. Strings
B. Indexed variables
C. Characters
D. Functions

Q.6. Which function take two arguments and returns true if element contained as a value of an array?

A. is_array ( ) function
B. in_array ( ) function
C. count ( ) function
D. isset ( ) function

Q.7. There are how many ways to create an array in PHP script

A. 1
B. 2
C. 3
D. 4

Q.8. For purpose of iteration Foreach is a ---------.

A. Function
B. language construct
C. Both A and B
D. loop

Q.9. User defined functions or may be built-in functions that's make an array via methods internal to PHP is called as ------.

A. Assignment arrays
B. Construct arrays
C. Functions returning arrays
D. All of the above

Q.10. Unlike vector arrays of C and C++ PHP arrays can store ----------.

A. Same type of data                                                                                B. Varied types of data
C. Small amount of data                                                                             D. All of the above

php programming language MCQ : Arrays- multidimensional arrays Link2

Php programming language MCQ : Arrays: Link2

Arrays MCQ

       Are you worried about the answers to PHP programming-Arrays-Identifying elements of an array, Storing data in arrays, Multidimensional arrays, Extracting multiple values, Converting between arrays and variables, Traversing arrays, Sorting questions? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the Arrays MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. For finding nonempty elements in array we use--------

A. is_array ( ) function                                                              B. sizeof ( ) function
C. array_count ( ) function                                                       D. count ( ) function

Q.2. Pos ( ) function is an alias for---------

A. array_walk ( ) function                                                              B. each ( ) function
C. next ( ) function                                                       D. current ( ) function

Q.3. Indices of arrays can be either strings or numbers and they are denoted as-------.

A. $my_array {4}
B. $my_array [4]
C. $my_array| 4 |
D. None of the above

Q.4. To retrieve a value from an array we can use its -----.

A. Name
B. Location
C. Index
D. None of the above

Q.5. End ( ) function jumps pointer------.

A. To the last entry in the list
B. To the first entry in the list
C. To one step back
D. To one step forward

Q.6. To rewind pointer at beginning of list------ function is used.

A. rewind ( )
B. reset ( )
C. set ( )
D. None of the above

Q.7. Which function takes two arguments, an array to be traversed and name of a function to apply to each key/value pair?

A. array_walk ( ) function
B. each ( ) function
C. next ( ) function
D. end ( ) function

Q.8. Internal linked keys in an array can be retrievable by-----.

A. pointer ( ) function B. each ( ) function
C. key ( ) function
D. None of the above

Q.9. Current ( ) function is a -------array argument.

A. 2
B. 3
C. 1
D. None of the above

Q.10. Creating a new array from specification of its elements and associated keys, is known as----------.

 <?php \\
     \$fruits = array("apple", "orange", array ("pear", "mango"),
    "banana"); \\
    echo (count(\$fruits, 1));\\ 
?>

A. Direct assignment                                                                                B. Array ( ) construct
C. Specifying indices                                                                             D. All of the above