MCQsExam.com

Computer Science MCQs

Embarking on the vast digital realm, Computer Science is a journey of discovery. It delves into crafting intelligent systems, solving problems through software, and extends to the realm of Artificial Intelligence—teaching computers language understanding and image recognition. Beyond coding, it encompasses database management, utilizing extensive data sets, and ensuring technology serves us optimally.

Computer Scientists contribute to networks, safeguarding information, and enhancing user-friendliness in technology applications, from phone apps to websites. Upholding ethical standards, we prioritize fairness, safety, and privacy. As technology evolves, Computer Science evolves with it, continually enhancing our digital landscape. Join us on this exciting journey into the future of a better, more inclusive digital world! #ComputerScience #TechJourney #SimpleTechExplanation

Which HTML tag is used to define the structure of an HTML document, including the document's title and charset?
  1. A-<html>
  2. B-<head>
  3. C-<structure>
  4. D-<meta>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
What is the purpose of the HTML <meta> tag?
  1. A-To define a hyperlink
  2. B-To create a meta description
  3. C-To define metadata about the document
  4. D-To include external scripts
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
In HTML, which tag is used to create an unordered list?
  1. A-<ul>
  2. B-<ol>
  3. C-<li>
  4. D-<list>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which of the following tags is used to insert a line break without any extra space?
  1. A-<lb>
  2. B-<br>
  3. C-<newline>
  4. D-<break>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
What does the HTML element <br> represent?
  1. A-What does the HTML element <br> represent?
  2. B-Break
  3. C-Bullet
  4. D-Blockquote
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which attribute is used to define inline styles in HTML?
  1. A-style
  2. B-css
  3. C-design
  4. D-format
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
What is the purpose of the HTML <head> tag?
  1. A-To define the main content of the document
  2. B-To contain metadata about the document
  3. C-To create a heading in the document
  4. D-To specify the background color of the page
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which HTML tag is used to create a hyperlink?
  1. A-<link>
  2. B-<anchor>
  3. C-<a>
  4. D-<href>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
In HTML, comment line is as :
  1. A-// Comment Line
  2. B-/* Comment Line */
  3. C-– Comment Line —
  4. D-<!– Comment Line –>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which is responsible for Standardization of HTML:
  1. A-ICNA
  2. B-W3C
  3. C-IEEE
  4. D-Google
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
XHTML stands for:
  1. A-Extreme Hyper Text Markup Language
  2. B-Expire Hyper Text Markup Language
  3. C-Expert Hyper Text Markup Language
  4. D-Extensible Hyper Text Markup Language
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
To interpret the HTML code, and get a visual layout we need a:
  1. A-Turbo-C Compiler
  2. B-Any Text Editor
  3. C-Any Web-Browser
  4. D-Google’s V8 engine
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
………. is used to import an external style sheet in a manner similar to the <link> element.
  1. A-@insert
  2. B-@import
  3. C-#import
  4. D-#insert
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
We can handle old browsers by placing CSS codes inside.
  1. A-//……………….//
  2. B-<!………………>
  3. C-/*………………*/
  4. D-None of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
CSS comments are inserted inside .
  1. A-//……………….//
  2. B-<!………………>
  3. C-/*………………*/
  4. D-All of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
