SEMESTER-II (Theory) – MCQ with Answers
- Which is the standard macro language used in Microsoft Office?
a) Netscape
b) Visual Basic for Applications
c) C language
d) JavaScript
Answer: b) Visual Basic for Applications - Which HTML tags are used to insert JavaScript?
a) <js> and </js>
b) <script> and </script>
c) <js name> and </js>
d) <javascript> and </script>
Answer: b) <script> and </script> - Output of isNaN(50/0)?
a) 0
b) 50
c) FALSE
d) TRUE
Answer: d) TRUE - Code to join strings “Hello” and “World”?
a) res = concat(str1, str2)
b) var res = concat(str1, str2)
c) res = str1, concat(var str2)
d) var res = str1.concat(str2)
Answer: d) var res = str1.concat(str2) - Relational operator in JavaScript is ______.
a) <=
b) ++
c) >>
d) &
Answer: a) <= - Output of Number("x")?
a) 0
b) 1
c) 4
d) NaN
Answer: d) NaN - Which loop executes at least once?
a) For
b) While
c) Do-while
d) For-in
Answer: c) Do-while - Mechanism bundling data & methods?
a) Abstraction
b) Encapsulation
c) Inheritance
d) Polymorphism
Answer: b) Encapsulation - Output of x=3.759; x.toFixed(0)?
a) 4
b) 3
c) 3.7
d) 3.8
Answer: a) 4 - JavaScript cookies are ______.
a) Antivirus
b) Small text files storing user info
c) Built-in functions
d) Web tool
Answer: b) Small text files storing user info - Correct VBA variable declaration?
a) Dim first name As String
b) Dim first_name As String
c) Dec first name as String
d) Dec first name as String
Answer: b) Dim first_name As String - Attributes of object in VBA?
a) Macros
b) Properties
c) Methods
d) Procedures
Answer: b) Properties - Date/Time function is ______.
a) Mid()
b) Sign()
c) ISDATE()
d) MONTH()
Answer: c) ISDATE() - Output of Mid("Wholehearted",6,4)?
a) Hear
b) Eart
c) Heart
d) Whole
Answer: c) Heart - OR operator in JavaScript is ______.
a) &
b) ~
c) |
d) ^
Answer: c) | - Variable accessible everywhere is ______.
a) Project scope
b) Global scope
c) Module scope
d) Procedure scope
Answer: b) Global scope - Function of InputBox?
a) Input dialog
b) Error message
c) Predefined message
d) Validation
Answer: a) Input dialog - Output of given VBA loop?
a) 0
b) 2
c) Hello 0
d) Hello Hello 2
Answer: d) Hello Hello 2 - ReDim is used for ______.
a) Dynamic array
b) Integer
c) Static array
d) String
Answer: a) Dynamic array - Expansion of HTTP?
a) High Text Transfer Protocol
b) High Tele Transfer Protocol
c) Hyper Text Transfer Protocol
d) Hyper Tele Transfer Protocol
Answer: c) Hyper Text Transfer Protocol - Which shows financial position?
a) Asset
b) Balance sheet
c) Journal
d) Ledger
Answer: b) Balance sheet - Land & building are ______.
a) Current asset
b) Fixed asset
c) Fictitious asset
d) Intangible asset
Answer: b) Fixed asset - Software for accounts & vouchers?
a) Antivirus
b) Tally
c) JavaScript
d) E-commerce
Answer: b) Tally - Book of first entry?
a) Ledger
b) Balance sheet
c) Cashbook
d) Journal
Answer: d) Journal - Budget designed for year in advance?
a) Current budget
b) Rolling budget
c) Short term
d) Long term
Answer: b) Rolling budget - Technology for online transaction?
a) JavaScript
b) E-commerce
c) Tally
d) VBA
Answer: b) E-commerce - Bulk unsolicited emails are ______.
a) Spam
b) Phishing
c) DoS
d) Brute force
Answer: a) Spam - Hacking for sensitive info is ______.
a) Malware
b) Cyber espionage
c) DoS
d) Social engineering
Answer: b) Cyber espionage - List of products on website is ______.
a) Catalogue
b) Checkout page
c) Shopping cart
d) Order page
Answer: a) Catalogue - Countermeasure for phishing?
a) On-screen keyboard
b) Strong password
c) Check URL
d) Don’t store sensitive info
Answer: c) Check URL