SEMESTER-II (Theory) – MCQ with Answers
- What does NaN stand for?
a) Natural Number
b) Not a Number
c) Numeric Number
d) None of these
Answer: b) Not a Number - The original name of JavaScript was ______.
a) BASIC
b) Oak
c) COBAL
d) FORTRAN
Answer: b) Oak - ++ operator in JavaScript is ______ operator.
a) Unary
b) Binary
c) Ternary
d) None of these
Answer: a) Unary - A translator is a ______.
a) Hardware component
b) Application program
c) System software
d) None of these
Answer: c) System software - Why do JavaScript and Java have similar names?
a) JavaScript is stripped version of Java
b) Syntax is loosely based on Java
c) Originated on island of Java
d) None of these
Answer: b) Syntax is loosely based on Java - When a user views a page with JavaScript, which machine executes it?
a) User's browser machine
b) Web server
c) Central machine
d) None
Answer: a) User's browser machine - Which is not a valid JavaScript variable name?
a) 2names
b) _first_and_last_names
c) FirstAndLast
d) None
Answer: a) 2names - ______ tag encloses JavaScript statements.
a) <SCRIPT>
b) <BODY>
c) <HEAD>
d) <TITLE>
Answer: a) <SCRIPT> - Correct syntax for external script is ______.
a) <script href="abc.js">
b) <script name="abc.js">
c) <script src="abc.js">
d) None
Answer: c) <script src="abc.js"> - JavaScript entities start with ______ and end with ______.
a) Semicolon, colon
b) Semicolon, ampersand
c) Ampersand, colon
d) Ampersand, semicolon
Answer: d) Ampersand, semicolon - Which is not a JavaScript operator?
a) New
b) This
c) Delete
d) Type of
Answer: d) Type of - VBA is ______.
a) Language to extend Excel
b) Statistical tool
c) Open source environment
d) Replacement of Excel
Answer: a) Language to extend Excel - Unit of VBA code is called ______.
a) Subroutine
b) Routine
c) Macro
d) Program
Answer: c) Macro - Code that performs action in VBA is ______.
a) Excel function
b) Sub procedure
c) Primary key
d) Integrity constraint
Answer: b) Sub procedure - Place to store information in VBA is ______.
a) Compartment
b) Variable
c) Macro
d) Field
Answer: b) Variable - Which structure is used for multiple decisions?
a) For-Next
b) ElseIf
c) If-Then
d) Select Case
Answer: d) Select Case - Tally package is developed by ______.
a) Petronics
b) Tally Solutions
c) Coral software
d) Vedika software
Answer: b) Tally Solutions - Company restore option in Tally is in ______.
a) Company feature
b) Configuration
c) Company Information
d) None
Answer: c) Company Information - Financial year is from ______.
a) 1st April
b) 1st January
c) 31st March
d) 31st December
Answer: a) 1st April - To change current date in Tally press ______.
a) F1
b) F9
c) F5
d) F2
Answer: d) F2 - F12 in Tally is ______.
a) Company feature
b) Company configuration
c) Accounting feature
d) None
Answer: b) Company configuration - Shortcut to quit Tally is ______.
a) Ctrl + L
b) Ctrl + P
c) Ctrl + M
d) Ctrl + Q
Answer: d) Ctrl + Q - Shortcut to open calculator is ______.
a) Ctrl + A
b) Ctrl + M
c) Ctrl + N
d) Ctrl + L
Answer: c) Ctrl + N - Which describes e-commerce?
a) Doing business electronically
b) Doing business
c) Sale of goods
d) All of these
Answer: d) All of these - Main types of e-commerce include ______.
a) B2B
b) B2C
c) C2B
d) All of these
Answer: d) All of these - eBay, Amazon belong to ______.
a) B2B
b) B2C
c) C2B
d) C2C
Answer: b) B2C - Which is not an operating system?
a) Windows 98
b) BSD Unix
c) MS Office XP
d) Red Hat Linux
Answer: c) MS Office XP - What is CGI?
a) Computed Gateway Interface
b) Compliant Gateway Interface
c) Case Gateway Interface
d) Common Gateway Interface
Answer: d) Common Gateway Interface - Output of given C code is ______.
a) 17
b) 18
c) 21
d) Compiler Error
Answer: c) 21 - All C++ programs must contain ______ function.
a) Start()
b) system()
c) main()
d) program()
Answer: c) main()