The correct example of class selector is .
  1. A-h2.type1 {color: #000000;}
  2. B-h2 type1 {color: #000000;}
  3. C-h2 #type1 {color: #000000;}
  4. D-#h2 type1 {color: #000000;}
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Which is not the selector type of CSS?
  1. A-Type selector
  2. B-Universal selector
  3. C-Local selector
  4. D-Descendant selector
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
 Choose the correct HTML tag for the largest heading
  1. A-<h6>
  2. B-<heading>
  3. C-<head>
  4. D-<h1>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
What does HTML stand for?
  1. A-Hyperlinks and Text Markup Language
  2. B-Home Tool Markup Language
  3. C-Hyper Text Markup Language
  4. D-None of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
What is a FTP program used for?
  1. A-Transferring files to and from an Internet server
  2. B-Designing a website
  3. C-Connecting to the internet
  4. D-None of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
While searching on the Internet, you decided to check in more than one search engine because —
  1. A-that will avoid false information
  2. B-that will avoid repetition of information
  3. C-each engine produces different results
  4. D-all Web users prefer this technique
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which domain must be present in the website address (URL) of a university library?
  1. A-.org (organization)    
  2. B-.gov (government)
  3. C-.edu (education)      
  4. D-.com (commercial)
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
To determine if a sports website has current information, you should check —
  1. A-how many other sites are listed
  2. B-the website address
  3. C-when the site was last updated
  4. D-how the site is organized
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
A keyword is the —
  1. A-main search word
  2. B-name of a search engine
  3. C-word used to get rid of results  
  4. D-style of the search word
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Which of the following is used to explore the Internet?
  1. A-Browser
  2. B-Spreadsheet
  3. C-Clipboard
  4. D-Draw
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Which would be the best keyword(s) for you to enter to search an electronic encyclopedia for information about the World Cup soccer tournament?
  1. A-Soccer
  2. B-Soccer tournament
  3. C-Sports
  4. D-World Cup soccer
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Height attribute specifies the height of which frame?
  1. A-iframe
  2. B-jframe
  3. C-inline frame
  4. D-outline frame
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Seamless is a __________ type of attribute.
  1. A-integer
  2. B-Char
  3. C-Boolean
  4. D-Float
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Which storage object is used for storing the data with no expiry date?
  1. A-Session storage
  2. B-local storage
  3. C-mass storage
  4. D-stack storage
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Canvas is able to draw the 2D graphics using—————-
  1. A-XML
  2. B-HTML
  3. C-Java script
  4. D-XHTML
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
_________ Function displays the latitude or Longitude in geoLocation in HTML5.
  1. A-showLocation()
  2. B-showPosition()
  3. C-both a and b
  4. D-showStatus()
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Where does web worker(s) script run?
  1. A-in forground
  2. B-in background
  3. C-both a and b
  4. D-can’t determinte
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Which file is used by the browser to fetch the appropriate data ?
  1. A-Text file
  2. B-HTML file
  3. C-XML file
  4. D-manifest file
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
The manifest file is __________.
  1. A-Text file
  2. B-HTML file
  3. C-XML file
  4. D-java file
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
________ property returns the url of current audio/video.
  1. A-currentSrc
  2. B-controls
  3. C-ended
  4. D-mediaGroup
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Terminate() method in HTML5 is used for ____________.
  1. A-terminate everything
  2. B-terminate all method
  3. C-terminate a web worker
  4. D-terminate program
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
<canvas> elements is only a _________ to the graphics.
  1. A-component
  2. B-container
  3. C-attribute
  4. D-method
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
For defining the possible link break which tag do we have to use HTML5?
  1. A-<video>
  2. B-<track>
  3. C-<summary>
  4. D-<wbr>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which element provides a secure way to authenticate the user?
  1. A-<keygen>
  2. B-<datalist>
  3. C-<output>
  4. D-<input>
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Target attribute is used for
  1. A-opening new document
  2. B-selecting previous document
  3. C-deleting frame
  4. D-none of above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
<output> element represent?
  1. A-Authenticate the user
  2. B-Result of a calculation
  3. C-Pre-defines value
  4. D-none of these
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
Which of the following term describes the art of making dynamic & interactive pages?
  1. A-DHTML
  2. B-HTML
  3. C-XHTML
  4. D-XML
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / HTML
  7. More about this MCQ
Which of the following is black-box oriented and can be accomplished by applying the same black-box methods discussed for conventional software?
  1. A-Conventional testing
  2. B-OO system validation testing
  3. C-Test case design
  4. D-Both Conventional testing and OO system validation testing
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
_____________ categorizes class operations based on the generic function that each performs.
  1. A-Category-based partitioning
  2. B-Attribute-based partitioning
  3. C-State-based partitioning
  4. D-None of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
What refers to the externally observable structure of an OO program?
  1. A-Deep structure
  2. B-Surface structure
  3. C-Core structure
  4. D-All of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
The object of ___________within an OO system is to design tests that have a high likelihood of uncovering plausible bugs.
  1. A-Fault-based testing
  2. B-Integration testing
  3. C-Use-based testing
  4. D-Scenario-based testing
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which of the following is a part of testing OO code?
  1. A-Validation tests
  2. B-Integration tests
  3. C-Class tests
  4. D-System tests
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
__________ methods can be used to drive validations tests?
  1. A-Yellow-box testing
  2. B-Black-box testing
  3. C-White-box testing
  4. D-All of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which of the following is one of the steps in the integration testing of OO software?
  1. A-cluster testing
  2. B-thread-based testing
  3. C-use-based testing
  4. D-none of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which testing integrates the set of classes required to respond to one input or event for the system?
  1. A-cluster testing
  2. B-thread-based testing
  3. C-use-based testing
  4. D-none of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
The construction of object-oriented software begins with the creation of
  1. A-design model
  2. B-analysis model
  3. C-code levels
  4. D-both design and analysis model
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
A make-buy decision is based on whether
  1. A-The software may be purchased off-the-shelf
  2. B-“Full-experience” or “Partial-experience” software components should be used
  3. C-Customer-built software should be developed
  4. D-All of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Who suggested the four different approaches to the sizing problem?
  1. A-Putnam
  2. B-Myers
  3. C-Boehm
  4. D-Putnam and Myers
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
How many forms exists of Barry Boehm’s COCOMO Model?
  1. A-Two
  2. B-Three
  3. C-Four
  4. D-No form exists
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
The expected value for the estimation variable (size), S, can be computed as a weighted average of the optimistic(Sopt), most likely (Sm), and pessimistic (Spess) estimates given as
  1. A-EV = (Sopt + 4Sm + Spess)/4
  2. B-EV = (Sopt + 4Sm + Spess)/6
  3. C-EV = (Sopt + 2Sm + Spess)/6
  4. D-EV = (Sopt + 2Sm + Spess)/4
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which software project sizing approach develops estimates of the information domain characteristics?
  1. A-Function point sizing
  2. B-Change sizing
  3. C-Standard component sizing
  4. D-Fuzzy logic sizing
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
If a Direct approach to software project sizing is taken, size can be measured in
  1. A-LOC
  2. B-FP
  3. C-OC and FP
  4. D-None of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Why is decomposition technique required?
  1. A-Software project estimation is a form of problem solving
  2. B-Developing a cost and effort estimate for a software project is too complex
  3. C-All of the mentioned
  4. D-None of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which of the following is a example of Configuration Items ?
  1. A-SCM procedures
  2. B-Source code
  3. C-Software design descriptions
  4. D-All of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
How are baselines verified?
  1. A-By reviews
  2. B-By inspections
  3. C-By testing of code
  4. D-All of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
What is one or more software configuration items that have been formally reviewed and agreed upon and serve as a basis for further development?
  1. A-Baseline
  2. B-Cumulative changes
  3. C-CM
  4. D-Change Control
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which of the following is not a change management process?
  1. A-Log the changes
  2. B-Estimate impact on effort and schedule
  3. C-Review impact with stakeholders
  4. D-None of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
What allows different projects to use the same source files at the same time?
  1. A-Version Control
  2. B-Access control
  3. C-CM Process
  4. D-Version Control and Access control
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
Which of the following is not a main phase in Configuration Management (CM) Process?
  1. A-CM Planning
  2. B-Executing the CM process
  3. C-CM audits
  4. D-None of the mentioned
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
When code is made available to others, it goes in a/an?
  1. A-hard drive
  2. B-access-controlled library
  3. C-servers
  4. D-access control
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
SCM stands for
  1. A-Software Control Management
  2. B-Software Configuration Management
  3. C-Software Concept Management
  4. D-None of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / Software Engineering
When do we use a HAVING clause?
  1. A-To limit the output of  a query
  2. B-To limit the output of a query using an aggregate function only
  3. C-When GROUP by is used
  4. D-Both a and c above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
A view is nothing but a _____________ table or a stored query.
  1. A-Dynamic
  2. B-Real
  3. C-Virtual
  4. D-Static
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
How do I find out all databases, starting with `test to which I have access to?
  1. A-SHOW DATABASES LIKE `%test%`;
  2. B-SHOW DATABASES LIKE `%test;
  3. C-SHOW DATABASES LIKE `’test’%’;
  4. D-SHOW DATABASES LIKE `%test%’;
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
USE keyword is used to select a ____
  1. A-Table
  2. B-Column
  3. C-Database
  4. D-All of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
Which of the following ways below are the correct way to get the current date?
  1. A-SELECT CURTIME();
  2. B-SELECT CURDATE();
  3. C-SLELCT CURRRENT_TIME()
  4. D-All of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
How can we get the number of records or rows in a table?
  1. A-Using COUNT
  2. B-Using NUM
  3. C-Using NUMBER
  4. D-Both a and c above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
What is a candidate key?
  1. A-Used to uniquely identify a row
  2. B-Alias for primary key
  3. C-Used to identify a column
  4. D-Alias for foreign key
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
On executing the DELETE command, if you get an error “foreign key constraint” – what does it imply?
  1. A-Foreign key not defined
  2. B-Table is empty
  3. C-Connectivity issue
  4. D-Data is present in the other table
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
i-am-a-dummy flag is used Make the MySQL engine refuse UPDATE and which other command?
  1. A-WHERE
  2. B-INSERT
  3. C-DELETE
  4. D-TRUNCATE
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
Which of the following file extension is valid MyISAM file extension?
  1. A-.ism
  2. B-.myd
  3. C-.my
  4. D-.mys
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
  7. More about this MCQ
How much storage space does DATETIME require?
  1. A-4 bytes
  2. B-2 bytes
  3. C-8 bytes
  4. D-1 bytes
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
. User() function return the current user name and ___________
  1. A-password
  2. B-host name
  3. C-both a and b above
  4. D-database name associated with the user
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
A SELECT command without a WHERE clause returns?
  1. A-All the records from a table that match the previous WHERE clause
  2. B-All the records from a table, or information about all the records
  3. C-SELECT is invalid without a WHERE clause
  4. D-Nothing
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
The main MySQL program that does all the data handling is called?
  1. A-mysql.exe
  2. B-mysql
  3. C-mysqld
  4. D-httpd
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
Which of the following commands should be used to create a database named “student”?
  1. A-CREATE ?I student
  2. B-CREATE DATABASE student
  3. C-DATABASE /student
  4. D-DATABSE student
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
How much character are allowed to create database name?
  1. A-55
  2. B-72
  3. C-64
  4. D-125
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
  7. More about this MCQ
Which of the following is used to delete an entire MYSQL database?
  1. A-mysql_drop_database
  2. B-mysql_drop_entiredb
  3. C-mysql_drop_db
  4. D-mysql_drop_dbase
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
What SQL clause is used to restrict the rows returned by a query?
  1. A-AND
  2. B-WHERE
  3. C-HAVING
  4. D-FROM
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
  7. More about this MCQ
Which of the following is not a valid aggregate function?
  1. A-COUNT
  2. B-MIN
  3. C-MAX
  4. D-COMPUTE
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
 Which function used to get the current time in mysql?
  1. A-getTime()
  2. B-Time()
  3. C-NOW()
  4. D-Date()
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
In a LIKE clause, you can ask for any 6 letter value by writing?
  1. A-LIKE ??????
  2. B-LIKE .{6} Answer 5: LIKE ^.{6}$
  3. C-LIKE …… (that’s six dots)
  4. D-LIKE ______ (that’s six underscore characters)
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
MySQL is
  1. A-A Programming language
  2. B-A Programming language
  3. C-A technique for writing reliable programs
  4. D-A Relational Database Management System
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
In a LIKE clause, you can could ask for any value ending in “qpt” by writing
  1. A-LIKE %qpt
  2. B-LIKE *ton
  3. C-LIKE ton$
  4. D-LIKE ^.*ton$
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
Which SQL statement is used to insert a new data in a database?
  1. A-INSERT INTO
  2. B-UPDATE
  3. C-ADD
  4. D-INSERT NEW
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
To use MySQL on your computer, you’ll need?
  1. A-FTP and Telnet
  2. B-Some sort of client program to access the databases
  3. C-A Browser
  4. D-Perl, PHP or Java
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
  7. More about this MCQ
Which of the following can add a row to a table?
  1. A-Add
  2. B-Insert
  3. C-Update
  4. D-Alter
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
To remove duplicate rows from the result set of a SELECT use the following keyword:
  1. A-NO DUPLICATE
  2. B-UNIQUE
  3. C-DISTINCT
  4. D-None of the above
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
  7. More about this MCQ
MySQL runs on which operating systems?
  1. A-Linux and Mac OS-X only
  2. B-Any operating system at all
  3. C-Unix, Linux, Windows and others
  4. D-Unix and Linux only
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / MySQL
  7. More about this MCQ
Which function returns an array consisting of associative key/value pairs?
  1. A-count()
  2. B-array_count()
  3. C-array_count_values()
  4. D-count_values()
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / PHP
Which function can be used to move the pointer to the previous array position?
  1. A-last()
  2. B-before()
  3. C-prev()
  4. D-previous()
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / PHP
Which in-built function will add a value to the end of an array?
  1. A-array_unshift()
  2. B-into_array()
  3. C-inend_array()
  4. D-array_push()
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / PHP
Which function will return true if a variable is an array or false if it is not?
  1. A-this_array()
  2. B-is_array()
  3. C-do_array()
  4. D-in_array()
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / PHP
PHP’s numerically indexed array begin with position __.
  1. A-1
  2. B-2
  3. C-0
  4. D--1
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / PHP
Which one of the following is the right way of defining a function in PHP?
  1. A-function { function body }
  2. B-data type functionName(parameters) { function body }
  3. C-functionName(parameters) { function body }
  4. D-function fumctionName(parameters) { function body }
  5. MCQ By: MCQSEXAM
  6. Computer Science MCQs / PHP