Vous êtes sur la page 1sur 72

Multiple Choice Questions, COPA, Semester-2

Dr.V.Nagaradjane

December 25, 2017


ii

Author: Dr.V.Nagaradjane
Contents

1 Javascript 1
1.1 Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Web servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Features of web servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Programming languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5.1 Compiler based programming languages . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5.2 Interpreter based programming languages . . . . . . . . . . . . . . . . . . . . . . . 4
1.6 Introduction to JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.7 JavaScript Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.8 JavaScript data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.9 Special characters in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.10 Strings in JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.11 Operators in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.12 Math functions in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.13 Control statements in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.14 Loops in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.15 Functions in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.16 Objects in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.17 Array and data objects in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.18 Browser Object Model (BOM) in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.19 Document Object Model (DOM) in Javascript . . . . . . . . . . . . . . . . . . . . . . . . 15
1.19.1 Cookies in Javascript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

2 Visual Basic for Application (VBA) 17


2.1 VBA shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.2 Useful functions in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.3 Data types in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.4 Arithmetic operators in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.5 Comparison operators in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.6 Concatenation operators in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.7 Logical operators in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.8 Bitwise operators in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.9 Mathematical functions in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.10 String functions in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.11 Date/ Time functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.12 Arrays in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.13 Conditions in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.14 Loops in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.15 Message Box in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.16 Input box in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.17 Creating function in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

iii
iv CONTENTS

2.18 Creating Subroutines in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30


2.19 Creating macros in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.20 Object Oriented Programming System (OOPS) through VBA . . . . . . . . . . . . . . . . 31
2.21 Event driven programming in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.22 GUI components in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.23 Properties for VBA controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.24 Events associated with VBA controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.25 ActiveX data objects in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.26 Debugging techniques in VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

3 Smart accounting 37
3.1 Basics of accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.2 Methods of accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.3 Accounting concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.4 Golden rules of double entry system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.5 Accounting termonologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.6 Voucher entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.7 Preparation of final accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.8 Cash book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.9 Ratio analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.10 Depreciation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.11 Stock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.12 VAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.13 Cash & fund flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.14 Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.15 Accounting in Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.16 Shortcuts in Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.17 Double entry system in Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.18 Budgeting system in Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.19 Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.20 Variance & ratio analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.21 Analysis of financial statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.22 Inventory basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.23 POS Invoicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.24 Taxation in Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.25 Languages in Tally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

4 E-Commerce 51
4.1 Introduction to E-Commerce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.2 Types of E-Commerce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.3 Scope of E-Commerce platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.4 Benefits of E-Commerce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.5 Capabilities required for E-Commerce platform . . . . . . . . . . . . . . . . . . . . . . . . 52
4.6 Differences between E-Commerce and traditional commerce . . . . . . . . . . . . . . . . . 53
4.7 Types of E-Commerce websites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.8 Modes of payment for E-Commerce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.9 Payment gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.10 General questions on E-Commerce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

Author: Dr.V.Nagaradjane
CONTENTS v

5 Cyber security 59
5.1 Introduction to cyber security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
5.2 Threats to information security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
5.3 Vulnerability and risk management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.4 Directory service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.5 Access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.6 Software development security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5.7 Privacy protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5.8 Information security audit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5.9 Information Technology (IT) Act . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

6 General Questions on VBA 65

Author: Dr.V.Nagaradjane
vi CONTENTS

Author: Dr.V.Nagaradjane
Chapter 1

Javascript

1.1 Algorithms (a) start/ end


(b) continuation/ connector
1. The sequence of steps taken to solve a (c) flow direction
problem is called . (d) input/ output
(a) explanation (b) steps 6. The rectangle symbol denotes
(c) algorithm (d) item operation in flowchart.
(a) start/ end
(b) processing
Answers (1 - 1) (c) decision making/ looping
(d) input/ output
1. (c)
7. The rhombus symbol denotes
operation in flowchart.
1.2 Flowcharts (a) start/ end
(b) processing
1. Graphical representation of the flow of (c) decision making/ looping
program is called . (d) input/ output
(a) executable code 8. symbol in flowchart denotes
(b) flow chart start/ end of flow.
 
(c) source code
(d) algorithm
(a)  
2. The oval symbol denotes op- 
eration in flowchart.
(a) start/ end (b) 
(b) continuation/ connector (c) -
(c) flow direction
(d) input/ output (d)
3. The circle symbol denotes op- 9. symbol in flowchart denotes
eration in flowchart. continuation
 or connector.

(a) start/ end
(b) continuation/ connector  
(a)
(c) flow direction 
(d) input/ output
(b) 
4. The parallelogram symbol denotes
(c) -
operation in flowchart.
(a) start/ end (d)
(b) continuation/ connector
10. symbol in flowchart direction
(c) flow direction
of flow of program.
(d) input/ output  
5. The arrow symbol denotes op-
eration in flowchart. (a)  

1
2 1.3. WEB SERVERS


(d) HTML documents
(b)  2. HTML stands for .
(c) - (a) Higher Text Markup Language
(b) Hyper Text Markup Language
(d)
(c) Hyper Transfer Markup Language
11. symbol in flowchart denotes (d) Hyper Text Manipulation Language
input/ output.
3. HTTP stands for .
(a) (a) Hyper Text Transfer Protocol

(b) Hyper Transmission Transfer Protocol
 (c) Hyper Text Transfer Procedure
(b)
(d) Hiker Text Transfer Protocol
@
@
@
4. Port number handles HTTP
(c) @
communications.
(a) 80 (b) 443
(d) (c) 25 (d) 20
12. symbol in flowchart denotes 5. HTTPS stands for .
processing. (a) Hyper Text Transfer Protocol Secure
(a) (b) Hyper Transmission Transfer Protocol Secure
 (c) Hyper Text Transfer Procedure Secure
(d) Hiker Text Transfer Protocol Secure
(b) 
6. Port number handles HTTPS
communications.
@
@
(c)
@
@ (a) 80 (b) 443
(c) 25 (d) 20
(d) 7. When HTTPS protocol is used, browser
13. symbol in flowchart denotes shows a icon near the address
decision making. bar.
(a) open lock
(a) (b) lock with cross mark (×)

(c) danger icon
(b)  (d) green lock
@
@ 8. SSL stands for .
@ (a) Secure Surfing Layer
(c) @
(b) Second Socket Layer
(d) (c) Secure Socket Layer
(d) Secure Socket Link
9. Scripting languages like PHP, Perl,
Answers (2 - 14) Python, ASP.NET, etc., executed by a
web server are called side
1. (b) 2. (a) 3. (b) 4. (d)
scripts.
5. (c) 6. (b) 7. (c) 8. (a) (a) server (b) client
9. (b) 10. (c) 11. (d) 12. (a) (c) way (d) unrelated
13. (c)
10. Scripting languages like Javascript, VB-
Script, etc., executed by a browser are
1.3 Web servers called side scripts.
(a) server (b) client
Web servers send pages in re- (c) way (d) unrelated
1.
sponse to client request. 11. is a popular open source web
(a) Word documents server available free of cost.
(b) LATEX documents (a) Apache
(c) Powerpoint documents (b) Microsoft Internet Information Server

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 3

(c) Google Web Server (GWS) Answers (27 - 31)


(d) ngyngx
12. MS IIS in web servers stands for 1. (b) 2. (a) 3. (c) 4. (b)
. 5. (c)
(a) Microsoft Internet Interchange Server
(b) Microsoft Internet Information Signal
(c) Microsoft Internet Information Server 1.5 Programming languages
(d) Microsoft Integrated Information Server
1.5.1 Compiler based programming
languages
Answers (15 - 26)
1. Human readable program is called
1. (d) 2. (b) 3. (a) 4. (a) .
5. (a) 6. (b) 7. (d) 8. (c) (a) machine code
9. (a) 10. (b) 11. (a) 12. (c) (b) source code
(c) mnemonic code
(d) key code
1.4 Features of web servers 2. A compiler converts source code to
code.
1. URL stands for . (a) executable machine code
(a) United Resource Locator (b) source code
(b) Uniform Resource Locator (c) mnemonic code
(c) Uniform Resource Loader (d) key code
(d) Uniform Register Locator 3. converts source code to exe-
2. The first part of URL placed to the left cutable machine code.
side of : (colon) symbol is . (a) document processor
(a) protocol (b) spreadsheet program
(b) path (c) browser
(c) document name (d) compiler
(d) none of them 4. The rules to be followed in writing source
3. The last part of URL placed to the code are called of a program-
right side of / (forward slash) symbol is ming language.
. (a) syntax (b) bugs
(a) protocol (c) laws (d) punishments
(b) path 5. The errors caused by improper syntax in
(c) document name source code are called .
(d) none of them (a) syntax (b) bugs
The part of URL placed between the pro- (c) laws (d) punishments
4.
tocol and document name and separated 6. Compilation is to create an ex-
by / (forward slash) symbol is . ecutable program from source code.
(a) protocol (a) done every time the source code needs to run
(b) path (b) never done
(c) document name (c) always incomplete
(d) none of them (d) done only once
5. Normally, the URL for an HTML docu- 7. Compiled machine code runs in-
ment begins with . terpreted source code.
(a) http (a) faster than (b) slower than
(b) https (c) as fast as (d) none of them
(c) both a and b 8. Assembly language, C, C++, Java, C#
(d) neither a nor b are examples of programming
languages.
(a) interpreter based
(b) browser based
Author: Dr.V.Nagaradjane
4 1.6. INTRODUCTION TO JAVASCRIPT

(c) compiler based (b) server side (using Node JS)


(d) Excel based (c) game development/ desktop applications & mo-
9. Compiler based programming languages bile apps
are data types and syntax errors. (d) all of them
(a) liberal 2. Javascript variables are
(b) strict typed.
(c) uncaring (a) statically (b) strongly
(d) very lenient about (c) dynamically (d) globally
3. Javascript language supports
1.5.2 Interpreter based programming concepts of programming.
(a) object oriented
languages (b) procedural
(c) imperative/functional
10. The special program which executes
(d) all of them
source code one line (or few lines) at a
time is called . 4. Design concepts of Javascript language
(a) linker (b) loader were taken from .
(c) compiler (d) interpreter (a) C & C#
(b) COBOL & ADA
11. Interpreted programs run
(c) BASIC & FORTRAN
compiled executable code.
(a) slower than (d) Self & Scheme
(b) faster than 5. JavaScript runs was developed by
(c) as fast as .
(a) Netscape Communications
(d) much faster than
(b) Microsoft corporation
12. Usually, interpreted languages are a bit (c) Sun Microsystems
about data types and syntax. (d) Oracle
(a) strict (b) very strict
(c) liberal (d) stringent 6. Javascript code is written within
tags.
13. Javascript and VBScript are examples of (a) < html > ... < /html >
based scripting languages. (b) < body > ... < /body >
(a) browser (b) compiler
(c) < script > ... < /script >
(c) MS Office (d) none of them
(d) < table > ... < /table >
14. Javascript, Perl, Python, PHP, Linux/
7. Javascript script type is identified by the
Unix shell script, etc. are examples
parameter type= .
of based programming lan-
(a) ”text/vbscript”
guages.
(b) ”text/javascript”
(a) compiler (b) interpreter
(c) ”text/html”
(c) MS Office (d) none of them
(d) ”text/plain”
8. Javascript language is identified by the
Answers (32 - 45) parameter language= .
(a) ”javascript” (b) ”vbscript”
1. (b) 2. (a) 3. (d) 4. (a) (c) ”vba” (d) ”java”
5. (b) 6. (d) 7. (a) 8. (c) 9. Javascript complies with stan-
9. (b) 10. (d) 11. (a) 12. (c) dard.
13. (a) 14. (b) (a) Indian
(b) British
(c) ASCII
1.6 Introduction to JavaScript (d) ECMA-262 & ISO/IEC 16262
10. Javascript objects support the dot nota-
1. Javascript can be used for programming tion (e.g. obj.x=2) to access member
. variables in addition to nota-
(a) client side browser
tion.

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 5

(a) array (obj[’x’]=2) (a) onfocus (b) onblur


(b) block (obj{’x’}=2) (c) onclick (d) onerror
(c) function (obj(’x’)=2) 2. event gets activated when
(d) tag (obj<0 x0 >= 2) a component gains focus.
11. statement in JavaScript (a) onfocus (b) onblur
helps to evaluate any mathematical string (c) onclick (d) onerror
at runtime. 3. event gets activated when
(a) value (b) eval
an error occurs during execution of script.
(c) calc (d) cal (a) onfocus (b) onblur
12. Method is a function bound to (c) onclick (d) onerror
. event gets activated when
(a) a procedure (b) a library 4.
(c) a script (d) an object a component is clicked.
(a) onfocus (b) onblur
13. The system of notations used to effec- (c) onclick (d) onerror
tively process string related operations is
5. event gets activated when
called .
(a) impression a key moves down.
(b) parser (a) onkeydown (b) onkeyup
(c) regular expression (c) onkeypress (d) onmouseover
(d) concatenation 6. event gets activated when
14. External javascript files should have a key is pressed.
as file name extension. (a) onkeydown (b) onkeyup
(a) .asp (b) .html (c) onkeypress (d) onmouseover
(c) .php (d) .js 7. event gets activated when
15. In JavaScript, is used for a key moves up.
multiline comments. (a) onkeydown (b) onkeyup
(a) /* ... */ (b) { ... } (c) onkeypress (d) onmouseover
(c) # ... # (d) $ ... $
8. event gets activated when
16. In JavaScript, is used for mouse moves over a component.
single line comments. (a) onkeydown (b) onmouseout
(a) { ... } (b) // ... (c) onkeypress (d) onmouseover
(c) # ... # (d) $ ... $
9. event gets activated when
17. In JavaScript, keywords/ reserved words mouse moves out from a component.
be used as variables, labels or (a) onmousedown (b) onmouseout
function names. (c) onload (d) onmouseover
(a) may
(b) should always 10. event gets activated after
(c) can loading a script file.
(a) onmousedown (b) onmouseout
(d) must not
(c) onload (d) onmouseover
11. event gets activated when
Answers (46 - 62) mouse key pressed.
(a) onmousedown (b) onmouseout
1. (d) 2. (c) 3. (c) 4. (d) (c) onload (d) onmouseover
5. (a) 6. (c) 7. (b) 8. (a)
9. (d) 10. (a) 11. (b) 12. (d)
13. (c) 14. (d) 15. (a) 16. (b) Answers (63 - 73)
17. (d)
1. (b) 2. (a) 3. (d) 4. (c)
5. (a) 6. (c) 7. (b) 8. (d)
1.7 JavaScript Events 9. (b) 10. (c) 11. (a)

1. event gets activated when


a component looses focus.

Author: Dr.V.Nagaradjane
6 1.8. JAVASCRIPT DATA TYPES

1.8 JavaScript data types (a) MAX VALUE


(b) MIN VALUE
1. is the Javascript data type (c) NEGATIVE INFINITY
to handle numbers. (d) POSITIVE INFINITY
(a) Number (b) String
13. value of positive infinity
(c) Boolean (d) null
in Javascript.
2. is the Javascript data type (a) MAX VALUE
to handle character strings. (b) MIN VALUE
(a) Number (b) String (c) NEGATIVE INFINITY
(c) Boolean (d) null (d) POSITIVE INFINITY
3. is the Javascript data type
14. value of negative infinity
to handle the results of logical compar-
in Javascript.
isons (TRUE or FALSE). (a) MAX VALUE
(a) Number (b) String
(b) MIN VALUE
(c) Boolean (d) null
(c) NEGATIVE INFINITY
4. is the Javascript data type (d) POSITIVE INFINITY
to handle undefined data types.
(a) Undefined (b) Object 15. function converts a
(c) Number (d) String string value to generic number value.
(a) Number() (b) ParseFloat()
5. is the Javascript data type (c) ParseInt() (d) toString()
to handle objects.
(a) Undefined (b) Object 16. function converts a
(c) Number (d) String string value to integer value.
(a) Number() (b) ParseFloat()
6. is the keyword used in
(c) ParseInt() (d) toString()
Javascript to define a variable.
(a) Data (b) double 17. function converts a
(c) var (d) DIM string value to floating point value.
(a) Number() (b) ParseFloat()
7. denotes a value which is
(c) ParseInt() (d) toString()
not a number (e.g., result of division by
zero) in Javascript. 18. function converts a num-
(a) NaN (b) infinity ber value to string value.
(c) -infinity (d) isNaN() (a) Number() (b) ParseFloat()
(c) ParseInt() (d) toString()
8. denotes inifinite value in
Javascript. 19. returns a number for-
(a) NaN (b) infinity matted in exponential notation.
(c) -infinity (d) isNaN() (a) toExponential()
(b) toFixed()
9. denotes negative inifinite
(c) toPrecision()
value in Javascript.
(a) NaN (b) infinity (d) valueOf()
(c) -infinity (d) isNaN() 20. returns a number for-
10. tests whether a value is matted to specified length.
not a number in Javascript. (a) toExponential()
(a) NaN (b) infinity (b) toFixed()
(c) -infinity (d) isNaN() (c) toPrecision()
maximum permissible (d) valueOf()
11.
number value in Javascript. 21. returns a number
(a) MAX VALUE rounded to specified number of digits.
(b) MIN VALUE (a) toExponential()
(c) NEGATIVE INFINITY (b) toFixed()
(d) POSITIVE INFINITY (c) toPrecision()
12. minimum permissible (d) valueOf()
number value in Javascript.

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 7

22. function creates a new ar- 1.9 Special characters in


ray.
(a) newVar() (b) newArray() Javascript
(c) newDIM() (d) Redim()
1. Special characters are otherwise called
23. Members of an array have index values
.
starting from . (a) escape sequaneces
(a) 0 (b) 1 (b) invalid characters
(c) 100 (d) 1000 (c) wrong characters
24. Identify the wrong variable declaration (d) constants
from the following: denotes backspace in
2.
(a) var x2=10;
Javascript.
(b) var x=2; (a) \b
(c) var 1x = 3; (b) \t
(d) var name=”Krish” (c) \n
25. Identify the wrong variable declaration (d) \v
from the following: denotes newline in
3.
(a) var x2=10;
Javascript.
(b) var x=2; (a) \b
(c) var x.y = 3; (b) \t
(d) var name=”Krish” (c) \n
26. Identify the wrong variable declaration (d) \v
from the following: denotes tab in Javascript.
4.
(a) var x2=10;
(a) \b
(b) var x=2;
(b) \t
(c) var x y = 3;
(c) \n
(d) var name=”Krish”
(d) \v
27. Identify the wrong initialization of vari-
5. denotes vertical tab in
able from the following:
(a) var x2=10; Javascript.
(a) \b
(b) var x=2;
(b) \t
(c) var x=3;
(c) \n
(d) var name=”Krish
(d) \v
28. A variable declared outsdide the scope of
6. denotes form feed (page
any function is .
(a) an invalid variable eject for printer) in Javascript.
(a) \f
(b) a global variable
(b) \r
(c) a variable with scope limited to a function
(c) \\
(d) a variable having scope inside a block
(d) \’
7. denotes enter key in
Answers (74 - 101) Javascript.
(a) \f
1. (a) 2. (b) 3. (c) 4. (a) (b) \r
5. (b) 6. (c) 7. (a) 8. (b) (c) \\
9. (c) 10. (d) 11. (a) 12. (b) (d) \’
13. (d) 14. (c) 15. (a) 16. (c) 8. denotes simple back slash in
17. (b) 18. (d) 19. (a) 20. (c) Javascript.
21. (b) 22. (b) 23. (a) 24. (c) (a) \f
25. (c) 26. (c) 27. (d) 28. (b) (b) \r
(c) \\
(d) \’
9. denotes single quote in
Javascript.
Author: Dr.V.Nagaradjane
8 1.10. STRINGS IN JAVASCRIPT

(a) \f (b) lastIndexOf()


(b) \r (c) substr()
(c) \\ (d) substring()
(d) \’ 7. function in Javascript re-
10. denotes double quotes mark turns the substring from given index lo-
in Javascript. cation to specified length.
(a) \f (a) indexOf()
(b) \r (b) lastIndexOf()
(c) \” (c) substr()
(d) \’ (d) substring()
8. function in Javascript re-
turns the substring from given index lo-
Answers (102 - 111) cation to specified ending index location.
(a) indexOf()
1. (a) 2. (a) 3. (c) 4. (c) (b) lastIndexOf()
5. (d) 6. (a) 7. (b) 8. (c) (c) substr()
9. (d) 10. (c) (d) substring()
9. function in Javascript re-
1.10 Strings in JavaScript turns the string in upper case characters.
(a) toLowerCase()
(b) toUpperCase()
1. function in Javascript re-
(c) trim()
turns length of a string.
(a) length() (b) charAt() (d) fromCharCode()
(c) charCodeAt() (d) concat() 10. function in Javascript re-
2. function in Javascript turns the character equivalent of given
joins two strings. unicode value.
(a) toLowerCase()
(a) length() (b) charAt()
(b) toUpperCase()
(c) charCodeAt() (d) concat()
(c) trim()
3. function in Javascript re- (d) fromCharCode()
turns the character found at specified lo-
11. function in Javascript re-
cation in a string.
(a) length() (b) charAt() turns the string in lower case.
(a) toLowerCase()
(c) charCodeAt() (d) concat()
(b) toUpperCase()
4. function in Javascript re- (c) trim()
turns the unicode value of the character (d) fromCharCode()
found at specified location in a string.
(a) length() (b) charAt() 12. function in Javascript re-
(c) charCodeAt() (d) concat() moves space, tab or other space holders
from beginning and end of a string.
5. function in Javascript re- (a) toLowerCase()
turns the first found location where given (b) toUpperCase()
pattern occurs in the target string. (c) trim()
(a) indexOf()
(d) fromCharCode()
(b) lastIndexOf()
(c) substr()
(d) substring() Answers (112 - 123)
6. function in Javascript re-
turns the last found location where given 1. (a) 2. (d) 3. (b) 4. (c)
pattern occurs in the target string. 5. (a) 6. (b) 7. (c) 8. (d)
(a) indexOf() 9. (b) 10. (d) 11. (a) 12. (c)

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 9

1.11 Operators in Javascript (c) === (d) !==


10. operator in Javascript com-
1. denotes the bitwise AND pares whether two expressions are NOT
operator in Javascript. EQUAL using strict comparison rules.
(a) & (a) == (b) !=
(b) | (c) === (d) !==
(c) ˜ operator in Javascript
11.
(d) ∧ compares whether the left side expression
2. denotes the bitwise NOT is LESS THAN the right side one.
operator in Javascript. (a) < (b) >
(a) & (c) <= (d) >=
(b) |
12. operator in Javascript
(c) ˜
compares whether the left side expression
(d) ∧
is GREATER THAN the right side one.
3. denotes the bitwise OR op- (a) < (b) >
erator in Javascript. (c) <= (d) >=
(a) &
13. operator in Javascript
(b) |
compares whether the left side expression
(c) ˜
is LESS THAN the right side one.
(d) ∧ (a) < (b) >
4. denotes the bitwise XOR (c) <= (d) >=
operator in Javascript.
14. operator in Javascript
(a) &
compares whether the left side expression
(b) |
is GREATER THAN OR EQUAL TO the
(c) ˜
right side one.
(d) ∧
(a) < (b) >
5. denotes the bitwise LEFT (c) <= (d) >=
SHIFT operator in Javascript.
(a) << 15. operator in Javascript
(b) >> compares whether the left side expression
(c) ˜ is LESS THAN OR EQUAL TO the right
(d) ∧ side one.
(a) < (b) >
6. denotes the bitwise RIGHT (c) <= (d) >=
SHIFT operator in Javascript. operator in Javascript
(a) << 16.
tests whether the left side value is found
(b) >>
in the right side collection.
(c) ˜ (a) < (b) >
(d) ∧ (c) in (d) instanceOf
7. operator in Javascript
17. operator in Javascript
compares whether two expressions are
tests whether a variable belongs to par-
EQUAL.
(a) == (b) != ticular datatype.
(a) < (b) >
(c) === (d) !==
(c) in (d) instanceOf
8. operator in Javascript
18. operator in Javascript in-
compares whether two expressions are
crements the given variable x BEFORE
EQUAL using strict comparison rules.
(a) == (b) != evaluting the expression.
(a) x++ (b) + + x
(c) === (d) !==
(c) x−− (d) − − x
9. operator in Javascript com-
19. operator in Javascript in-
pares whether two expressions are NOT
crements the given variable x AFTER
(a) ==EQUAL. (b) != evaluting the expression.

Author: Dr.V.Nagaradjane
10 1.12. MATH FUNCTIONS IN JAVASCRIPT

(a) x + + (b) + + x (a) Math.sin() (b) Math.cos()


(c) x − − (d) − − x (c) Math.acos() (d) Math.abs()
20. operator in Javascript 2. function in Javascript re-
decrements the given variable x BEFORE turns sine value of its argument.
evaluting the expression. (a) Math.sin() (b) Math.cos()
(a) x + + (b) + + x (c) Math.acos() (d) Math.abs()
(c) x − − (d) − − x 3. function in Javascript re-
21. operator in Javascript turns cosine value of its argument.
decrements the given variable x AFTER (a) Math.sin() (b) Math.cos()
evaluting the expression. (c) Math.acos() (d) Math.abs()
(a) x + + (b) + + x function in Javascript re-
4.
(c) x − − (d) − − x −1
turns cos value of its argument.
22. operator in Javascript (a) Math.sin() (b) Math.cos()
multiplies the left and right side number (c) Math.acos() (d) Math.asin()
values and assigns the result to the left 5. function in Javascript re-
side variable. −1
turns sin value of its argument.
(a) ∗ = (b) / =
(a) Math.sin() (b) Math.cos()
(c) + = (d) − =
(c) Math.acos() (d) Math.asin()
23. operator in Javascript di-
6. function in Javascript re-
vides the left side value by the right side
turns tangent value of its argument.
value and assigns the result to the left (a) Math.tan() (b) Math.cos()
side variable. (c) Math.acos() (d) Math.atan()
(a) ∗ = (b) / =
(c) + = (d) − = 7. function in Javascript re-
−1
24. operator in Javascript turns tan value of its argument.
(a) Math.tan() (b) Math.cos()
substracts the right side value from the
(c) Math.acos() (d) Math.atan()
left side value and assigns the result to
the left side variable. 8. function in Javascript re-
(a) ∗ = (b) / = turns the higher integer value for given
(c) + = (d) − = floating point number (e.g., return value
25. operator in Javascript for 2.1 is 3).
adds the left and right side number val- (a) Math.random()
ues and assigns the result to the left side (b) Math.ceil()
variable. (c) Math.floor()
(a) ∗ = (b) / = (d) Math.round()
(c) + = (d) − = function in Javascript re-
9.
turns the lower integer value for given
Answers (124 - 148) floating point number (e.g., return value
for 2.8 is 2).
1. (a) 2. (c) 3. (b) 4. (d) (a) Math.random()
5. (a) 6. (b) 7. (a) 8. (c) (b) Math.ceil()
9. (b) 10. (d) 11. (a) 12. (b) (c) Math.floor()
13. (a) 14. (d) 15. (c) 16. (c) (d) Math.round()
17. (d) 18. (b) 19. (a) 20. (d) 10. function in Javascript re-
21. (c) 22. (a) 23. (b) 24. (d) turns the nearest integer value for given
25. (c) floating point number (e.g., return value
for 2.1 is 2; that for 2.8 is 3).
(a) Math.random()
1.12 Math functions in
Javascript
1. function in Javascript re-
turns positive value of its argument, irre-
spective of whether the input was positive Author: Dr.V.Nagaradjane
or negative.
Q. Bank [COPA Semester - 2] 11

(b) Math.ceil() 1.13 Control statements in


(c) Math.floor()
(d) Math.round()
Javascript
11. function in Javascript re- In javascript, if .. else condition helps to
1.
turns random number between 0 and 1 execute a block of statements .
(0 included, 1 excluded). (a) only if a condition is fulfilled
(a) Math.random() (b) without any condition
(b) Math.ceil() (c) without any restriction
(c) Math.floor() (d) randomly
(d) Math.round() The value of x after executing the fol-
2.
12. function in Javascript re- lowing statements would be .
turns natural logarithm of given value. var x, y=10;
(a) Math.random() if(y < 10){
(b) Math.ceil() x=5;
(c) Math.log() }
(d) Math.exp() else {
13. function in Javascript re- x = 8;
turns anti-logarithm of given value. }
(a) Math.random()
(b) Math.ceil() (a) 8 (b) 5
(c) Math.log() (c) 10 (d) 0
(d) Math.exp() 3. The value of x after executing the fol-
14. function in Javascript re- lowing statements would be .
turns the first number raised to the power var x, y=10;
of second number. if(y == 10){
(a) Math.pow() (b) Math.max() x=5;
(c) Math.min() (d) Math.sqrt() }
15. function in Javascript re- else {
turns the maximum of the given collec- x = 8;
tion of numbers. }
(a) Math.pow() (b) Math.max()
(c) Math.min() (d) Math.sqrt() (a) 8 (b) 5
16. function in Javascript re- (c) 10 (d) 0
turns the minimum of the given collection 4. The switch ... case statement checks for
of numbers. several .
(a) Math.pow() (b) Math.max() (a) loops (b) blocks
(c) Math.min() (d) Math.sqrt() (c) conditions (d) runs
17. function in Javascript re- 5. statement is used at the
turns the square root of the given col- end of each case block in switch ... case
lection of numbers. condition.
(a) Math.pow() (b) Math.max() (a) continue (b) break
(c) Math.min() (d) Math.sqrt() (c) default (d) label
6. statement is used at the
end of each case block in switch ... case
Answers (149 - 165) condition.
(a) continue (b) break
1. (d) 2. (a) 3. (b) 4. (c) (c) default (d) label
5. (d) 6. (a) 7. (d) 8. (b)
7. In switch ... case condition in Javascript,
9. (c) 10. (d) 11. (a) 12. (c)
statement is executed if no
13. (d) 14. (a) 15. (b) 16. (c)
case condition is fulfilled..
17. (d) (a) continue (b) break
(c) default (d) label

Author: Dr.V.Nagaradjane
12 1.14. LOOPS IN JAVASCRIPT

8. What would be the value of the variable (a) 10 (b) 15


x, after executing the following switch ... (c) 20 (d) 25
case statement? 11. What would be the value of the variable
var x, y=3; switch(y) { x, after executing the following switch ...
case 1: case statement?
x=10; var x, y=11; switch(y) {
break; case 1:
case 2: x=10;
x=15; break;
break; case 2:
case 3: x=15;
x=20; break;
break; case 3:
default: x=20;
x=25; break;
} default:
(a) 10 (b) 15 x=25;
(c) 20 (d) 25 }
9. What would be the value of the variable (a) 10 (b) 15
x, after executing the following switch ... (c) 20 (d) 25
case statement?
var x, y=1; switch(y) {
case 1: Answers (166 - 176)
x=10;
break; 1. (a) 2. (a) 3. (b) 4. (c)
case 2: 5. (b) 6. (b) 7. (c) 8. (c)
x=15; 9. (a) 10. (b) 11. (d)
break;
case 3:
x=20;
1.14 Loops in Javascript
break;
1. In Javascript, for loop contains
default:
parts.
x=25;
(a) 1 (b) 2
}
(c) 3 (d) 4
(a) 10 (b) 15
(c) 20 (d) 25 2. In Javascript, first part of for loop does
parts.
10. What would be the value of the variable (a) condition checking
x, after executing the following switch ...
(b) initialization
case statement?
(c) increment/ decrement
var x, y=2; switch(y) {
(d) continue
case 1:
x=10; 3. In Javascript, second part of for loop does
break; parts.
(a) condition checking
case 2:
(b) initialization
x=15;
(c) increment/ decrement
break;
(d) continue
case 3:
x=20; 4. In Javascript, third part of for loop does
break; parts.
(a) condition checking
default:
(b) initialization
x=25;
(c) increment/ decrement
}

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 13

(d) continue (a) break (b) continue


5. In Javascript, statement helps (c) label (d) function
to skip the remaining statemets of the 2. Code block for each Javascript function
loop for next cycle of execution. is enclosed in .
(a) break (a) ( ... ) (b) { ... }
(b) initialization (c) [ ... ] (d) < ... >
(c) increment/ decrement 3. Parameters/ arguments to be passed to a
(d) continue function are enclosed in after
6. In Javascript, statement helps the name of the function.
(a) ( ... ) (b) { ... }
to exit the loop.
(a) break (c) [ ... ] (d) < ... >
(b) initialization 4. is placed between function
(c) increment/ decrement keyword and function parameters in
(d) continue Javascript.
(a) Function opening
7. What would be the value of x, on com-
(b) Function end
pleting the following for loop?
(c) Function name
var i,x=10;
(d) Function code block
for(i = 10; i <= 12; i + +) {
s+=i; 5. The result of a Javascript function may
} be passed back using key-
(a) 43 (b) 45 word.
(a) function (b) return
(c) 55 (d) 66
(c) break (d) continue
8. In Javascript, the loop helps
to process each element of an array in 6. In Javascript, functions are also
succession. .
(a) for (b) for ... in (a) variables
(c) do ... while (d) while (b) objects
(c) both variables and objects
9. In Javascript, the loop helps
(d) neither variables nor objects
to the following block of statements only
if the condition is true. 7. Any variable declared inside a function
(a) for (b) for ... in has validity within the .
(c) do ... while (d) while (a) block only
10. In Javascript, the loop helps (b) function only
to the following block atleast once even (c) global scope
if the condition is FALSE. (d) constant
(a) for (b) for ... in 8. Any variable declared outside a function
(c) do ... while (d) while has validity within the .
(a) block only
(b) function only
Answers (177 - 186) (c) global scope
(d) constant
1. (c) 2. (b) 3. (a) 4. (c)
5. (d) 6. (a) 7. (a) 8. (b)
9. (d) 10. (c) Answers (187 - 194)
1. (d) 2. (b) 3. (a) 4. (c)
1.15 Functions in Javascript 5. (b) 6. (c) 7. (b) 8. (c)

1. In Javascript, keyword de-


notes beginning of a function.

Author: Dr.V.Nagaradjane
14 1.16. OBJECTS IN JAVASCRIPT

1.16 Objects in Javascript (c) abstraction


(d) polymorphism
1. Creating new data types through pro- 9. The ability of a program object to reflect
gramming and adding new properties real world objects is called .
and methods to the data type is called (a) inheritance
programming. (b) encapsulation
(a) rapid (c) abstraction
(b) object oriented (d) polymorphism
(c) procedural
(d) functional
2. The domain created by a programmer Answers (195 - 203)
for placing all items related to a spe-
cific object/solution in Javascript is called 1. (b) 2. (b) 3. (c) 4. (d)
. 5. (a) 6. (a) 7. (d) 8. (b)
(a) object (b) namespace 9. (c)
(c) class (d) property
3. The keyword used in Javascript to create
a new data type is . 1.17 Array and data objects in
(a) object (b) namespace Javascript
(c) class (d) property
4. The variable placed inside a class defini- 1. A collection of values accessible through
tion to store values related to an object an index is called .
(such as colour, size, location, etc.) is (a) array (b) function
called . (c) variable (d) block
(a) object (b) namespace The array index begins at in
2.
(c) class (d) property Javascript.
5. The special method placed inside a class (a) 3 (b) 2
having the name of the class itself as the (c) 1 (d) 0
function name is . 3. each element of an array may be of
(a) constructor
data type(s).
(b) encapsulation
(a) different
(c) abstraction
(b) only the same
(d) polymorphism
(c) only integer
6. The ability of a class to derive the proper- (d) only float
ties and methods of another class is called
4. What would be the value stored in
.
(a) inheritance name[2]?
(b) encapsulation var name=new Ar-
(c) abstraction ray(”Krish”,”Ram”,”Shiva”,27);
(d) polymorphism (a) Krish (b) Ram
(c) Shiva (d) 27
7. The ability to a method having the same
name but different behaviour in differ- 5. What would be the value stored in
ent parent and child classes is called name[3]?
. var name=new Ar-
(a) inheritance ray(”Krish”,”Ram”,”Shiva”,27);
(b) encapsulation (a) Krish (b) Ram
(c) abstraction (c) Shiva (d) 27
(d) polymorphism 6. Length of an array may be accessed using
8. The ability of a class to bind properties property.
and methods with different access levels (a) length (b) size
is called . (c) width (d) height
(a) inheritance Index of an array may be .
(b) encapsulation 7.

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 15

(a) number Answers (212 - 217)


(b) string
(c) either number or string 1. (a) 2. (a) 3. (d) 4. (d)
(d) neither number nor string 5. (d) 6. (b)
8. Array having string value for index is
called array.
(a) assistant (b) associative 1.19 Document Object Model
(c) decent (d) string (DOM) in Javascript
1. The support provided for various compo-
Answers (204 - 211) nents of a HTML document (like head,
title, body, etc. in a browser is called
1. (a) 2. (d) 3. (a) 4. (c)
.
5. (d) 6. (a) 7. (c) 8. (b) (a) Document Object Model
(b) Dominant Object Model
(c) Document Office Model
1.18 Browser Object Model (d) Document Object Management
(BOM) in Javascript 2. The abbreviation DOM stands for
.
1. The standard interfaces provided by a (a) Document Object Model
browser for interaction with program (b) Dominant Object Model
script is called . (c) Document Office Model
(a) Browser Object Model (d) Document Object Management
(b) Browser Opening Model 3. DOM permits access to
(c) Brown Object Model methods.
(d) Browser Object Mission (a) docuemnt.getElementById()
BOM stands for . (b) document.getElementsByTagName()
2.
(a) Browser Object Model (c) document.getElementByClassName()
(b) Browser Opening Model (d) all of them
(c) Brown Object Model 4. HTML element in DOM offers
(d) Browser Object Mission properties.
(a) innerHTML
3. Browser Object Model supports access to
(b) attribute
object.
(a) window (b) document (c) setAttribute(attrib, val)
(c) innerhtml (d) all of them (d) all of them
Window.Location object supports 5. Methods of DOM (Document Object
4.
properties. Model) are called on object.
(a) href (a) document (b) window
(b) hostname/protocol (c) button (d) text
(c) pathname
(d) all of them 1.19.1 Cookies in Javascript
5. Window.Navigator object supports
properties. 6. A text file used to save name, value pairs
(a) appName/appCodeName related to website visited by a browser is
(b) platform called .
(a) memory (b) history
(c) cookieEnabled/javaEnabled
(c) cookie (d) script
(d) all of them
7. Cookie may have “expires” property
6. Methods of BOM (Browser Object
which contains .
Model) are called on object. (a) name of owner
(a) document (b) window (b) date and time of expiry
(c) button (d) text

Author: Dr.V.Nagaradjane
16 1.19. DOCUMENT OBJECT MODEL (DOM) IN JAVASCRIPT

(c) name of browser (c) window.history.back


(d) name of the web server (d) window.prompt
8. property of the docu- 12. The statement docu-
ment class permits access to cookie. ment.cookie=“name=Gayathri;”
(a) getElementById sets a cookie with name property. What
(b) cookie is the value of the name property?
(c) innerHTML (a) name (b) ;
(d) getElementByName (c) Gayathri (d) “”
9. What would be the value of pass prop- 13. What does the following statement do?
erty in the following cookie? var x = document.cookie;
document.cookie=”id=vi;pass=ret;org=iti”; (a) gets all cookies in a variable named x
(a) vi (b) ret (b) prompts for input and stores the input value in
(c) iti (d) none of them x
(c) alerts regarding an error
10. Image object in Javascript supports
methods/properties. (d) sets the background color of the document
(a) isMap/ useMap
(b) naturalHeight/ naturalWidth
(c) width/ height/ vspace
Answers (218 - 230)
(d) all of them 1. (a) 2. (a) 3. (d) 4. (d)
11. property of Javascript helps 5. (a) 6. (c) 7. (b) 8. (b)
to set a cookie. 9. (b) 10. (d) 11. (a) 12. (c)
(a) document.cookie
13. (a)
(b) window.alert

Author: Dr.V.Nagaradjane
Chapter 2

Visual Basic for Application (VBA)

1. VBA Stands for . (c) Graphical User Interface


(a) Visual Binary Applications (d) Graphical Unified Interface
(b) Visual Basic for Animations 8. VBA permits of data from
(c) Viral Basic for Applications spreadsheets.
(d) Visual Basic for Applications (a) reading
2. VBA has a coding, compilation, run- (b) writing
ning and debugging environment called (c) both reading and writing
. (d) neither reading nor writing
(a) Integrated Development Environment (IDE)
9. VBA supports ready made user interace
(b) Editor
components like .
(c) Highlighter (a) UserForm, CommandButton
(d) Compiler (b) Label, TextBox, ComboBox, ListBox
3. IDE stands for . (c) TabStrip, OptionButton, ToggleButton
(a) Internal Development Environment (d) all of them
(b) Integrated Design Environment 10. VBA supports through class
(c) Integrated Development Environment module.
(d) Integrated Drafting Environment (a) Object Oriented Programming System (OOPS)
4. The programming environment which (b) Procedural programming
permits coding, compilation, running and (c) Functional programming
debugging from a single window is called (d) property based model
. 11. MS Office records macros in
(a) Integrated Development Environment (IDE) language.
(b) Editor (a) VBA (b) C++
(c) Highlighter (c) C# (d) Java
(d) Compiler
12. VBA can be used to automate
5. The IDE of VBA supports carried out through MS Excel.
since it permits drag and drop approach (a) data processing
for design of user interface. (b) graphing
(a) Procedural Approach (c) accessing cell values
(b) reverse approach (d) all of them
(c) Rapid Application Development (RAD)
13. VBA code is compiled into an intermedi-
(d) postfix approach
ate code called code.
6. RAD in the desing applications stands for (a) P-Code
. (b) MicroSoft Intermediate Code (MSIL)
(a) Ready Application Development (c) Java Virual Machine (JVM) code
(b) Rapid Application Development (d) Android Virtual Device (AVD) code
(c) Real Application Development
(d) Rapid Analysis Development 14. Excel file having VBA code is saved using
the extension .
7. GUI stands for . (a) .xlsx (b) .xlsm
(a) General User Interface (c) .xlst (d) .xls
(b) Graphical User Interaction

17
18 2.1. VBA SHORTCUTS

15. MS Excel creates to execute (c) Ctrl+R (d) Ctrl+Shift+I


VBA code. 26. is the shortcut to add breakpoint
(a) real time computer in VBA IDE.
(b) mobile computer (a) F9 (b) F5
(c) tablet computer (c) F1 (d) F2
(d) virual machine 27. is the shortcut to display help in
16. Comment in VBA begins with VBA IDE.
character and continues till the end of (a) F9 (b) F5
that line. (c) F1 (d) F2
(a) & (b) ” 28. is the shortcut to display object
(c) ’ (d) / browser in VBA IDE.
17. characters should not be used in (a) F9 (b) F5
VBA variable names. (c) F1 (d) F2
(a) ’ ’, . (b) @, & 29. is the shortcut to run a program
(c) $, # (d) all of them in VBA IDE.
(a) F9 (b) F5
(c) F1 (d) F2
2.1 VBA shortcuts 30. is the shortcut to display proper-
ties window in VBA IDE.
18. is the shortcut to open VBA IDE (a) F4 (b) F5
from MS Excel. (c) F1 (d) F2
(a) Alt+F11 (b) Alt+F8
(c) Ctrl+Break (d) Ctrl+G
19. is the shortcut to open immedi- Answers (231 - 260)
ate window in VBA IDE.
(a) Alt+F11 (b) Alt+F8 1. (d) 2. (a) 3. (c) 4. (a)
(c) Ctrl+Break (d) Ctrl+G 5. (c) 6. (b) 7. (c) 8. (c)
20. is the shortcut to open list of 9. (d) 10. (a) 11. (a) 12. (d)
macros. 13. (a) 14. (b) 15. (d) 16. (c)
(a) Alt+F11 (b) Alt+F8 17. (d) 18. (a) 19. (d) 20. (b)
(c) Ctrl+Break (d) Ctrl+G 21. (c) 22. (a) 23. (b) 24. (c)
21. is the shortcut to stop execution 25. (d) 26. (a) 27. (c) 28. (d)
of programs in VBA IDE. 29. (b) 30. (a)
(a) Alt+F11 (b) Alt+F8
(c) Ctrl+Break (d) Ctrl+G
22. is the shortcut to display infor- 2.2 Useful functions in VBA
mation relating to selected component in
VBA IDE. 1. In VBA, the function Asc converts
(a) Ctrl+I (b) Ctrl+J given character value to numeric code in
(c) Ctrl+R (d) Ctrl+Shift+I system.
is the shortcut to properties and (a) American Standard Code for Information Inter-
23.
methods of a component in VBA IDE. change (ASCII)
(a) Ctrl+I (b) Ctrl+J (b) Double Byte Character Set (DBCS)
(c) Ctrl+R (d) Ctrl+Shift+I (c) Unicode
(d) none of them
24. is the shortcut to display project
explorer in VBA IDE. 2. In VBA, the function AscB converts
(a) Ctrl+I (b) Ctrl+J given character value to numeric code in
(c) Ctrl+R (d) Ctrl+Shift+I system.
(a) American Standard Code for Information Inter-
25. is the shortcut to display param-
change (ASCII)
eter information for selected element in (b) Double Byte Character Set (DBCS)
VBA IDE. (c) Unicode
(a) Ctrl+I (b) Ctrl+J
(d) none of them

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 19

3. In VBA, the function AscW converts 12. In VBA, CByte function converts String
given character value to numeric code in to type.
system. (a) number (b) byte
(a) American Standard Code for Information Inter- (c) Currency (d) Decimal
change (ASCII) 13. In VBA, CCur function converts String
(b) Double Byte Character Set (DBCS) to type.
(c) Unicode (a) number (b) byte
(d) none of them (c) Currency (d) Decimal
4. In VBA, the function Chr converts given 14. In VBA, CLng function converts String
numeric value to character value in to type.
system. (a) Long (b) byte
(a) American Standard Code for Information Inter- (c) Currency (d) Decimal
change (ASCII)
(b) Double Byte Character Set (DBCS) 15. In VBA, CDec function converts String
to type.
(c) Unicode (a) number (b) byte
(d) none of them (c) Currency (d) Decimal
5. In VBA, the function ChrB converts
16. function in VBA creates a cus-
given numeric value to character value in
tom error message.
system. (a) Format (b) CVErr
(a) American Standard Code for Information Inter-
(c) InputBox (d) MsgBox
change (ASCII)
(b) Double Byte Character Set (DBCS) 17. function in VBA formats a num-
(c) Unicode ber according to given text strings con-
(d) none of them taining 0, # and comma (,).
(a) Format (b) CVErr
6. In VBA, the function ChrW converts
(c) InputBox (d) MsgBox
given numeric value to character value in
system. 18. function in VBA displays a mes-
(a) American Standard Code for Information Inter- sage.
change (ASCII) (a) Format (b) CVErr
(b) Double Byte Character Set (DBCS) (c) InputBox (d) MsgBox
(c) Unicode System 19. function in VBA displays an in-
(d) none of them put box.
7. In VBA, Cstr function converts any data (a) Format (b) CVErr
to type. (c) InputBox (d) MsgBox
(a) Integer (b) Double
(c) Single (d) String
CDbl function converts String to
Answers (261 - 279)
8.
type. 1. (a) 2. (b) 3. (c) 4. (a)
(a) Integer (b) Double
5. (b) 6. (c) 7. (d) 8. (b)
(c) Single (d) String
9. (a) 10. (c) 11. (a) 12. (b)
9. In VBA, CInt function converts String to 13. (c) 14. (a) 15. (d) 16. (b)
type. 17. (a) 18. (d) 19. (c)
(a) Integer (b) Double
(c) Single (d) String
10. In VBA, Csng function converts String 2.3 Data types in VBA
to type.
(a) Integer (b) Double 1. data type in VBA stores true or
(c) Single (d) String false values.
11. In VBA, Val function converts String to (a) Boolean (b) Integer
type. (c) Byte (d) Long
(a) number (b) byte 2. Boolean data type in VBA has size of
(c) Currency (d) Decimal .

Author: Dr.V.Nagaradjane
20 2.3. DATA TYPES IN VBA

(a) 1 byte (b) 2 bytes 12. Double data type in VBA can store values
(c) 3 bytes (d) 4 bytes in the range of .
3. Byte data type in VBA has size of (a) ±1.79769313486232E308 to
. ±4.94065645841247E324
(a) 1 byte (b) 2 bytes (b) -32,768 to +32,767
(c) 3 bytes (d) 4 bytes (c) -2,147,483,648 to +2,147,483,647
(d) ±3.402823E38 to ±1.401298E45
4. Byte in VBA can store values in the range
of . 13. Integer data type in VBA has size of
(a) 0 to 255 .
(b) -922,337,203,685,477.5808 to +- (a) 14 bytes (b) 8 bytes
922,337,203,685,477.5807 (c) 4 bytes (d) 2 bytes
(c) 01-Jan-100 to 31-Dec-9999 14. Integer data type in VBA can store values
(d) ±79, 228, 162, 514, 264, 337, 593, 543, 950, 335 in the range of .
or ±7.9228162514264337593543950335 (a) ±1.79769313486232E308 to
5. Currency data type in VBA has size of ±4.94065645841247E324
. (b) -32,768 to +32,767
(a) 2 bytes (b) 3 bytes (c) -2,147,483,648 to +2,147,483,647
(c) 4 bytes (d) 8 bytes (d) ±3.402823E38 to ±1.401298E45
6. Currency data type in VBA can store val- 15. Long data type in VBA has size of
ues in the range of . .
(a) 0 to 255 (a) 14 bytes (b) 8 bytes
(b) -922,337,203,685,477.5808 to +- (c) 4 bytes (d) 2 bytes
922,337,203,685,477.5807 16. Long data type in VBA can store values
(c) 01-Jan-100 to 31-Dec-9999
in the range of .
(d) ±79, 228, 162, 514, 264, 337, 593, 543, 950, 335 (a) ±1.79769313486232E308 to
or ±7.9228162514264337593543950335 ±4.94065645841247E324
7. Date data type in VBA has size of (b) -32,768 to +32,767
. (c) -2,147,483,648 to +2,147,483,647
(a) 2 bytes (b) 3 bytes
(d) ±3.402823E38 to ±1.401298E45
(c) 4 bytes (d) 8 bytes
17. Single data type in VBA has size of
8. Date data type in VBA can store values
.
in the range of . (a) 14 bytes (b) 8 bytes
(a) 0 to 255 (c) 4 bytes (d) 2 bytes
(b) -922,337,203,685,477.5808 to +-
922,337,203,685,477.5807 18. Single data type in VBA can store values
(c) 01-Jan-100 to 31-Dec-9999 in the range of .
(d) ±79, 228, 162, 514, 264, 337, 593, 543, 950, 335 (a) ±1.79769313486232E308 to
or ±7.9228162514264337593543950335 ±4.94065645841247E324
(b) -32,768 to +32,767
9. Decimal data type in VBA has size of
(c) -2,147,483,648 to +2,147,483,647
.
(a) 14 bytes (b) 8 bytes (d) ±3.402823E38 to ±1.401298E45
(c) 4 bytes (d) 2 bytes 19. Object data type in VBA has size of
10. Decimal data type in VBA can store val- .
(a) 14 bytes (b) 8 bytes
ues in the range of .
(a) 0 to 255 (c) 4 bytes (d) 2 bytes
(b) -922,337,203,685,477.5808 to +- 20. String data type in VBA has size of
922,337,203,685,477.5807 .
(c) 01-Jan-100 to 31-Dec-9999 (a) 14 bytes
(d) ±79, 228, 162, 514, 264, 337, 593, 543, 950, 335 (b) 10+length of string bytes
or ±7.9228162514264337593543950335 (c) 4 bytes
11. Double data type in VBA has size of (d) 2 bytes
. 21. String data type in VBA can store a max-
(a) 14 bytes (b) 8 bytes
imum of characters.
(c) 4 bytes (d) 2 bytes (a) 65,400

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 21

(b) 32,767 (a) 3*2


(c) 2,147,483,648 (b) 2∧4
(d) 100 (c) 5/2
22. Variant data type in VBA has size of (d) 3%2
.
(a) 14 bytes
(b) 10+length of string bytes Answers (303 - 308)
(c) 16 or 22+length in bytes
(d) 2 bytes 1. (d) 2. (d) 3. (a) 4. (d)
23. Variant data type can store . 5. (a) 6. (b)
(a) String larger than 65,400 characters in length
(b) number larger than Double
(c) both a & b
2.5 Comparison operators in
(d) none of them VBA
1. operator in VBA returns true if
Answers (280 - 302) the left and sides are equal.
(a) = (b) <>
1. (a) 2. (b) 3. (a) 4. (a) (c) < (d) >
5. (d) 6. (b) 7. (d) 8. (c)
2. operator in VBA returns true if
9. (a) 10. (d) 11. (b) 12. (a)
the left and sides are not equal.
13. (d) 14. (b) 15. (c) 16. (c) (a) = (b) <>
17. (c) 18. (d) 19. (c) 20. (b) (c) < (d) >
21. (a) 22. (c) 23. (c)
3. operator in VBA returns true if
the left side is less than the right side.
2.4 Arithmetic operators in (a) = (b) <>
(c) < (d) >
VBA 4. operator in VBA returns true if
the left side is greater than the right side.
1. The arithmetic operator in VBA (a) = (b) <>
takes the highest precedence. (c) < (d) >
(a) % (b) +
(c) - (d) ∧ 5. operator in VBA returns true if
the left side is less than or equal the right
2. The arithmetic operator in VBA
side.
calcualtes power of a number. (a) <= (b) >=
(a) % (b) + (c) < (d) >
(c) - (d) ∧
6. operator in VBA returns true if
3. The arithmetic operator in VBA the left side is greater than or equal to
has precedence after the ∧ operator. the right side.
(a) % (b) + (a) <= (b) >=
(c) - (d) / (c) < (d) >
4. The arithmetic operator in VBA
7. What would be the result of the following
has precedence after the % operator.
(a) * (b) + comparison?:
(c) - (d) / 5<3
(a) true
5. The arithmetic operator in VBA (b) false
has precedence after the / operator. (c) neither true nor false
(a) * (b) + (d) both true and false
(c) - (d) none of them
8. What would be the result of the following
6. In the following expression, find out the comparison?:
first operation: 5>3
3*2+5/2+3%2*2∧ 4 (a) true

Author: Dr.V.Nagaradjane
22 2.6. CONCATENATION OPERATORS IN VBA

(b) false 3. In VBA, using operator for


(c) neither true nor false concatenation results concatenation of
(d) both true and false Strings, irrespective of numeric or alpha-
9. What would be the result of the following numeric value stored in the Strings.
comparison?: (a) & (b) $
5=3 (c) # (d) +
(a) true 4. Choose the result of the following VBA
(b) false expression:
(c) neither true nor false x = ”20” + ”32”
(d) both true and false (a) 2032 (b) 52
10. What would be the result of the following (c) 3220 (d) ””
comparison?: 5. Choose the result of the following VBA
5 <= 3 expression:
(a) true Choose the result of the following VBA
(b) false expression:
(c) neither true nor false x = ”20” & ”32”
(d) both true and false (a) 2032 (b) 52
11. What would be the result of the following (c) 3220 (d) ””
comparison?: 6. Choose the result of the following VBA
5 >= 3 expression:
(a) true x = ”Hi, ” + ”how are you?”
(b) false (a) ”how are you, Hi?”
(c) neither true nor false (b) ”Hi: how are you”
(d) both true and false (c) ”Hi, how are you?”
12. What would be the result of the following (d) ”Hi?”
comparison?: 7. Choose the result of the following VBA
5=3 expression:
(a) true
x = ”Hi, ” & ”how are you?”
(b) false (a) ”how are you, Hi?”
(c) neither true nor false (b) ”Hi: how are you”
(d) both true and false (c) ”Hi, how are you?”
(d) ”Hi?”
Answers (309 - 320)
1. (a) 2. (b) 3. (c) 4. (d)
Answers (321 - 327)
5. (a) 6. (b) 7. (b) 8. (a) 1. (a) 2. (d) 3. (a) 4. (b)
9. (b) 10. (b) 11. (a) 12. (b) 5. (a) 6. (c) 7. (c)

2.6 Concatenation operators in 2.7 Logical operators in VBA


VBA
1. The operators in VBA which combine the
1. and are the two con- results of several comparisons are called
catenation operators available in VBA. operators.
(a) + and & (b) @ and % (a) logical
(c) * and ! (d) # and $ (b) arithmetical
2. In VBA, using operator (c) mathematical
for concatenation results in addition if (d) concatenation
Strings have numeric value and concate- 2. The operator in VBA returns
nation if Strings have alphanumeric value. true only if both sides of the operator are
(a) & (b) $ true.
(c) # (d) +

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 23

(a) OR (b) AND Answers (328 - 338)


(c) NOT (d) XOR
3. The operator in VBA returns 1. (a) 2. (b) 3. (c) 4. (a)
true only if given comparison is false. 5. (d) 6. (a) 7. (b) 8. (a)
(a) OR (b) AND 9. (b) 10. (b) 11. (a)
(c) NOT (d) XOR
4. The operator in VBA returns
true if atleast one of the 2 expressions is
2.8 Bitwise operators in VBA
true.
(a) OR (b) AND 1. operators in VBA compare the
(c) NOT (d) XOR corresponding bits of numbers to arrive a
The operator in VBA returns result.
5. (a) logical (b) arithmetical
true if only one of the 2 comparisons is (c) mathematical (d) bitwise
true.
(a) OR (b) AND 2. The operator in VBA returns
(c) NOT (d) XOR 1 only if both bits are 1.
(a) OR (b) AND
6. The expression in VBA (5<3) AND (4
(c) NOT (d) XOR
> 2) results in .
(a) true 3. The operator returns 1 if
(b) false given bit is 0 and returns 0 if given bit
(c) neither true nor false is 1.
(a) OR (b) AND
(d) both true and false
(c) NOT (d) XOR
7. The expression in VBA (5<3) OR
4. The operator returns 1 if at
(4>2) results in .
(a) true least one of the bits is 1.
(a) OR (b) AND
(b) false (c) NOT (d) XOR
(c) neither true nor false
5. The operator returns 1 if only
(d) both true and false
one of the two bits is 1 and the other one
8. The expression in VBA (5<3) XOR is 0.
(4>2) results in . (a) OR (b) AND
(a) true (c) NOT (d) XOR
(b) false 6. The expression in VBA 5 AND 3 (101
(c) neither true nor false AND 11) results in .
(d) both true and false (a) 1 (b) 3
9. The expression in VBA (5>3) XOR (c) 5 (d) 7
(4>2) results in . 7. The expression in VBA 5 OR 3 (101 OR
(a) true 11) results in .
(b) false (a) 1 (b) 3
(c) neither true nor false (c) 5 (d) 7
(d) both true and false The expression in VBA Dim x as Byte
8.
10. The expression in VBA NOT (4>2) re- x=3
sults in . NOT x results in .
(a) true (a) 11111100 or 252
(b) false (b) 00000011 or 3
(c) neither true nor false (c) neither a nor b
(d) both true and false (d) both a & b
11. The expression in VBA NOT (4<2) re- 9. The expression in VBA 5 XOR 3 (101
sults in . XOR 011) results in .
(a) true (a) 1 (b) 3
(b) false (c) 6 (d) 7
(c) neither true nor false
(d) both true and false

Author: Dr.V.Nagaradjane
24 2.9. MATHEMATICAL FUNCTIONS IN VBA

Answers (339 - 347) 11. function in VBA returns the


sign (+ or −) symbol of given number.
1. (d) 2. (b) 3. (c) 4. (a) (a) SIN (b) RND
5. (d) 6. (a) 7. (d) 8. (a) (c) RANDOMIZE (d) SGN
9. (c) 12. function in VBA returns a ran-
dom number.
(a) SIN (b) RND
2.9 Mathematical functions in (c) RANDOMIZE (d) SGN
VBA 13. function in VBA rounds the
given number to the nearest integer
1. function in VBA returns pos- value.
(a) ROUND (b) SQR
itive value of a number, irrespective of
(c) TAN (d) SGN
whether the input is positive or negative.
(a) ABS (b) ATN 14. function in VBA returns tan-
(c) COS (d) EXP gent value of given number.
(a) ROUND (b) SQR
2. function in VBA returns the
(c) TAN (d) SGN
cosine value of given number.
(a) ABS (b) ATN 15. function in VBA returns
(c) COS (d) EXP square root of given number.
(a) ROUND (b) SQR
3. function in VBA returns arc
(c) TAN (d) SGN
tangent (tan−1 ) of given input.
(a) ABS (b) ATN 16. What is the result of the following
(c) COS (d) EXP expression in VBA?:
4. function in VBA returns expo- FORMAT(25.32864,”##,##,000.00”)
(a) 025.32864 (b) 25.3286
nential value of given input.
(a) ABS (b) ATN (c) 00,00,025.33 (d) 025.33
(c) COS (d) EXP
5. function in VBA returns inte- Answers (348 - 363)
ger part of given input.
(a) FIX (b) FORMAT 1. (a) 2. (c) 3. (b) 4. (d)
(c) INT (d) LOG 5. (a) 6. (c) 7. (d) 8. (b)
6. function in VBA returns inte- 9. (c) 10. (a) 11. (d) 12. (b)
ger portion of given input. 13. (a) 14. (c) 15. (b) 16. (d)
(a) FIX (b) FORMAT
(c) INT (d) LOG
7. function in VBA returns loga- 2.10 String functions in VBA
rithm of given number to specified base.
(a) FIX (b) FORMAT 1. function in VBA returns the
(c) INT (d) LOG numeric value of given character in the
8. function in VBA returns for- American Standard Code of Information
matted version of given number (the for- Interchange (ASCII) system.
mat being specified by 0 and #). (a) ASC (b) CHR
(a) FIX (b) FORMAT (c) & (d) INSTR
(c) INT (d) LOG 2. function in VBA returns con-
9. function in VBA initializes catenated new string from given String
random seed. values.
(a) SIN (b) RND (a) ASC (b) CHR
(c) RANDOMIZE (d) SGN (c) & (d) INSTR
10. function in VBA returns sine 3. function in VBA returns charac-
value of given number. ter value of given numeric value.
(a) SIN (b) RND (a) ASC (b) CHR
(c) RANDOMIZE (d) SGN

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 25

(c) & (d) INSTR (a) MID (b) REPLACE


4. function in VBA returns loca- (c) SPACE (d) STR
tion at which the second string occurs 16. function in VBA returns speci-
within the first string. fied number of spaces.
(a) ASC (b) CHR (a) MID (b) REPLACE
(c) & (d) INSTR (c) SPACE (d) STR
5. function in VBA returns last lo- 17. function in VBA converts given
cation at which the second string occurs number to string.
within the first string. (a) MID (b) REPLACE
(a) INSTRREV (b) LCASE (c) SPACE (d) STR
(c) LEFT (d) RIGHT function in VBA compares given
18.
6. function in VBA returns lower- strings, returns -1 if the first string is
case version of given string. smaller than the second string, 0 if both
(a) INSTRREV (b) LCASE are equal and 1 if the first is greater than
(c) LEFT (d) RIGHT the second string.
7. function in VBA returns upper- (a) STRCOMP (b) STRCONV
case version of given string. (c) STRREVERSE (d) VAL
(a) INSTRREV (b) LCASE
19. function in VBA converts given
(c) LEFT (d) UCASE
string to uppercase, lowercase, proper-
8. function in VBA returns given case, or unicode.
number of characters counted from the (a) STRCOMP (b) STRCONV
left of the string. (c) STRREVERSE (d) VAL
(a) INSTRREV (b) LCASE
20. function in VBA reverses given
(c) LEFT (d) RIGHT
string.
9. function in VBA returns given (a) STRCOMP (b) STRCONV
number of characters counted from the (c) STRREVERSE (d) VAL
right of the string. function in VBA returns nu-
21.
(a) INSTRREV (b) LCASE
meric value of string.
(c) LEFT (d) RIGHT (a) STRCOMP (b) STRCONV
10. function in VBA returns length (c) STRREVERSE (d) VAL
of given string.
(a) LEN (b) LTRIM
(c) RTRIM (d) TRIM Answers (364 - 384)
11. function in VBA removes white
spaces from the left end of given string. 1. (a) 2. (c) 3. (b) 4. (d)
(a) LEN (b) LTRIM 5. (a) 6. (b) 7. (d) 8. (c)
(c) RTRIM (d) TRIM 9. (d) 10. (a) 11. (b) 12. (c)
12. function in VBA removes white 13. (d) 14. (a) 15. (b) 16. (c)
spaces from the right end of given string. 17. (d) 18. (a) 19. (b) 20. (c)
(a) LEN (b) LTRIM 21. (d)
(c) RTRIM (d) TRIM
13. function in VBA removes white
spaces from both left and right ends of 2.11 Date/ Time functions
given string.
(a) LEN (b) LTRIM 1. function in VBA returns today’s
(c) RTRIM (d) TRIM date.
(a) Date (b) DATEADD
14. function in VBA extracts a sub-
(c) DATEDIFF (d) DATEPART
string from given start character for spec-
ified count of characters. 2. function in VBA returns part of
(a) MID (b) REPLACE a date (YYYY for year, MM for month
(c) SPACE (d) STR and DD for day of month).
15. function in VBA finds given
string and replaces it with another.
Author: Dr.V.Nagaradjane
26 2.12. ARRAYS IN VBA

(a) Date (b) DATEADD 14. function in VBA returns current


(c) DATEDIFF (d) DATEPART time.
(a) NOW (b) TIMESERIAL
3. function in VBA returns differ-
(c) TIMEVALUE (d) WEEKDAY
ence between two dates in specified unit
(YYYY for years, MM for months and DD 15. function in VBA returns time
for days). from hour, minute and second values.
(a) Date (b) DATEADD (a) NOW (b) TIMESERIAL
(c) DATEDIFF (d) DATEPART (c) TIMEVALUE (d) WEEKDAY
function in VBA adds given du- 16. function in VBA converts a string
4.
ration to the specified date (YYYY for to time object.
(a) NOW (b) TIMESERIAL
years, MM for months and DD for days).
(a) Date (b) DATEADD (c) TIMEVALUE (d) WEEKDAY
(c) DATEDIFF (d) DATEPART 17. function in VBA returns day of
function in VBA converts given week.
5. (a) NOW (b) TIMESERIAL
day of month, month and year values to (c) TIMEVALUE (d) WEEKDAY
date object.
(a) DATESERIAL (b) DATEVALUE 18. function in VBA returns name of
(c) DAY (d) FORMAT the day of week.
(a) NOW (b) TIMESERIAL
6. function in VBA converts a string (c) TIMEVALUE (d) WEEKDAYNAME
value to date.
(a) DATESERIAL (b) DATEVALUE
(c) DAY (d) FORMAT
Answers (385 - 402)
7. function in VBA returns day of
month from given date. 1. (a) 2. (d) 3. (c) 4. (b)
(a) DATESERIAL (b) DATEVALUE 5. (a) 6. (b) 7. (c) 8. (d)
(c) DAY (d) FORMAT 9. (a) 10. (b) 11. (c) 12. (d)
8. function in VBA returns format- 13. (a) 14. (a) 15. (b) 16. (c)
ted date object based on given string. 17. (d) 18. (d)
(a) DATESERIAL (b) DATEVALUE
(c) DAY (d) FORMAT
9. function in VBA returns month 2.12 Arrays in VBA
number from given date.
(a) MONTH (b) MONTHNAME 1. Variables which can be accessed using in-
(c) HOUR (d) MINUTE dex values (from 0 to given number) are
10. function in VBA returns name of called .
month from given date. (a) Array (b) Integer
(a) MONTH (b) MONTHNAME (c) Double (d) Single
(c) HOUR (d) MINUTE 2. Arrays can be created by .
11. function in VBA returns hour of (a) declaring array with a size
day for given time. (b) declaring array without size but populating it to
(a) MONTH (b) MONTHNAME desired size
(c) HOUR (d) MINUTE (c) resizing array using REDIM command
(d) all of them
12. function in VBA returns minute
of hour for given time. 3. The following declaration creates an array
(a) MONTH (b) MONTHNAME having number of elements.
(c) HOUR (d) MINUTE Dim a(3)
function in VBA returns year (a) 3 values indexed from 0 to 2
13.
number from given date object. (b) 4 values indexed from 0 to 3
(a) YEAR (b) MONTHNAME (c) 3 values indexed from 1 to 3
(c) HOUR (d) MINUTE (d) 0 values indexed 0

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 27

4. From the following VBA code, select the (a) ISARRAY (b) FILTER
correct statement from given choices: (c) ERASE (d) none of them
Dim a(1) 14. function in VBA removes all ele-
a(0)=10 ments of an array.
a(1)=20 (a) ISARRAY (b) FILTER
REDIM PRESERVE a(2) (c) ERASE (d) none of them
a(2)=30
(a) declares an array a with 2 elements
(b) assigns 10 and 20 at indices 0 and 1 Answers (403 - 416)
(c) resizes the array to have 3 elements and assigns
30 to array index 2 1. (a) 2. (d) 3. (b) 4. (d)
(d) all of them 5. (b) 6. (b) 7. (c) 8. (a)
A matrix can be represented using a 9. (b) 10. (c) 11. (d) 12. (b)
5.
dimensional array in VBA. 13. (a) 14. (c)
(a) 1 (b) 2
(c) 3 (d) 4
The following VBA statement declares a
2.13 Conditions in VBA
6.
dimensional array.
1. and are the conditional
Dim a(3,4)
statements available in VBA.
(a) 1 (b) 2 (a) IF ... Then and Select Case
(c) 3 (d) 4 (b) For and While
7. keyword in VBA causes previ- (c) Do While and Do Until
ous elements of array to be kept in the (d) none of them
new array. 2. IF condition in VBA ends with
(a) NEW (b) DIM
statement.
(c) PRESERVE (d) NEXT (a) ElseIf (b) End If
8. function in VBA returns the (c) Else (d) Then
smallest index for given array. 3. The line containing IF ends with
(a) LBOUND (b) UBOUND keyword.
(c) SPLIT (d) JOIN (a) ElseIf (b) End If
9. function in VBA returns the (c) Else (d) Then
largest index for given array. 4. Several successive conditions may be
(a) LBOUND (b) UBOUND
checked using statement of IF
(c) SPLIT (d) JOIN
condition.
10. function in VBA divides a string (a) ElseIf (b) End If
into an array at the occurrence of speci- (c) Else (d) Then
fied substring. 5. In case none of the conditions in an IF
(a) LBOUND (b) UBOUND ladder is fulfilled, statements in
(c) SPLIT (d) JOIN block are executed.
11. function in VBA joins elements (a) ElseIf (b) End If
of an array and creates a string with spec- (c) Else (d) Then
ified separator. 6. In the following VBA code, find out the
(a) LBOUND (b) UBOUND possible bug/error:
(c) SPLIT (d) JOIN Dim x as Integer
12. function in VBA returns ele- x=5
ments which fulfill certrain search crite- If x < 5
rion. End If
(a) ISARRAY (b) FILTER (a) End If is missing
(c) ERASE (d) none of them (b) Then keyword is missing at the end of If
13. function in VBA returns true if (c) The condition in If statement is incorrect
the argument is an array. (d) none of them

Author: Dr.V.Nagaradjane
28 2.14. LOOPS IN VBA

7. condition takes a value and (a) Step (b) To


compares it against several Case state- (c) Next (d) Each
ments. 4. For loop ends with .
(a) Case (b) Select Case
(a) Step (b) To
(c) End Select (d) Case Else
(c) Next (d) Each
8. Select Case condition ends with
5. loop in VBA takes each ele-
statement.
(a) Case (b) Select ment of an array one by one.
(c) End Select (d) Case Else (a) For (b) For Each
(c) While (d) Do While
9. condition is matched if none
of the Case conditions of Select Case is 6. While loop in VBA ends with
matched. statement.
(a) Case (b) Select (a) End (b) Loop
(c) End Select (d) Case Else (c) Next (d) Wend
10. What would be the value of y after the 7. Do While loop in VBA ends with
execution of the following VBA code: statement.
(a) End (b) Loop
Dim x, y as Integer (c) Next (d) Wend
x=5
8. Do While statement executes till the
Select Case x
given condition is .
Case 0
(a) false
y = 10
(b) true
Case 1
(c) both true and false
y=20
(d) neither true nor false
Case 2
y=30 9. Do Until statement executes till the given
Case Else condition is .
(a) false
y=100 (b) true
End Select (c) both true and false
(a) 10 (b) 20 (d) neither true nor false
(c) 30 (d) 100 10. Do Until loop in VBA ends with
statement.
(a) End (b) Loop
Answers (417 - 426) (c) Next (d) Wend

1. (a) 2. (b) 3. (d) 4. (a)


5. (c) 6. (b) 7. (b) 8. (c) Answers (427 - 436)
9. (d) 10. (d)
1. (d) 2. (b) 3. (a) 4. (c)
5. (b) 6. (d) 7. (b) 8. (b)
2.14 Loops in VBA 9. (a) 10. (b)

1. is the loop available in VBA.


(a) For and While
2.15 Message Box in VBA
(b) Do While and Do Until
1. function in VBA displays a
(c) For Each
message box.
(d) all of them (a) MsgBox (b) InputBox
2. For statement uses to specify the (c) Box (d) Message
upper limit of index. MsgBox function in VBA takes a
(a) Step (b) To 2.
as the first and mandatory pa-
(c) Next (d) Each
rameter.
3. For statement uses to specify the (a) String (b) Integer
increment to index value. (c) Double (d) Long

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 29

3. The second parameter of MsgBox in VBA (d) vbQuestion


is to control the buttons of the 11. MsgBox may be provided the option
dialog. to display a warning query.
(a) Integer (b) Long (a) vbYesNo
(c) Single (d) Double (b) vbRetryCancel
4. MsgBox may be provided the option (c) vbCritical
to display only the OK button. (d) vbQuestion
(a) vbYesNoCancel
12. MsgBox may be provided the option
(b) vbAbortRetryIgnore to display an exclamation mes-
(c) vbOKCancel sage.
(d) vbOKOnly (a) vbExclamation
5. MsgBox may be provided the option (b) vbInformation
to display the OK and Cancel (c) vbDefaultButton1
buttons. (d) vbDefaultButton2
(a) vbYesNoCancel
(b) vbAbortRetryIgnore 13. MsgBox may be provided the option
to display an information mes-
(c) vbOKCancel
sage.
(d) vbOKOnly
(a) vbExclamation
6. MsgBox may be provided the option (b) vbInformation
to display the Yes, No and Can- (c) vbDefaultButton1
cel buttons. (d) vbDefaultButton2
(a) vbYesNoCancel
(b) vbAbortRetryIgnore 14. MsgBox may be provided the option
(c) vbOKCancel to keep the first button as the
(d) vbOKOnly default button.
(a) vbDefaultButton1
7. MsgBox may be provided the option (b) vbDefaultButton2
to display the Abort, Retry and (c) vbDefaultButton3
Ignore buttons. (d) vbDefaultButton4
(a) vbYesNoCancel
(b) vbAbortRetryIgnore 15. MsgBox may be provided the option
(c) vbOKCancel to keep the second button as
(d) vbOKOnly the default button.
(a) vbDefaultButton1
8. MsgBox may be provided the option (b) vbDefaultButton2
to display the Yes and No but- (c) vbDefaultButton3
tons. (d) vbDefaultButton4
(a) vbYesNo
(b) vbRetryCancel 16. MsgBox may be provided the option
(c) vbCritical to keep the third button as the
(d) vbQuestion default button.
(a) vbDefaultButton1
9. MsgBox may be provided the option (b) vbDefaultButton2
to display the Retry and Cancel (c) vbDefaultButton3
buttons. (d) vbDefaultButton4
(a) vbYesNo
(b) vbRetryCancel 17. MsgBox may be provided the option
(c) vbCritical to keep the fourth button as
(d) vbQuestion the default button.
(a) vbDefaultButton1
10. MsgBox may be provided the option (b) vbDefaultButton2
to display critical error mes- (c) vbDefaultButton3
sage. (d) vbDefaultButton4
(a) vbYesNo
18. value in MsgBox function of
(b) vbRetryCancel
VBA checks whether OK button was
(c) vbCritical
clicked.

Author: Dr.V.Nagaradjane
30 2.16. INPUT BOX IN VBA

(a) vbOK (b) VKCancel 2.17 Creating function in VBA


(c) vbAbort (d) vbRetry
19. value in MsgBox function of 1. A function begins with keyword.
VBA checks whether Cancel button was (a) Function (b) End Function
clicked. (c) return (d) none of them
(a) vbOK (b) VKCancel A function ends with statement.
2.
(c) vbAbort (d) vbRetry (a) Function (b) End Function
20. value in MsgBox function of (c) return (d) none of them
VBA checks whether Abort button was The return value of a function is assigned
3.
clicked. to variable named .
(a) vbOK (b) VKCancel (a) something other than the name of the function
(c) vbAbort (d) vbRetry (b) exactly matching the name of the function
21. value in MsgBox function of (c) return
VBA checks whether Retry button was (d) end
clicked. Unlike subroutines or procedures, func-
(a) vbOK (b) VKCancel 4.
(c) vbAbort (d) vbRetry tion can a value.
(a) return (b) nullify
(c) add (d) subtract
Answers (437 - 457) 5. In a VBA project, inserting a
helps to create new function.
1. (a) 2. (a) 3. (a) 4. (d) (a) UserForm (b) Class Module
5. (c) 6. (a) 7. (b) 8. (a) (c) Module (d) none of them
9. (b) 10. (c) 11. (d) 12. (a)
13. (b) 14. (a) 15. (b) 16. (c)
17. (d) 18. (a) 19. (b) 20. (c)
Answers (461 - 465)
21. (d)
1. (a) 2. (b) 3. (b) 4. (a)
5. (c)
2.16 Input box in VBA
2.18 Creating Subroutines in
1. Input box in VBA can be displayed using
function. VBA
(a) MsgBox (b) InputBox
(c) box (d) none of them 1. A subroutine begins with key-
2. The first parameter of InputBox is word.
for the input dialog. (a) Function (b) End Function
(a) prompt message (c) return (d) Sub
(b) title of dialog 2. A subroutine ends with state-
(c) both a & b ment.
(d) neither a nor b (a) Function (b) End Sub
(c) return (d) none of them
3. The second parameter of InputBox is
for the input dialog. 3. Subroutines are otherwise called .
(a) prompt message (a) procedures (b) conditions
(b) title of dialog (c) loops (d) none of them
(c) both a & b 4. Subroutines return a value.
(d) neither a nor b (a) do not
(b) do
(c) may or may not
Answers (458 - 460) (d) none of them
1. (b) 2. (a) 3. (b) 5. In a VBA project, are handled
using subroutines.

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 31

(a) GUI events 4. VBA supports keyword for access


(b) all computations control.
(c) all variables (a) Private (b) Public
(d) none of them (c) both a & b (d) none of them
5. A property in VBA can be assigned new
value through keyword.
Answers (466 - 470) (a) Set (b) Let
(c) Get (d) none of them
1. (d) 2. (b) 3. (a) 4. (a) 6. The value of a property can be obtained
5. (a) using keyword.
(a) Set (b) Let
(c) Get (d) none of them
2.19 Creating macros in VBA The variable declared using a new class
7.
can be initialized using keyword.
1. A piece of code automatically generated (a) Set (b) Let
by an MS Office program based on the (c) Get (d) none of them
actions of user is called .
(a) fucntion (b) subroutine 8. Find the name of the property created us-
(c) macro (d) micro ing the following lines of VBA code:
Macro can be recorded using Private s as Integer
2.
icon in the View menu. Public Property Let Score(x as Inte-
(a) macro (b) micro ger)
(c) Font (d) Paragraph s=x
3. Code for macros is recorded in End Property
language. Public Property Get Score() as Inte-
(a) C (b) C++ ger
(c) Java (d) VBA Score = s
End Property
(a) s (b) Let
Answers (471 - 473) (c) Get (d) Score

1. (c) 2. (a) 3. (d)


Answers (474 - 481)
2.20 Object Oriented Pro- 1. (b) 2. (a) 3. (d) 4. (c)
5. (b) 6. (c) 7. (a) 8. (d)
gramming System
(OOPS) through VBA
2.21 Event driven program-
1. A class can be created by inserting ming in VBA
in a VBA project.
(a) UserForm (b) class module GUI stands for .
1.
(c) module (d) none of them (a) General User Interface
2. Class name in a VBA project can be (b) Graphical Unity Interface
changed through . (c) Graphical User Interface
(a) Name property in properties window (d) Graphical User Interaction
(b) UserForm
2. GUI supports visual components like
(c) Module
CommandButton, Label, TexBox, Com-
(d) none of them
boBox, OptionBox, MultiPage, List, etc.
3. Class in VBA supports of Ob- which generate on user interac-
ject Oriented Programming System. tion.
(a) Property (b) Function (a) events (b) properties
(c) Subroutine (d) all of them (c) functions (d) subroutines

Author: Dr.V.Nagaradjane
32 2.22. GUI COMPONENTS IN VBA

3. Events wait like hidden armoury until a (d) TextBox


occurs. 7. is creates an input box with a tick
(a) packing (b) trigger
mark.
(c) cleaning (d) deletion (a) CheckBox (b) OptionBox
4. Events fired from components are han- (c) List (d) ToggleButton
dled by linked to those 8. is creates a box with a circular
events. dot, which can be receives tick only if all
(a) functions (b) properties
related boxes become switched off.
(c) variables (d) subroutines (a) CheckBox (b) OptionBox
(c) List (d) ToggleButton
Answers (482 - 485) 9. is creates a box with a triangular
button, clicking which displays a number
1. (c) 2. (a) 3. (b) 4. (d) of input values.
(a) ComboBox (b) OptionBox
(c) List (d) ToggleButton
2.22 GUI components in VBA 10. is creates a box with a scrollable
list containing a number of input values.
1. A large window which supports place- (a) ComboBox (b) OptionBox
ment of other components on its surface (c) List (d) ToggleButton
is called . 11. is creates a control which remains
(a) CommandButton
pressed or released after each click.
(b) Label (a) ComboBox (b) OptionBox
(c) UserForm (c) List (d) ToggleButton
(d) TextBox
12. is creates controls help to create
2. The member supports Run sets of components which can be brought
from Run menu of VBA IDE. to view by clicking a button at top.
(a) CommandButton
(a) TabStrip
(b) Label
(b) MultiPage
(c) UserForm
(c) both a & b
(d) TextBox
(d) neither a nor b
3. UserForm supports for control
13. control can be used to set nu-
of its window.
(a) maximize (b) iconify meric values in other components.
(c) close/ exit (d) all of them (a) SpinBox (b) Image
(c) RefEdit (d) Label
4. is suitable to start computation
after collecting required input data for 14. control can be used to display
processing. an image.
(a) CommandButton (a) SpinBox (b) Image
(b) Label (c) RefEdit (d) Label
(c) UserForm 15. control can be used to select
(d) TextBox a range from the spreadsheet when the
5. is suitable to display a prompt VBA program runs.
message to collect input data. (a) SpinBox (b) Image
(a) CommandButton (c) RefEdit (d) Label
(b) Label
(c) UserForm
(d) TextBox Answers (486 - 500)
6. is suitable to collect text input 1. (c) 2. (c) 3. (d) 4. (a)
from the user. 5. (b) 6. (d) 7. (a) 8. (b)
(a) CommandButton
(b) Label 9. (a) 10. (c) 11. (d) 12. (c)
(c) UserForm 13. (a) 14. (b) 15. (c)

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 33

2.23 Properties for VBA con- 6. When a VBA control is deactivated, it


generates event.
trols (a) DblClick (b) Deactivate
(c) Error (d) Click
1. Properties window can be displayed by
7. When a VBA control is encounters some
.
(a) choosing View− >Properties error, it generates event.
(b) pressing Alt+V+W (a) DblClick (b) Deactivate
(c) pressing F4 (c) Error (d) Click
(d) all of them 8. When a VBA control is initilized, it gen-
2. Properties window can be accessed by erates event.
(a) Initialize (b) KeyDown
placing a after the name of a (c) KeyPress (d) KeyUp
variable.
(a) dot (.) (b) $ 9. When a key in the keyboard is pressed
(c) # (d) ∧ with focus on a VBA control, it generates
event.
(a) Initialize (b) KeyDown
Answers (501 - 502) (c) KeyPress (d) KeyUp
10. When a key in the keyboard is pushed
1. (d) 2. (a) down with focus on a VBA control, it
generates event.
(a) Initialize (b) KeyDown
2.24 Events associated with (c) KeyPress (d) KeyUp
VBA controls 11. When a key in the keyboard is released
with focus on a VBA control, it generates
1. When a UserForm gets ready, event.
event is fired. (a) Initialize (b) KeyDown
(a) Activate (c) KeyPress (d) KeyUp
(b) BeforeDragOver 12. When mouse button is pushed down on a
(c) BeforeDropOrPaste VBA component, event is gener-
(d) Click ated.
When content is about to be dragged (a) MouseDown (b) MouseMove
2.
over a VBA control, it gets event. (c) MouseUp (d) QueryClose
(a) Activate 13. When mouse moves over a VBA compo-
(b) BeforeDragOver nent, event is generated.
(c) BeforeDropOrPaste (a) MouseDown (b) MouseMove
(d) Click (c) MouseUp (d) QueryClose
3. When some content is about to be droped 14. When mouse button is released after
or pasted on a VBA control, it gets clicking a VBA component,
event. event is generated.
(a) Activate (a) MouseDown (b) MouseMove
(b) BeforeDragOver (c) MouseUp (d) QueryClose
(c) BeforeDropOrPaste 15. When query closes, the UserForm in VBA
(d) Click receives event.
4. When a VBA control is clicked, it gener- (a) MouseDown (b) MouseMove
ates event. (c) MouseUp (d) QueryClose
(a) Activate
(b) BeforeDragOver
(c) BeforeDropOrPaste Answers (503 - 517)
(d) Click
1. (a) 2. (b) 3. (c) 4. (d)
5. When a VBA control is double clicked, it
5. (a) 6. (b) 7. (c) 8. (a)
generates event.
(a) DblClick (b) Deactivate 9. (c) 10. (b) 11. (d) 12. (a)
(c) Error (d) Click 13. (b) 14. (c) 15. (d)

Author: Dr.V.Nagaradjane
34 2.25. ACTIVEX DATA OBJECTS IN VBA

2.25 ActiveX data objects in 5. (a) 6. (b) 7. (a) 8. (b)


VBA
2.26 Debugging techniques in
1. A set of Windows components, each one
created for specific works related to con- VBA
tent downloaded from the World Wide
Web is called controls. 1. IDE stands for .
(a) ActiveX (b) X-Window (a) International Development Environment
(c) Visual (d) Spreadsheet (b) Internet Development Environment
2. In VBA, ADODC Connection object may (c) Integrated Development Environment
be enabled using menu. (d) Initial Development Environment
(a) Run− >Run 2. The IDE of VBA provides to indi-
(b) Tools− >References cate errors immediately on typing.
(c) File− >Close (a) coloring
(d) View− >Properties Window (b) popup
3. ADODC stands for . (c) both a & b
(a) ActiveX Device Object Data Control (d) neither a nor b
(b) Anti-Data Object Data Control 3. A breakpoint may be inserted using
(c) ActiveX Data Object Data Control .
(d) ActiveX Double Object Data Control (a) a click on the margin to the left of a line
4. ADODB stands for . (b) pressing F9 when cursor is in the line
(a) ActiveX Device Object Data Base (c) both a & b
(b) Anti-Data Object Data Base (d) neither a nor b
(c) ActiveX Data Object Data Base 4. When a runtime error occurs, choose
(d) ActiveX Double Object Data Base from the dialog to correct the pro-
5. ADODB Connection object may be ini- gram.
tilized using statement. (a) End (b) Debug
(a) Dim conn as New ADODB.Connection (c) Stop (d) Continue
(b) Dim rs as New ADODB.RecordSet 5. After program stops due to error or break-
(c) both a & b point, hovering mouse over a variable,
(d) neither a nor b .
(a) ignores the variable
6. ADODB RecordSet object may be ini-
(b) deletes the variable
tilized using statement.
(a) Dim conn as New ADODB.Connection (c) displays the value of the variable
(b) Dim rs as New ADODB.RecordSet (d) resets the variable
(c) both a & b 6. Using a variable on the right side of com-
(d) neither a nor b putaion expression without assigning any
method of ADODC connection value to the variable is may result in
7.
opens a database connection. .
(a) junk result
(a) Open (b) Close
(b) crashing of program
(c) Make (d) Query
(c) both a & b
8. In a query performed on data contained (d) neither a nor b
in Excel spreadsheet (say Sheet1), ta-
7. After program stops due to error or break-
ble name should be replaced by
point, trial code lines may be entered in
name.
(a) [Sheet1&] (b) [Sheet1$] to see the result of changes on the
(c) [Sheet1#] (d) [Sheet1%] program.
(a) Immediate Window
(b) Properties Window
Answers (518 - 525) (c) Code Window
(d) Project Explorer
1. (a) 2. (b) 3. (c) 4. (c)

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 35

8. After program stops due to error or break- (b) Choosing Run− >Break or pressing Ctrl+Break
point, execution can be moved to the (c) choosing Run− >Reset
start of a line by . (d) none of them
(a) choosing Debug− >Step Into
12. After program stops due to error or
(b) Pressing F8 breakpoint, one can break execution by
(c) both a & b .
(d) neither a nor b (a) choosing Run− >Continue
9. After program stops due to error or break- (b) Choosing Run− >Break or pressing Ctrl+Break
point, execution can be moved to the end (c) choosing Run− >Reset
of a lineby . (d) none of them
(a) choosing Debug− >Step Over 13. After program stops due to error or break-
(b) Pressing Shift+F8 point, one can reset the execution by
(c) both a & b .
(d) neither a nor b (a) choosing Run− >Continue
10. After program stops due to error or break- (b) Choosing Run− >Break or pressing Ctrl+Break
point, line by line execution may be ended (c) choosing Run− >Reset
by . (d) none of them
(a) choosing Debug− >Step Out
(b) Pressing Ctrl+Shift+F8
(c) both a & b Answers (526 - 538)
(d) neither a nor b
1. (c) 2. (c) 3. (c) 4. (b)
11. After program stops due to error or break-
5. (c) 6. (c) 7. (a) 8. (c)
point, one can continue execution by
9. (c) 10. (c) 11. (a) 12. (b)
.
(a) choosing Run− >Continue 13. (c)

Author: Dr.V.Nagaradjane
36 2.26. DEBUGGING TECHNIQUES IN VBA

Author: Dr.V.Nagaradjane
Chapter 3

Smart accounting

3.1 Basics of accounting (c) Journal Folio


(d) amount
1. Accounting is the of monetary 9. Third column of debit/ credit form is used
transactions. to record of transaction.
(a) recording (b) verfication (a) date
(c) tallying (d) all of them (b) particulars
2. Accounting is concerned with transact- (c) Journal Folio
tions involving . (d) amount
(a) money
10. Fourth column of debit/ credit form is
(b) no money used to record of transaction.
(c) movement of humans (a) date
(d) none of them (b) particulars
3. Accounting transactions relate to (c) Journal Folio
. (d) amount
(a) income/expense
11. The method of recording debit and credit
(b) asset/liability
sides separated by a line is nicknamed
(c) inventory
accounting.
(d) all of them (a) T (b) U
4. Form used to record accounting transac- (c) V (d) W
tions contains columns.
(a) 3 (b) 5
(c) 8 (d) 11 Answers (539 - 549)
5. First 4 columns of account sheet are used
for recording . 1. (d) 2. (a) 3. (d) 4. (c)
(a) credit (b) debit 5. (b) 6. (a) 7. (a) 8. (b)
(c) income (d) expense 9. (c) 10. (d) 11. (a)
6. Columns 5 to 8 of account sheet are used
for recording .
(a) credit (b) debit 3.2 Methods of accounting
(c) income (d) expense
7. First column of debit/ credit form is used 1. Accounting system which considers as-
to record of transaction. sets, liabilities, revenue and expense is
(a) date called method of accounting.
(b) particulars (a) British (b) American
(c) Journal Folio (c) Indian (d) none of them
(d) amount 2. Accounting system which considers per-
8. Second column of debit/ credit transac- sonal account, real account and nominal
tion is used to record of trans- account is called method of ac-
action. counting.
(a) date (a) British (b) American
(b) particulars (c) Indian (d) none of them

37
38 3.3. ACCOUNTING CONCEPT

3. Recording of debits and credits of indi- (b) Money measurement


viduals, bank accounts or other business (c) Going concern
sources is called account. (d) Dual aspect
(a) real (b) nominal 5. concept in accounting consid-
(c) personal (d) none of them ers that only the actual cost of transac-
4. Recording of debits and credits related tion should be recorded (not the market
to movable assets, immovable assets, in- value of the transaction).
ventory (stock needed for production) is (a) Cost
called account. (b) Accounting period
(a) real (b) nominal (c) Matching cost
(c) personal (d) none of them (d) Accrual
5. Recording of debits and credits related
6. concept in accounting consid-
to income, expense, inflow of money and
ers that cost of manufacture should be
outflow of money is called ac-
matched against the proceeds of sales.
count. (a) Cost
(a) real (b) nominal
(c) personal (d) none of them (b) Accounting period
(c) Matching cost
(d) Accrual
Answers (550 - 554) 7. concept in accounting consid-
ers that an account should be closed on
1. (b) 2. (a) 3. (c) 4. (a) a periodic basis and reopened.
5. (b) (a) Cost
(b) Accounting period
(c) Matching cost
3.3 Accounting concept (d) Accrual
8. concept in accounting consid-
1. concept in accounting consid-
ers that revenue is recorded on the date
ers the business and its owner are differ-
of transaction itself but expenditure is
ent entities.
(a) Business entity recorded only on the date of outflow of
(b) Money measurement money (not the date of transaction, like
(c) Going concern encashing a cheque).
(d) Dual aspect (a) Cost
concept in accounting con- (b) Accounting period
2.
siders that only transactions involving (c) Matching cost
money should be recorded. (d) Accrual
(a) Business entity 9. concept in accounting consid-
(b) Money measurement ers that each transaction should be sup-
(c) Going concern ported by evidence.
(d) Dual aspect (a) Objective evidence
3. concept in accounting consid- (b) Accounting period
ers that the business is a perpetual entity. (c) Matching cost
(a) Business entity (d) Accrual
(b) Money measurement
(c) Going concern
(d) Dual aspect Answers (555 - 563)
4. concept in accounting consid- 1. (a) 2. (b) 3. (c) 4. (d)
ers that each debit has a corresponding 5. (a) 6. (c) 7. (b) 8. (d)
credit. 9. (a)
(a) Business entity

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 39

3.4 Golden rules of double en- (a) Accrual basis


(b) Asset
try system (c) Credit
(d) Debit
1. account debits the receiver
and credits the giver. 6. considers that each debit has
(a) personal (b) real a corresponding credit.
(c) nominal (d) none of them (a) Double entry accounting
(b) Expense
2. account debits the incoming
(c) Income or revenue
asset and credits the outgoing asset.
(a) personal (b) real (d) Debit
(c) nominal (d) none of them 7. considers outflow of money
3. account debits expense and for the inflow of goods/ services.
(a) Double entry accounting
credits the income.
(a) personal (b) real (b) Expense
(c) nominal (d) none of them (c) Income or revenue
(d) Debit
8. considers inflow of money to
Answers (564 - 566) the business due to sales.
(a) Double entry accounting
1. (a) 2. (b) 3. (c) (b) Expense
(c) Income or revenue
(d) Debit
3.5 Accounting termonologies
1. is a record of all monetary Answers (567 - 574)
transactions.
(a) Accrual basis 1. (d) 2. (c) 3. (a) 4. (b)
(b) Asset 5. (d) 6. (a) 7. (b) 8. (c)
(c) Credit
(d) Account
2. denotes increase in money. 3.6 Voucher entry
(a) Accrual basis
(b) Asset 1. The evidence/ proof of a financial trans-
(c) Credit action is called .
(d) Debit (a) amount (b) particulars
(c) date (d) voucher
3. considers incoming money
to be instantly available and reduction of 2. is a format for recording finan-
cash to occur only on the date of actual cial transactions.
(a) amount (b) particulars
outflow of money (instead of the date of
(c) date (d) voucher
transaction).
(a) Accrual basis 3. Voucher has sides.
(b) Asset (a) 2 (b) 3
(c) Credit (c) 5 (d) 7
(d) Debit 4. The left side of a voucher is meant for
4. denotes movable or immov- entries.
(a) rough (b) unrelated
able property and inventory.
(a) Accrual basis (c) credit (d) debit
(b) Asset 5. The right side of a voucher is meant for
(c) Credit entries.
(a) rough (b) unrelated
(d) Debit
(c) credit (d) debit
5. denotes reduction in money
6. voucher changes inventory posi-
or increase in liability.
tion.

Author: Dr.V.Nagaradjane
40 3.7. PREPARATION OF FINAL ACCOUNTS

(a) Accounting (b) Inventory 3.7 Preparation of final ac-


(c) Cash (d) Contra
counts
7. voucher changes monetary po-
sition. Final accounts are prepared at
(a) Accounting (b) Inventory 1.
(c) Contra (d) none of them .
(a) beginning of financial year
8. voucher transfers money from (b) beginning of each working day
one deposit/loan account to another. (c) end of each working day
(a) Accounting (b) Inventory (d) end of accounting period (financial year/ quar-
(c) Contra (d) none of them ter/ month)
9. Vouchers are before posting 2. is an important accounts pre-
them in ledgers. pared at the end of accounting period.
(a) torn off (b) thrown aside (a) Balance sheet
(c) discarded (d) journalized (b) Profit and Loss account
10. Transferring voucher entries to a ledger is (c) Trading account
called in ledger. (d) all of them
(a) tearing (b) posting 3. The statement which shows the total
(c) erasing (d) removing debits and liabilities on the left side and
11. Journal entries carry the name of credits and assets on the right side is
in which the transaction is to called .
be posted. (a) balance sheet
(a) account (b) voucher (b) trading account
(c) journal (d) ledger (c) profit and loss account
12. The process of entering finalized financial (d) cash account
transaction in a ledger is called . 4. To finalize a balance sheet, is
(a) posting (b) tearing prepared with the aim of making correc-
(c) erasing (d) removing tions.
(a) profit and loss account
13. Each ledger belongs to a specific
(b) Stock & Inventory
.
(a) voucher (c) trial balance
(b) journal (d) cash flow account
(c) account group 5. Balance sheet and profit & loss ac-
(d) inventory counts are prepared according to schedule
14. A journal entry from the debit side is en- of Companies Act.
tered in side of ledger. (a) I (b) III
(a) debit (b) credit (c) IV (d) VI
(c) centre (d) margin
15. A journal entry from the credit side is en- Answers (590 - 594)
tered in side of ledger.
(a) debit (b) credit 1. (d) 2. (d) 3. (a) 4. (c)
(c) centre (d) margin 5. (d)

Answers (575 - 589) 3.8 Cash book


1. (d) 2. (d) 3. (a) 4. (d)
5. (c) 6. (b) 7. (a) 8. (c) 1. All inflow and outflow of money is
9. (d) 10. (b) 11. (d) 12. (a) recorded in .
(a) cash book
13. (c) 14. (a) 15. (b) (b) inventory ledger
(c) purchase ledger
(d) sales ledger

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 41

2. Bank withdrawal, receipt of cash from in- (a) current


vestor, proceeds of sale, etc. are entered (b) quick
in side of cash book. (c) absolute liquid
(a) top (b) margin (d) gross profit
(c) debit (d) credit 6. The ratio between net profit after
3. Salary payment, rent payment, phone taxes and shareholders net worth
bill, electricity bill, etc. are entered in net prof it af ter taxes

shareholders networth
is called
side of cash book. ratio.
(a) top (b) margin (a) net worth
(c) debit (d) credit (b) price earnings (PE)
(c) dividend yield
(d) net profit
Answers (595 - 597)
7. The ratio between dividend per
1. (a) 2. (c) 3. (d) share
 and market value per share
dividend per share
market value per share
is called
ratio.
3.9 Ratio analysis (a) net worth
(b) price earnings (PE)
1. Measuring performance of a company (c) dividend yield
against potential for performance is called (d) net profit
. 8. The ratio between market price
(a) voucher
(b) ratio analysis per
 share and earning  per share
market price per share
(c) journal earning per share
is called
(d) ledger ratio.
(a) net worth
2. The ratio between current assets  and cur-
current assets (b) price earnings (PE)
rent liabilities current liabilities is called
(c) dividend yield
ratio.
(a) current (d) net profit
(b) quick 9. The ratio between operating profit
and net sales operating prof it

(c) absolute liquid net sales
is called
(d) gross profit ratio.
(a) net worth
3. The ratio between liquid assets and cur-
liquid assets (b) price earnings (PE)
rent liabilities current liabilities
is called
(c) dividend yield
ratio.
(a) current (d) net profit
(b) quick 10. The ratio between  net sales  and in-
(c) absolute liquid net sales
ventory value inventory value
is called
(d) gross profit ratio.
4. The ratio between absolute liq- (a) inventory
uid assets and current liabilities (b) price earnings (PE)
absolute liquid assets
is called (c) overall profit ratio
current liabilities
ratio. (d) net profit
(a) current The ratio between
(b) quick
11.
net prof it
 net profit and total as-
sets total assets is called ra-
(c) absolute liquid tio.
(d) gross profit (a) inventory
The ratio between (b) price earnings (PE)
5.
gross prof it
 gross profit and net
sales net sales is called ra- (c) overall profitability
tio. (d) divident yield

Author: Dr.V.Nagaradjane
42 3.10. DEPRECIATION

Answers (598 - 608) (d) none of them


8. Book value of a product based on units
1. (b) 2. (a) 3. (b) 4. (c) of production method is .
5. (d) 6. (a) 7. (c) 8. (b) (a) bookvalue = assetcost −
9. (d) 10. (a) 11. (c) asset value−salvage value
lif e span
× age
(b) bookvalue = assetcost −
asset value−salvage value
× production made
3.10 Depreciation production capacity
(c) bookvalue = assetcost − 2 ×
The reduction in value of an asset with straight line depreciation ×
1.
passage of time is called . previous book value
(a) appreciation (b) depreciation (d) none of them
(c) escalation (d) inflation 9. Book value of a product based on double
The initial cost of an asset is called depreciation method is .
2.
(a) bookvalue = assetcost −
. asset value−salvage value
(a) asset value lif e span
× age
(b) book value (b) bookvalue = assetcost −
asset value−salvage value
(c) salvage value production capacity
× production made
(d) lifespan (c) bookvalue = assetcost − 2 ×
3. The present cost of an asset after allow- straight line depreciation ×
ing for depreciation is called . previous book value
(a) asset value (d) none of them
(b) book value
(c) salvage value
(d) lifespan Answers (609 - 617)
4. The amount of money obtainable through 1. (b) 2. (a) 3. (b) 4. (c)
the disposal of an asset after useful lifes- 5. (d) 6. (d) 7. (a) 8. (b)
pan is called . 9. (c)
(a) asset value
(b) book value
(c) salvage value 3.11 Stock management
(d) lifespan
5. The duration of useful service period of 1. Purchase, storage and disposal of stock
an asset is called . is called management.
(a) asset value (a) stock (b) cash
(b) book value (c) account (d) reorder
(c) salvage value
(d) lifespan 2. The safe stock level at which placing
fresh order will just allow fresh stock to
6. At the end of every year, the book value
reach before old stock depletes is called
of an asset is recorded after allowing re-
level.
duction for . (a) stock (b) cash
(a) asset value
(c) account (d) reorder
(b) book value
(c) salvage value 3. Storing more stock than necessary for
(d) depreciation production/ sale, thus reducing cash
availability is called level.
7. Book value of a product based on straight (a) stock
line depreciation is . (b) overstocking
(a) bookvalue = assetcost −
asset value−salvage value (c) understocking
lif e span
× age
(d) reorder
(b) bookvalue = assetcost −
asset value−salvage value
production capacity
× production made
(c) bookvalue = assetcost − 2 ×
straight line depreciation ×
previous book value
Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 43

4. Storing very low reserve stock resulting 3.13 Cash & fund flow
in disruption of production/sale is called
level. 1. Movement of money into and out of a
(a) stock business is called flow.
(b) overstocking (a) stock (b) cash
(c) understocking (c) rate (d) VAT
(d) reorder 2. Inflow and outflow of money in a business
is called flow.
(a) stock (b) cash
Answers (618 - 621) (c) rate (d) VAT
3. Inflow of money the strength of
1. (a) 2. (d) 3. (b) 4. (c)
business.
(a) increases
(b) decreases
3.12 VAT (c) does not affect
(d) none of them
1. VAT stands for in taxation.
(a) Value Added Tax 4. Outflow of money the strength
(b) Value Amount Tax of business.
(a) increases
(c) Visual Added Tax (b) decreases
(d) Value Asset Tax (c) does not affect
2. The difference between sales value and (d) none of them
purchase value of a product is called 5. Money held in the form of account bal-
. ance and cash is generally called .
(a) value addition (a) fund (b) liquid money
(b) rate (c) voucher (d) journal
(c) cost
6. Inflow and outflow of funds in the form
(d) sales
of currency and account balance is called
.
(a) stock flow (b) ledger
Answers (622 - 623) (c) voucher (d) fund flow
1. (a) 2. (a)

Author: Dr.V.Nagaradjane
44 3.14. TALLY

Answers (624 - 629) (d) cash


10. Balance sheet is produced
1. (b) 2. (b) 3. (a) 4. (b) when accounts are maintained in Tally.
5. (a) 6. (d) (a) manually
(b) automatically
(c) remotely
3.14 Tally (d) randomly
Tally is a software. 11. The statement of account debits, credits,
1.
assets and liabilities is called .
(a) spreadsheet (b) accounting (a) stock & inventory report
(c) publishing (d) animation (b) profit & loss account
2. Tally supports accounting types. (c) balance sheet
(a) cash (b) payroll (d) cash balance
(c) inventory (d) all of them
3. Tally can maintain accounts for
company/companies. Answers (630 - 640)
(a) 9 (b) 99
(c) 99,999 (d) 100 1. (b) 2. (d) 3. (c) 4. (a)
5. (c) 6. (d) 7. (b) 8. (d)
4. Tally can provide to each com-
9. (a) 10. (b) 11. (c)
pany.
(a) password security
(b) no security
(c) barrier
3.15 Accounting in Tally
(d) wrapper
1. Pressing button in the Gateway
5. Tally can maintain accounts. of Tally opens company info in Tally.
(a) tax accounts (a) Alt+F3 (b) F11
(b) liabilities accounts (c) F5 (d) F6
(c) both a & b Pressing key opens accounting
2.
(d) none of them features.
6. Tally allows data entry in lan- (a) Alt+F3 (b) F11
guage(s). (c) F5 (d) F6
(a) only Tamil 3. Payroll, budgeting and scenario manage-
(b) only English ment may be enabled through
(c) only Hindi menu in Tally.
(d) many Indian/Asian (a) Accounting Features
7. Tally supports system of ac- (b) Inventory Features
counting. (c) Statutory and Taxation
(a) single entry (b) double entry (d) none of them
(c) no entry (d) null entry 4. Account Groups, Ledgers, Budget and
8. Tally generates report(s) au- scenario are available under in
tomatically based on voucher/ journal en- Tally.
tries. (a) Payroll Info
(a) balance sheet (b) Inventory Info
(b) stock report (c) Accounts Info
(c) profit & loss account (d) none of them
(d) all of them
5. Inventory groups, (categories, if needed),
9. Tally can maintain for stock items, units of measure, reorder level, in-
keeping, so that fresh invetory may arrive ventory vouchers, etc. are available under
before the old stock is exhausted. in Tally.
(a) reorder level
(a) Payroll Info
(b) profit
(c) loss (b) Inventory Info

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 45

(c) Accounts Info 9. is the shortcut to company


(d) none of them info from from Gateway of Tally.
Employee groups, employee, atten- (a) F1 (b) Alt+F1
6.
dance/production types, pay heads, (c) Alt+F2 (d) Alt+F3
salary details, voucher types, etc. are 10. is the shortcut to inventory
available under in Tally. buttons from Accounting Vouchers in
(a) Payroll Info Tally.
(b) Inventory Info (a) Alt+F1 (b) Ctrl+F1
(c) Accounts Info (c) F7 (d) F8
(d) none of them 11. is the shortcut to payroll but-
tons from Accounting Vouchers in Tally.
(a) Alt+F1 (b) Ctrl+F1
Answers (641 - 646) (c) F7 (d) F8
12. is the shortcut to Journal from
1. (a) 2. (b) 3. (a) 4. (c)
Accounting Vouchers in Tally.
5. (b) 6. (a) (a) Alt+F1 (b) Ctrl+F1
(c) F7 (d) F8
3.16 Shortcuts in Tally 13. is the shortcut to sales
voucher from Accounting Vouchers in
is the shortcut to set date in Tally.
1.
(a) Alt+F1 (b) Ctrl+F1
Tally.
(a) F6 (b) F5 (c) F9 (d) F8
(c) F4 (d) F2 14. is the shortcut to purchase
is the shortcut to create contra voucher from Accounting Vouchers in
2.
voucher in Tally. Tally.
(a) F6 (b) F5 (a) Alt+F1 (b) Ctrl+F1
(c) F4 (d) F2 (c) F9 (d) F8
is the shortcut to create pay- 15. is the shortcut to credit note
3.
ment voucher in Tally. from Accounting Vouchers in Tally.
(a) F6 (b) F5 (a) Alt+F1 (b) Ctrl+F1
(c) F4 (d) F2 (c) Ctrl+F9 (d) Ctrl+F8
is the shortcut to create receipt 16. is the shortcut to debit note
4.
voucher in Tally. from Accounting Vouchers in Tally.
(a) F6 (b) F5 (a) Alt+F1 (b) Ctrl+F1
(c) F4 (d) F2 (c) Ctrl+F9 (d) Ctrl+F8
is the shortcut to configure a 17. is the shortcut to revers-
5.
compnany in Tally. ing journal from Accounting Vouchers in
(a) F6 (b) F5 Tally.
(c) F4 (d) F12 (a) F10 (b) Ctrl+F10
(c) Alt+I (d) Alt+V
6. is the shortcut to select a com-
pany in Tally. 18. is the shortcut to revers-
(a) F1 (b) Alt+F1 ing journal from Accounting Vouchers in
(c) Alt+F2 (d) Alt+F3 Tally.
(a) F10 (b) Ctrl+F10
7. is the shortcut to change the
(c) Alt+I (d) Alt+V
accounting period from Gateway of Tally.
(a) F1 (b) Alt+F1 19. is the shortcut to Memos from
(c) Alt+F2 (d) Alt+F3 Accounting Vouchers in Tally.
(a) F10 (b) Ctrl+F10
8. is the shortcut to shut a com-
(c) Alt+I (d) Alt+V
pany in Tally.
(a) F1 (b) Alt+F1 20. is the shortcut to Account-
(c) Alt+F2 (d) Alt+F3 ing Invoice from Accounting Vouchers in
Tally.
Author: Dr.V.Nagaradjane
46 3.17. DOUBLE ENTRY SYSTEM IN TALLY

(a) F10 (b) Ctrl+F10 (a) Alt+F6 (b) Ctrl+F6


(c) Alt+I (d) Alt+V (c) Alt+F8 (d) Alt+F9
21. is the shortcut to voucher 33. is the shortcut to rejection out
as invoice from Accounting Vouchers in from Inventory Vouchers in Tally.
Tally. (a) Alt+F6 (b) Ctrl+F6
(a) F10 (b) Ctrl+F10 (c) Alt+F8 (d) Alt+F9
(c) Alt+I (d) Ctrl+V 34. is the shortcut to Indent from
22. is the shortcut to post dated Inventory Vouchers in Tally.
voucher from Accounting Vouchers in (a) Alt+F6 (b) Ctrl+F7
Tally. (c) Alt+F8 (d) Alt+F9
(a) Ctrl+T (b) Ctrl+F10 is the shortcut to delivery note
35.
(c) Alt+I (d) Ctrl+V from Inventory Vouchers in Tally.
23. is the shortcut to optional (a) Alt+F6 (b) Ctrl+F7
voucher from Accounting Vouchers in (c) Alt+F8 (d) Alt+F9
Tally. 36. is the shortcut to receipt note
(a) Ctrl+T (b) Ctrl+L
from Inventory Vouchers in Tally.
(c) Alt+I (d) Ctrl+V (a) Alt+F6 (b) Ctrl+F7
24. is the shortcut to Payroll from (c) Alt+F8 (d) Alt+F9
Payroll Vouchers in Tally.
(a) Alt+A (b) Alt+S
(c) Ctrl+F5 (d) Alt+F4 Answers (647 - 682)
25. is the shortcut to Attendance
from Payroll Vouchers in Tally. 1. (d) 2. (c) 3. (b) 4. (a)
(a) Alt+A (b) Alt+S 5. (d) 6. (a) 7. (c) 8. (b)
(c) Ctrl+F5 (d) Ctrl+F4 9. (d) 10. (a) 11. (b) 12. (c)
26. is the shortcut to Payroll as 13. (d) 14. (c) 15. (d) 16. (c)
Voucher from Payroll Vouchers in Tally. 17. (a) 18. (a) 19. (b) 20. (c)
(a) Alt+A (b) Alt+S 21. (d) 22. (a) 23. (b) 24. (c)
(c) Ctrl+F5 (d) Ctrl+F4 25. (d) 26. (b) 27. (a) 28. (a)
27. is the shortcut to Payroll Aut- 29. (b) 30. (d) 31. (c) 32. (b)
ofill from Payroll Vouchers in Tally. 33. (a) 34. (b) 35. (c) 36. (d)
(a) Alt+A (b) Alt+S
(c) Ctrl+F5 (d) Ctrl+F4
28. is the shortcut to purchase or- 3.17 Double entry system in
der from Payroll Vouchers in Tally. Tally
(a) Alt+F4 (b) Alt+F5
(c) Ctrl+F5 (d) Ctrl+F4 Tally maintains account using
1.
29. is the shortcut to sales order entry sytem of accounting.
from Payroll Vouchers in Tally. (a) single (b) double
(a) Alt+F4 (b) Alt+F5 (c) triple (d) quadruple
(c) Ctrl+F5 (d) Ctrl+F4
2. Entering each transaction in debit and
30. is the shortcut to physical credit columns is called entry
stock verification from Inventory Vouch- system of accounting.
ers in Tally. (a) single (b) double
(a) Alt+F4 (b) Alt+F5 (c) triple (d) quadruple
(c) Alt+F7 (d) Alt+F10
31. is the shortcut to stock journal
from Inventory Vouchers in Tally. Answers (683 - 684)
(a) Alt+F4 (b) Alt+F5
(c) Alt+F7 (d) Alt+F10 1. (b) 2. (b)
32. is the shortcut to rejection in
from Inventory Vouchers in Tally.

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 47

3.18 Budgeting system in Tally (a) do not affect


(b) affect
1. Budget in Tally is available under (c) change
menu in Tally. (d) permanently damage
(a) GoT− >Payroll Info Scenarios can be created using
4.
(b) GoT− >Inventory Info menu in Tally.
(c) GoT− >Accounting Info (a) GoT− >Accounts Info− >Groups− >Create
(d) none of them (b) GoT− >Accounts Info− >Ledgers− >Create
2. Prior allocation of money for specific pur- (c) GoT− >Accounts
poses using Tally is called . Info− >Scenarios− >Create
(a) budgeting (d) GoT− >Accounts Info− >Budgets− >Create
(b) scenario 5. Extra columns may be added to the origi-
(c) inventory nal Trial Balance using menu
(d) voucher entry in Trial Balance.
3. Budgets can be created using (a) Budget (Alt+B)
menu in Tally. (b) Column (Alt+C)
(a) GoT− >Accounts Info− >Groups− >Create (c) F6
(b) GoT− >Accounts Info− >Ledgers− >Create (d) F7
(c) GoT− >Accounts 6. Reversing journal entries may be made to
Info− >Scenarios− >Create scenario using shortcut under
(d) GoT− >Accounts Info− >Budgets− >Create Accounting Vouchers in Tally.
4. Progress of expenses against budget (a) F5 (b) F6
allocation may be compared to the (c) F7 (d) F10
trial balance of original company using 7. is the shortcut to delete an
menu in Trial Balance. item in Tally.
(a) Budget (Alt+B)
(a) Alt+D (b) Alt+Q
(b) Column (Alt+C)
(c) Alt+P (d) Alt+G
(c) F6
(d) F7 8. is the shortcut to quit/ exit/
close Tally.
(a) Alt+D (b) Alt+Q
Answers (685 - 688) (c) Alt+P (d) Alt+G
9. is the shortcut to Print a re-
1. (c) 2. (a) 3. (d) 4. (a) port from Tally.
(a) Alt+D (b) Alt+Q
(c) Alt+P (d) Alt+G
3.19 Scenario 10. is the shortcut to change the
language in Tally.
1. Creating a hypothetical situation for a (a) Alt+D (b) Alt+Q
company is called . (c) Alt+P (d) Alt+G
(a) budgeting
(b) scenario 11. is the shortcut to duplicate a
(c) inventory voucher in Tally.
(a) Alt+2 (b) Alt+A
(d) voucher entry
(c) Alt+C (d) Alt+E
2. The voucher created for scenario is called
voucher. 12. is the shortcut to add a
(a) purchase voucher in Tally.
(b) sales (a) Alt+2 (b) Alt+A
(c) reversing journal (c) Alt+C (d) Alt+E
(d) payment 13. is the shortcut to export a re-
3. Reversing journal entries made for sce- port to different format in Tally.
nario the original account of (a) Alt+2 (b) Alt+A
company. (c) Alt+C (d) Alt+E

Author: Dr.V.Nagaradjane
48 3.20. VARIANCE & RATIO ANALYSIS

14. is the shortcut to create a (a) balance sheet


master at a voucher screen in Tally. (b) profit and loss accounts
(a) Alt+2 (b) Alt+A (c) balance sheet & profit and loss accounts
(c) Alt+C (d) Alt+E (d) none of them
2. Statements of account like trial bal-
Answers (689 - 702) ance, day book, account books, state-
ment of accounts, inventory books, state-
1. (b) 2. (c) 3. (a) 4. (c) ment of inventory, statutory info, statu-
5. (b) 6. (d) 7. (a) 8. (b) tory reports, cash/fund flow, list of ac-
9. (c) 10. (d) 11. (a) 12. (b) counts, exception reports are available
13. (d) 14. (c) under menu in Tally.
(a) GoT− >Display
(b) GoT− >Accounting Info
3.20 Variance & ratio analysis (c) GoT− >Inventory Info
(d) GoT− >Payroll Info
1. Comparison of company performance
against budget goals is called .
(a) variance analysis Answers (707 - 708)
(b) trial balance
(c) balance sheet 1. (c) 2. (a)
(d) profit & loss accounts
2. Cost centre can be created using 3.22 Inventory basics
menu in Features (F11) at
Gateway of Tally.
1. Stock maintained for production purpose
(a) Accounting features
is called .
(b) Inventory features (a) ledger
(c) Statutory & taxation (b) payroll
(d) none of them (c) trial balance
3. A number ranging from 0 to 1 (or as a (d) inventory
percentage) to measure the performance Invetory of general type can be created
2.
of company against its potential is called using menu.
. (a) GoT− >Accounting Info− >Groups− >Create
(a) scenarios
(b) GoT− >Invetory Info− >Groups− >Create
(b) budgets
(c) GoT− >Payroll Info− >Groups− >Create
(c) ratio analysis
(d) none of them
(d) voucher
3. is an optional grouping of in-
4. Ratio analysis is available under
ventory which can be accessed through
menu.
(a) GoT− >Balance Sheet Features (F11)− >Inventory features.
(b) GoT− >Stock & Inventory Report (a) Category
(c) GoT− >Profit & Loss Accounts (b) Group
(d) GoT− >Ratio Analysis (c) Item
(d) Inventory Voucher
4. Items can be created under given cate-
Answers (703 - 706) gory using menu in Tally.
(a) GoT− >Accounting
1. (a) 2. (a) 3. (c) 4. (d) Info− >Ledgers− >Create
(b) GoT− >Invetory Info− >Items− >Create
(c) GoT− >Payroll Info− >Employees− >Create
3.21 Analysis of financial state- (d) none of them
ments
1. Schedule VI of Companies Act specifies
the format for report.
Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 49

5. is the shortcut for purchase or- Answers (717 - 720)


der in Tally.
(a) F8 (b) F9 1. (d) 2. (b) 3. (a) 4. (a)
(c) Alt+F4 (d) Alt+F5
6. is the shortcut for sales order
in Tally. 3.24 Taxation in Tally
(a) F8 (b) F9
(c) Alt+F4 (d) Alt+F5 1. In taxation, TDS stands for .
is the shortcut for purchase (a) Tax Deviation at Source
7.
voucher in Tally. (b) Tax Deduted at Station
(a) F8 (b) F9 (c) Tax Deduted at Source
(c) Alt+F4 (d) Alt+F5 (d) Tariff Dedution at Source
8. is the shortcut for sales 2. In taxation, TCS stands for .
voucher in Tally. (a) Tax Creation at Source
(a) F8 (b) F9 (b) Tax Collected at Source
(c) Alt+F4 (d) Alt+F5 (c) Tax Combined at Source
(d) Tariff Collected at Station
3. In taxation, FBT stands for .
Answers (709 - 716) (a) Fringe Benefit Tax
(b) Frame Benefit Tax
1. (d) 2. (b) 3. (a) 4. (b)
(c) Fast Benefit Tax
5. (c) 6. (d) 7. (b) 8. (a)
(d) Fringe Benefit Tariff
4. In taxation, VAT stands for .
3.23 POS Invoicing (a) Value Assigned Tax
(b) Value Approved Tax
1. POS stands for in accounting/ (c) Value Added Transaction
Tally. (d) Value Added Tax
(a) Purchase of Sale 5. The tax collected by the employer to-
(b) Point of Safety wards income of an employee is called
(c) Purpose of Sale .
(d) Point of Sale (a) Tax Deducted at Source (TDS)
2. Point of sale voucher can be created from (b) Tax Collected at Source (TCS)
menu in Tally. (c) Fringe Benefit Tax (FBT)
(a) GoT− >Accounting Info− >Vouchers (d) Value Added Tax (VAT)
(b) GoT− >Inventory Info− >Vouchers 6. The tax collected by the seller from the
(c) GoT− >Payroll Info− >Attendance buyer is generally called .
(d) none of them (a) Tax Deducted at Source (TDS)
3. The head of account for a POS voucher (b) Tax Collected at Source (TCS)
should be under . (c) Fringe Benefit Tax (FBT)
(a) Sales (d) Value Added Tax (VAT)
(b) Purchase 7. The tax payable towards to perks/ small
(c) Expense (Direct) benefits offered by the employer to the
(d) Income (Indirect) employees through extra means other
4. POS voucher entry can be made from than salary is called .
menu in Tally. (a) Tax Deducted at Source (TDS)
(a) GoT− >Accounting Vouchers− >Sales (b) Tax Collected at Source (TCS)
Voucher (F8) (c) Fringe Benefit Tax (FBT)
(b) GoT− >Inventory Vouchers− >Purchase (d) Value Added Tax (VAT)
Vouchers 8. The tax on the value added to an item is
(c) GoT− >Inventory Vouchers− >Sales Vouchers
(d) GoT− >Payroll Vouchers− >Payroll called .
(a) Tax Deducted at Source (TDS)

Author: Dr.V.Nagaradjane
50 3.25. LANGUAGES IN TALLY

(b) Tax Collected at Source (TCS) 5. (a) 6. (b) 7. (c) 8. (d)


(c) Fringe Benefit Tax (FBT) 9. (b) 10. (a)
(d) Value Added Tax (VAT)
9. In Tally, taxation details can be controlled
through . 3.25 Languages in Tally
(a) GoT− >Features (F11)− >Payroll Processing
(b) GoT− >Features (F11)− >Statutory & Taxa- 1. Language of Tally user interface can be
tion changed using in Tally Window.
(c) GoT− >Features (F11)− >Cash Centres (a) Languages (Alt+G)
(d) GoT− >Features (F11)− >Godowns (b) Delete (Alt+D)
10. In Tally, taxation details can be controlled (c) Print (Alt+P)
through . (d) Quit (Alt+Q)
(a) GoT− >Display− >Statutory Reports 2. Tally ERP 9 supports about lan-
(b) GoT− >Display− >Statement of Accounts guages.
(c) GoT− >Display− >Trial Balance (a) 1 (b) 2
(d) GoT− >Display− >Ratio Analysis (c) 3 (d) 13

Answers (721 - 730) Answers (731 - 732)


1. (c) 2. (b) 3. (a) 4. (d) 1. (a) 2. (d)

Author: Dr.V.Nagaradjane
Chapter 4

E-Commerce

4.1 Introduction to E- (a) C2B or Consumer to Business


(b) B2C or Business to Consumer
Commerce (c) B2B or Business to Business
(d) C2C or Consumer to Consumer
1. Sale or purchase of items without physi-
cally visiting a shop is called . 4. When the seller and the buyer are both
(a) E-Commerce individuals, it is called model of
(b) Point of Sale (POS) E-Commerce.
(a) C2B or Consumer to Business
(c) Goods and Services
(b) B2C or Business to Consumer
(d) Disposal
(c) B2B or Business to Business
2. E-Commerce may be carried out using (d) C2C or Consumer to Consumer
modes.
(a) SMS/ phone conversation
(b) Web
(c) email
Answers (735 - 738)
(d) all of them 1. (c) 2. (b) 3. (a) 4. (d)

Answers (733 - 734) 4.3 Scope of E-Commerce


1. (a) 2. (d) platforms
1. The geographical domain of business of
4.2 Types of E-Commerce an E-Commerce platform is called
of the platform.
1. When the seller and the buyer are both (a) length (b) height
business firms, it is called model (c) scope (d) sales
of E-Commerce.
(a) C2B or Consumer to Business 2. E-Commerce platforms like Quikr, OLX,
(b) B2C or Business to Consumer etc. have scope of business.
(c) B2B or Business to Business (a) National (b) local
(d) C2C or Consumer to Consumer (c) Global (d) none of them
2. When the seller is a business and the is 3. E-Commerce platforms like Snapdeal,
an individual consumer, it is called Flipkart, Shopclues, etc. have
model of E-Commerce. scope of business.
(a) C2B or Consumer to Business (a) National (b) local
(b) B2C or Business to Consumer (c) Global (d) none of them
(c) B2B or Business to Business 4. E-Commerce platforms like amazon,
(d) C2C or Consumer to Consumer eBay, etc. have scope of busi-
3. When the seller is an individual and the ness.
buyer is a business firm, it is called (a) National (b) local
model of E-Commerce. (c) Global (d) none of them

51
52 4.4. BENEFITS OF E-COMMERCE

Answers (739 - 742) 4.5 Capabilities required for E-


1. (c) 2. (b) 3. (a) 4. (c) Commerce platform
1. in an E-Commerce platform
4.4 Benefits of E-Commerce helps to keep selected products until
checkout/ payment.
1. Benefit of E-Commerce platform is/are (a) basket (b) cart
. (c) tray (d) plate
(a) Competitive pricing to benefit both seller and 2. Items added to the cart of an E-
buyer Commerce platform are checked out after
(b) large number of products to choose from .
(c) ability to buy products not available in the local (a) payment (b) order on COD
market (c) both a & b (d) none of them
(d) all of them
3. After placing an order, the buyer is pro-
2. Description of a product by the seller vided for tracking the progress of
might , which will result in cus- shipment till delivery.
tomer dissatisfaction. (a) Waybill number
(a) not match the product
(b) postal registration number
(b) be inadequate
(c) consignment tracking ID
(c) omit certain defects
(d) any one of a, b or c
(d) all of them
4. After delivering a product and its ac-
3. During transit, a product might
ceptance by the buyer, the seller gets
, which will result in cus-
.
tomer dissatisfaction. (a) payment for the transaction
(a) get damaged
(b) delisted
(b) get broken
(c) penalized for the transaction
(c) be affected by excess light/ radiation
(d) scolded through email
(d) all of them
5. After completing an E-Commerce trans-
4. After ordering a product, the buyer might
action, the seller and buyer should be
the product, which will result
provided an opportunity to their
in unnecessary transport expense to the
transaction experience.
seller. (a) undo
(a) fail to pay for
(b) reject (b) regret
(c) find defects in (c) provide rating for
(d) all of them (d) forget
5. The delivery for the buyer of E-Commerce 6. The E-Commerce platform should pro-
platform , thus resulting in dis- vide facility for transaction for
satisfaction to the buyer. electronic payment.
(a) might not reach on promised date (a) unprotected (b) secure
(b) may reach as per schedule (c) unsafe (d) uncontrolled
(c) may reach in good condition 7. The payment gateway of an E-Commerce
(d) may arrive earlier than the promised date platform should be available .
(a) 2 hours per day
(b) from 9AM to 5PM
Answers (743 - 747) (c) 24 × 7
(d) at midnight every day
1. (d) 2. (d) 3. (d) 4. (d) 8. To protect the customer from loss of
5. (a) money, the E-Commerce platform should
maintain a list of and provide
appropriate remidy to the customer.
(a) failed transaction
(b) completed transactions
(c) partially completed transactions
Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 53

(d) all of them (a) gets a demo on


9. The user of a E-Commerce platform (b) needs to figure out
should remain watchful about . (c) gets a demo by an expert on
(a) online fraudsters (d) gets a demo through a technician from the seller
(b) fake web commerce portals E-Commerce platforms help the manu-
5.
(c) fake seller/ buyer facturers to , thus reducing the
(d) all of them cost of a product.
10. is the name for online descrip- (a) directly deliver to the customer
tion of a product. (b) deliver to the customer through several inter-
(a) Online catelogue mediaries
(b) Offline catelogue (c) deliver to the customer through several distrib-
(c) Printed Catelogue utors
(d) Handwritten catelogue (d) create a chain of local shops
11. Online catelogue should clearly describe 6. E-Commerce permits without
of a product sold through E- physically visiting several shops.
(a) comparison of several products
Commerce platform.
(a) salient internal features (b) get best rate possible for buyer/ seller
(b) physical details (c) release the product to a large market without
(c) defects, if any delay
(d) all of them
(d) all of them

Answers (748 - 758) Answers (759 - 764)


1. (b) 2. (c) 3. (d) 4. (a) 1. (a) 2. (d) 3. (b) 4. (b)
5. (c) 6. (b) 7. (c) 8. (d) 5. (a) 6. (d)
9. (d) 10. (a) 11. (d)
4.7 Types of E-Commerce
4.6 Differences between E- websites
Commerce and traditional
1. The online portal of a shop which cor-
commerce responds to a physically accessible shop,
thus making the online store compli-
1. In E-Commerce a buyer touch mentary to the physical store is called
or feel the product. E-Commerce site.
(a) cannot (b) can (a) transactional type
(c) may (d) might (b) information delivery
2. After completing an E-Commerce trans- (c) e-marketplace
action, the buyer needs to . (d) none of them
(a) pick the product and go home 2. The online portal for dissemination of in-
(b) take the product to home formation about products (without per-
(c) collect it directly from a store mission for online transactions) is called
(d) wait till delivery of product E-Commerce site.
3. In an E-Commerce platform, bargaining (a) transactional type
is . (b) information delivery
(a) not possible (c) e-marketplace
(b) permitted with certain restrictions (d) none of them
(c) not allowed The online portal which permits sellers
3.
(d) not permitted and buyers to register, sell/ buy products
4. The buyer of a new product from an E- online is called E-Commerce
Commerce platform the usage of site.
the product. (a) transactional type

Author: Dr.V.Nagaradjane
54 4.8. MODES OF PAYMENT FOR E-COMMERCE

(b) information delivery (d) all of them


(c) e-marketplace 8. Usually, credit or debit card number is
(d) none of them digits longs.
(a) 8 (b) 12
(c) 16 (d) 20
Answers (765 - 767) 9. To complete an E-Commerce transaction,
1. (a) 2. (b) 3. (c) details about a credit/ debit
card are required.
(a) Card number/ card expiry month/ year
4.8 Modes of payment for E- (b) card holder name
(c) Card Verification Value (CVV)
Commerce (d) all of them
10. In credit/ debit cards, CVV stands for
1. In E-Commerce, COD stands for .
. (a) Credit Verification Value
(a) Commerce On Delivery (b) Card Verification Value
(b) Cash On Demand (c) Card Validity Value
(c) Cart on Delivery (d) Credit Verification Visual
(d) Cash On Delivery
11. During an online transaction, a 6 or 8
2. A card which permits online payment us-
digit number called is sent to
ing balance amount available in a bank
the registered mobile number/ email ID
account is called .
(a) debit card (b) credit card to complete the transaction.
(c) wallet (d) none of them (a) Card number
(b) Card Verification Value (CVV)
3. A card which permits spending money
(c) One Time Password (OTP)
first, for which payment will be made
(d) Grid Value
later against bill is called .
(a) debit card (b) credit card 12. To make online payment through Internet
(c) wallet (d) none of them banking, is required to authorize
An online repository in which cash is the user to access the bank account.
4. (a) user name (b) password
recharged for spending online is called (c) both a & b (d) none of them
.
(a) debit card (b) credit card 13. With relation to online transaction, OTP
(c) wallet (d) none of them stands for .
(a) One Time Password
5. Online payment for an E-Commerce plat- (b) Only Time Password
form can be made using . (c) One Type Password
(a) credit/debit card
(d) One Tracking Password
(b) Internet banking
(c) electronic Wallet 14. OTP may be received through
(d) all of them .
(a) SMS (b) email
6. In a credit or debit card, a 3 digit number (c) both a & b (d) none of them
printed on the reverse to verify the card
15. During a secure online transaction, a
authenticity is called .
icon is shown next to the ad-
(a) Card Verification Value (CVV)
dress bar.
(b) PIN (a) locked lock
(c) PAN (b) green lock
(d) Grid (c) either a or b
7. Most commonly used credit/ debit cards (d) none of them
are issued by . 16. During a insecure online transaction, a
(a) VISA
icon is shown next to the ad-
(b) Master/ Maestro
dress bar.
(c) American Express (a) open lock/ lock with red X mark

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 55

(b) closed lock 3. What is the full form of B2C?


(c) green lock (a) Bihar to Chandigarh
(d) none of them (b) Bombay square to Chandigarh
(c) Business to Consumer
(d) none of them
Answers (768 - 783) 4. What is the full form of ALE in e-
1. (d) 2. (a) 3. (b) 4. (c) commerce?
(a) Application Link Embedding
5. (d) 6. (a) 7. (d) 8. (c) (b) Application Link Electronics
9. (d) 10. (b) 11. (c) 12. (c) (c) Application Leakage Enabling
13. (a) 14. (c) 15. (c) 16. (a) (d) none of them
5. What is the full form of EDI in e-
4.9 Payment gateway commerce?
(a) Electronic Detailed International
(b) Electronic Data Interchange
1. The intermediary responsible for process- (c) Electronic Digital Interchange
ing the transfer of fund from payee to re- (d) none of them
cipient in an E-Commerce transaction is
called . 6. Which e-commerce software requires ini-
(a) Payment gateway tial one time password investment of li-
(b) credit card censing fee?
(c) debit card (a) OnPromise (b) SaaS
(d) wallet (c) Open Source (d) none of them
2. is a common Payment Gateway 7. Which of the following is a cloud based
used for online transactions. ecommerce platform (applications are
(a) CCAvenue (b) PaySeal hosted and managed in service providers
(c) BillDesk (d) all of them datacentre, subscribed on payment ba-
3. The payment gateway the sis)?
amount to the recipient after the payee (a) OnPromise (b) SaaS
completes transaction. (c) Open Source (d) none of them
(a) transfers 8. Which of the ecommerce software is free
(b) does not transfer of charge (no licensing fee)?
(c) cheats (a) OnPromise (b) SaaS
(d) does not pay (c) Open Source (d) none of them
9. What is the full form of C2B?
(a) Chandigarh to Bihar
Answers (784 - 786) (b) Chandigarh to Bombay square
1. (a) 2. (d) 3. (a) (c) Consumer to Business
(d) none of them
10. What is the full form of CRM in ecom-
4.10 General questions on E- merce?
(a) Crime Report Management
Commerce (b) Customer Relationship Management
(c) Consumer Resource Management
1. is the trading of goods and (d) none of them
items through the Internet.
(a) E-Trade (b) E-Commerce 11. What is the term given to e-commerce
(c) E-Network (d) none of them site where product and inventory informa-
tion is provided by multiple third parties?
2. What is the full form of B2B? (a) online marketplace
(a) Bihar to Bihar (b) online e-commerce
(b) Bombay to Bombay (c) e-marketplace
(c) Business to Business (d) none of them
(d) none of them

Author: Dr.V.Nagaradjane
56 4.10. GENERAL QUESTIONS ON E-COMMERCE

12. In an on line marketplace, transactions 21. What is the full form of CSP in ecom-
are processed by . merce?
(a) marketplace operator (a) Card Service Provider
(b) customer (b) Customer Service Provider
(c) seller (c) central Service Provider
(d) none of them (d) none of them
13. Example of an online marketplace are 22. What is the full form of ACH in ecom-
. merce?
(a) eBay (b) Snapdeal (a) Association of Clearing Houses
(c) Flipkart (d) all of them (b) Anonymous Cleansing House
14. Which of the following ecommerce plat- (c) Automatic Clearing House
forms allows consumers to buy goods di- (d) none of them
rectly from seller over the Internet? 23. What is the full form of BITS in ecom-
(a) e-webshop (b) e-shopping merce?
(c) e-webstore (d) all of them (a) Bihartiya Institute of Technology & Society
Which software model allows accumula- (b) Banking Industry Technology Secretariat
15.
tion of a list of items before making the (c) Banking Institute of Technology & Society
online purchase? (d) none of them
(a) online shopping 24. Which system facilitates the adoption of
(b) e-shopping electronic payment for online transac-
(c) shopping cart tions?
(d) none of them (a) motivated electronic purchase system
(b) electronic payment system
16. What is the name of front page of a web
(c) online payment system
store accessed by visitors to the online
(d) none of them
shop?
(a) storefront (b) webfront 25. What is the fill form of CVN in ecom-
(c) e-store (d) none of them merce?
(a) Card Verification Number
17. If a company sends bills over the Internet (b) Commerce Verified Number
and consumers pay the bills online, it is (c) Consumer Verified Number
called . (d) none of them
(a) Internet billing
(b) web billing 26. In system, payment gateway al-
(c) electronic billing lows the consumer to specify the bank
(d) none of them from which payment should be made.
(a) e-pay banking
18. Which parties are involved in electronic
(b) e-commerce banking
billing?
(a) billers (c) net banking
(b) bankers (d) none of them
(c) consolidators 27. What can be used by a consumer and
(d) all of them accepted by a merchant for making pay-
19. What is the full form of BPP in ecom- ments?
(a) merchant card
merce?
(a) Biller Payment Provider (b) payment card
(b) Biller Provision Provider (c) visiting card
(c) Biller Payment Protector (d) none of them
(d) none of them 28. What is the size of payment card?
20. What is the full form of BSP in ecom- (a) 85.60 × 53.98cm
merce? (b) 85.60 × 53.98mm
(a) Biller Service Protector (c) 85.60 × 53.98m
(b) Biller Service Provider (d) none of them
(c) Biller Service Packer 29. The default period of loan for a credit
(d) none of them card holder is days.

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 57

(a) 55 (b) 50 (c) credit (d) none of them


(c) 58 (d) none of them 38. Which cards store card data that can be
30. A partial payment of loan in case of read by physical contact and swiping past
charge cards may attract . a reading head?
(a) bonus (b) late fee (a) magnetic strip
(c) interest (d) none of them (b) embossing
31. In which card, a card holder is not re- (c) smart
quired to make payments every month? (d) none of them
(a) charge (b) credit 39. Which card contains a chip having em-
(c) debit (d) none of them bedded integrated circuit which can pro-
32. In which card, funds are directly with- cess data?
drawn from his bank account for each (a) magnetic strip
payment made through the card? (b) embossing
(a) debit (b) credit (c) smart
(c) ATM (d) none of them (d) none of them
33. What is the full form of ATM? 40. Which of the following authenticates and
(a) Any Time Money handles credit card payment for ecom-
(b) Automated Transaction Management merce?
(a) payment gateway
(c) Automated Teller Machine (b) e-commerce gateway
(d) none of them (c) software gateway
34. Which card cannot be used for cash with- (d) none of them
drawal?
(a) ATM (b) charge
(c) debit (d) none of them Answers (787 - 826)
35. Which cards have a monetary value store
on the card itself? 1. (b) 2. (c) 3. (c) 4. (a)
(a) ATM (b) charge 5. (b) 6. (a) 7. (b) 8. (c)
(c) stored-value (d) none of them 9. (c) 10. (b) 11. (a) 12. (a)
36. Which cards are not issued in the name 13. (d) 14. (d) 15. (c) 16. (a)
of any individual? 17. (c) 18. (d) 19. (a) 20. (b)
(a) ATM (b) stored value 21. (b) 22. (c) 23. (b) 24. (b)
(c) debit (d) none of them 25. (a) 26. (c) 27. (b) 28. (b)
37. Which cards are commonly used to buy 29. (a) 30. (c) 31. (c) 32. (a)
gasoline (petrol), diesel and other fuels? 33. (c) 34. (b) 35. (c) 36. (b)
(a) fleet/fuel (b) ATM 37. (a) 38. (a) 39. (c) 40. (a)

Author: Dr.V.Nagaradjane
58 4.10. GENERAL QUESTIONS ON E-COMMERCE

Author: Dr.V.Nagaradjane
Chapter 5

Cyber security

5.1 Introduction to cyber secu- 5.2 Threats to information se-


rity curity
1. Protecting data from online attacks, dele- 1. Script files sent mostly through email at-
tions, malware, etc. is called se- tachment to attack host computer are
curity. called .
(a) physical (b) cyber (a) Worms
(c) hyper (d) reliable (b) Phishing attacks
Victims of cyber attack might loose (c) Trojans
2.
. (d) Computer Viruses
(a) data (b) money 2. Attacking the victims through fake URL
(c) both a & b (d) none of them resembling that of a valid financial Insti-
3. The practise of protecting data from tution is called .
unauthorized access is called se- (a) Worms
curity. (b) Phishing attack
(a) physical (b) disk (c) Trojans
(c) risk (d) information (d) Computer Viruses
4. Under information security, any device 3. Getting the user ID and password from a
having is classified as a comput- victim through dubious program is called
ing device. attack.
(a) processor (a) Worms
(b) memory (b) Phishing attack
(c) both a & b (c) Trojan
(d) neither a nor b (d) Computer Viruses
Under information security, CIA stands 4. A malicious program spreading through
5.
for . Internet and storage media and attack-
(a) Criminal Investigation Agency ing the data in victims computer is called
(b) Confidentiality, Integrity, Availability .
(c) Cost Information Agency (a) Worms
(d) Credit Integrity Assessment (b) Phishing attack
(c) Trojan
(d) Computer Virus
Answers (827 - 831)
1. (b) 2. (c) 3. (d) 4. (c) Answers (832 - 835)
5. (b)
1. (a) 2. (b) 3. (c) 4. (d)

59
60 5.3. VULNERABILITY AND RISK MANAGEMENT

5.3 Vulnerability and risk man- (c) secure IT infrastructure


(d) all of them
agement
1. Potential weaknesses in IT infrastructure Answers (836 - 843)
through which a cyber attack might occur
is called . 1. (c) 2. (d) 3. (c) 4. (a)
(a) strength
5. (d) 6. (b) 7. (d) 8. (d)
(b) antivirus
(c) vulnerability
(d) port 5.4 Directory service
2. Vulnerability for cyber attack may be in
. 1. A single point of access for several net-
(a) operating system
working services is called .
(b) application software (a) Directory Service
(c) IT infrastructure (b) web server
(d) all of them (c) email server
3. To protect the network infrastructure (d) none of them
from vulnerability, is setup. Directory service permits security admin-
2.
(a) firewall
istrators to .
(b) Internet security software (a) concentrate on security of directory service in-
(c) both a & b stead of individual machines
(d) none of them (b) create new vulnerabilities
4. The person using vulnerability in operat- (c) damage the security of computers
ing system or application software or IT (d) create new virus
infrastructure to intrude in to the com- 3. Directory service should be able to
puter of a victim is called . in the infrastrucure.
(a) hacker (b) cracker (a) include new services
(c) maker (d) taker (b) esaily search for information in the network
(c) the information stored on the directory server
5. Periodic assessment of security vulner-
should be accessible from any operating system
ability in computer systems is called
(d) all of them
audit.
(a) threat (b) attack 4. LDAP in directory service stands for
(c) hacking (d) security .
(a) Light Weight Director Access Provider
6. Maintaining computers free from cyber
(b) Light Weight Director Access Protocol
attack is called .
(a) cyber attack (c) Light Weight Director Access Provider
(b) risk management (d) Light Weight Director Access Protection
(c) online fraud
(d) phishing
The security audit team to
Answers (844 - 847)
7.
keep the computers safe from cyber at- 1. (a) 2. (a) 3. (d) 4. (b)
tacks.
(a) assesses vulnerability
(b) decides the safety measures through hardware 5.5 Access control
and software
(c) considers latest threat scenario and implements
information safety 1. Protecting access to a computer through
(d) all of them is called access control.
(a) physical restriction of entry
8. To ensure information safety,
(b) password security for login
should be implemented.
(c) both a & b
(a) physical access security
(d) none of them
(b) password access security

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 61

Answers (848 - 848) (a) verification


(b) maintaining historical records
1. (c) (c) error handling
(d) log of changes (whois making request)
8. in source code development
5.6 Software development se- means verification of role before permit-
curity ting access to source code.
(a) verification
1. Security should be implemented at the (b) maintaining historical records
stage of in software. (c) error handling
(a) development stage (d) log of changes (whois making request)
(b) entire life cycle 9. in source code development
(c) Sofware Development Life Cycle (SDLC) means handling of configuration errors,
(d) all of them session errors and exceptionsa.
2. SDLC in software development stands for (a) verification
. (b) maintaining historical records
(a) Software Development Life Circus (c) error handling
(b) Software Development Life Cycle (d) log of changes (whois making request)
(c) Software Drafting Life Cycle
(d) Software Development Lead Cycle
3. Protection from of source code Answers (849 - 857)
means non-disclosure of the source code
to outsiders. 1. (d) 2. (b) 3. (a) 4. (b)
(a) disclosure 5. (c) 6. (d) 7. (a) 8. (b)
(b) alteration 9. (c)
(c) destruction
(d) log of changes (whois making request)
4. Protection from of source code 5.7 Privacy protection
means alloting the right to edit the source
code to authorized persons only. 1. Protecting the data divulged by cus-
(a) disclosure tomers from unauthorized access is called
(b) alteration .
(c) destruction (a) privacy protection
(d) log of changes (whois making request) (b) audit
(c) antinvirus
5. Protection from of source code
(d) vulnerability
means protection of any individual from
destroying the software source code. 2. Information on criminal records of indi-
(a) disclosure viduals, financial data of companies, ge-
(b) alteration netic information, address, mobile num-
(c) destruction ber, email ID, record of web surfing be-
(d) log of changes (whois making request) haviour, record of credit card, record of
6. Protection from of source code debit card, netbanking details, etc. are
means recording all changes made to the classified under .
(a) privacy protection
source code and the person making such
(b) audit
changes.
(a) disclosure (c) antinvirus
(b) alteration (d) vulnerability
(c) destruction
(d) log of changes (whois making request) Answers (858 - 859)
7. of access rights in source code
development means verification of role 1. (a) 2. (a)
before permitting access to source code.

Author: Dr.V.Nagaradjane
62 5.8. INFORMATION SECURITY AUDIT

5.8 Information security audit 5. Section of IT Act imposes fine up


to 1Lakh and imprisonment up to 3 years
1. Information security audit may be con- for receiving stolen computer or mobile
ducted with reference to . device.
(a) vulnerabilities (a) 65 (b) 66
(b) threats (c) 66B (d) 66C
(c) preventive measures 6. Section of IT Act imposes fine up
(d) all of them to 1Lakh and imprisonment up to 3 years
2. Information security audit analyses events for misuse of password.
of past threats to formulate . (a) 65 (b) 66
(a) security measures (c) 66B (d) 66C
(b) safe practices 7. Section of IT Act imposes fine up
(c) software protection to 1Lakh and imprisonment up to 3 years
(d) all of them for cheating with computer.
3. Any single employee hold all data (a) 66D (b) 66E
needed for making a complete financial (c) 66F (d) 67
transaction. 8. Section of IT Act imposes fine up
(a) should not (b) should
to 2Lakh and imprisonment up to 3 years
(c) may (d) might
for publishing private images of others.
4. IT audit of the firm should be conducted (a) 66D (b) 66E
periodically, which may be every . (c) 66F (d) 67
(a) fortnight (b) month
9. Section of IT Act imposes life im-
(c) quarter (d) all of them
prisonment for cyber terrorism.
(a) 66D (b) 66E
(c) 66F (d) 67
Answers (860 - 863)
10. Section of IT Act imposes fine up
1. (d) 2. (d) 3. (a) 4. (d) to 1Lakh and imprisonment up to 5 years
for publishing obscene content.
(a) 66D (b) 66E
5.9 Information Technology (c) 66F (d) 67
(IT) Act 11. Section of IT Act imposes fine up
to 1Lakh and imprisonment up to 7 years
IT act was enacted in the year . for publishing sexual content.
1.
(a) 67A (b) 67B
(a) 1900 (b) 1950
(c) 67C (d) 68
(c) 2000 (d) 2008
12. Section of IT Act imposes fine up
2. IT act aims to .
to 1Lakh and imprisonment up to 7 years
(a) protect victims of cyber fraud
for publishing child porn.
(b) punish misbehious involving technology (a) 67A (b) 67B
(c) both a & b (c) 67C (d) 68
(d) none of them
13. Section of IT Act imposes unde-
3. Section of IT Act imposes fine up
fined fine amount and imprisonment up
to 2Lakh and imprisonment up to 2 years
to 3 years for failure to maintain records
for tampering with computer source doc-
by operator.
uments. (a) 67A (b) 67B
(a) 65 (b) 66
(c) 66B (d) 66C (c) 67C (d) 68
Section of IT Act imposes fine up 14. Section of IT Act imposes fine up
4.
to 5Lakh and imprisonment up to 3 years to 2Lakh and imprisonment up to 3 years
for hacking. for failure to comply with orders.
(a) 65 (b) 66 (a) 67A (b) 67B
(c) 66B (d) 66C (c) 67C (d) 68

Author: Dr.V.Nagaradjane
Q. Bank [COPA Semester - 2] 63

15. Section of IT Act imposes unde- (c) 5 (d) 7


fined fine amount and imprisonment up 21. Imprisonment up to years may
to 7 years for refusal to decrypt data. be imposed under sections 66 (hacking),
(a) 69 (b) 70 66B (receiving stolen computer/ mobile),
(c) 67C (d) 68 66C (misuse of password), 66D (cheating
16. Section of IT Act imposes fine up with computer), 66E (publishing private
to 1Lakh and imprisonment up to 3 years images of others), 67C (failure to main-
for disclosure of wrong information. tain records by operator), 68 (failure to
(a) 69 (b) 70 comply with orders) & 70 (disclosure of
(c) 67C (d) 68 wrong information) of the IT Act, 2000.
17. Fine up to Rs. may be imposed (a) 2 (b) 3
under sections 66B (receiving stolen mo- (c) 5 (d) 7
bile/ computer), 66C (password misuse), 22. Imprisonment up to years may
66D (cheating with computer), 67 (pub- be imposed under section 67 (publishing
lishing obscene content), 67A (publish- obscene content) of the IT Act, 2000.
ing sexual content), 67B (publishing child (a) 2 (b) 3
porn) & 70 (disclosure of wrong informa- (c) 5 (d) 7
tion) of the IT Act, 2000. 23. Imprisonment up to years may be
(a) 1Lakh (b) 2Lakh imposed under sections 67A (publishing
(c) 5Lakh (d) none of them sexual content) & 69 (refusal to decrypt
18. Fine up to Rs. may be imposed data) of the IT Act, 2000.
under sections 65 (tampering with com- (a) 2 (b) 3
puter), 66E (publishing private images of (c) 5 (d) 7
others) & 68 (failure to comply with or- 24. Imprisonment up to years may be
ders) of the IT Act, 2000. imposed under section 66F (cyber terror-
(a) 1Lakh (b) 2Lakh ism) of the IT Act, 2000.
(c) 5Lakh (d) none of them (a) Life (b) 3
19. Fine up to Rs. may be imposed (c) 5 (d) 7
under section 66 (hacking) of the IT Act,
2000.
(a) 1Lakh (b) 2Lakh Answers (864 - 887)
(c) 5Lakh (d) none of them
1. (c) 2. (c) 3. (a) 4. (b)
20. Imprisonment up to years may
5. (c) 6. (d) 7. (a) 8. (b)
be imposed under section 65 (tampering
9. (c) 10. (d) 11. (a) 12. (b)
with computer documents) of the IT Act,
13. (c) 14. (d) 15. (a) 16. (b)
2000.
(a) 2 (b) 3 17. (a) 18. (b) 19. (c) 20. (a)
21. (b) 22. (c) 23. (d) 24. (a)

Author: Dr.V.Nagaradjane
64 5.9. INFORMATION TECHNOLOGY (IT) ACT

Author: Dr.V.Nagaradjane
Chapter 6

General Questions on VBA

1. VBA is . (a) Properties window


(a) a Microsoft programming language used to ex- (b) Immediate window
tend Excel functions (c) Project Explorer window
(b) a statistical tool developed by Microsoft for fi- (d) Code window
nancial analysts
(c) an open-source programming environment 8. Function procedure differs from Sub pro-
(d) a Microsoft programming environment that re- cedure in that Function procedure:
(a) refers to a set of programming instructions that
places Excel
performs some action
2. A unit of VBA code is called a .
(b) is an information statement that you provide to
(a) subroutine (b) routine
VBA
(c) macro (d) program (c) is a set of programming instructions that returns
3. Which of the following is a program- a single value
ming language that includes built-in com- (d) is a code in a VBA module
mands that mimic the functionality avail- 9. Which of the following would you use to
able from menus and dialog boxes within declare a variable explicitly?
an application? (a) Dim statement
(a) Macro language (b) Operator
(b) HTML (c) Do-While loop
(c) FrontPage (d) Comment tool
(d) Query-by-example tool 10. Which of the following structures is use-
4. Which of the following refers to computer ful for decisions involving three or more
code, in VBA, that performs some action options?
on or with objects? (a) For-Next (b) ElseIf
(a) Excel function (c) If-Then (d) Select Case
(b) Sub procedure 11. What does VBA stand for?
(c) Primary key (a) Visual Basic for Applications
(d) Integrity constrain (b) Virtual Basic for Advanced programming
5. In VBA, which of the following is a place (c) Very Basic Applications
to store a piece of information? (d) Visual Basic Applied
(a) Compartment (b) Variable
12. What is a macro used for?
(c) Macro (d) Field
(a) To access programs in Excel
6. Which of the following VBE tools dis- (b) To create buttons and forms in Excel
plays a tree diagram that consists of every (c) To automatically complete a series of Excel
workbook currently open in Excel? steps
(a) Menu bar (d) To link Excel files together
(b) Code window
(c) Immediate window 13. What does a VBA macro consist of?
(d) Project Explorer window (a) Excel functions
(b) Computer code that performs some actions on
7. Which of the following is most useful for
or with objects
executing VBA statements directly and (c) User instructions and Excel functions
for debugging your code?

65
66

(d) Macro instructions that direct the user applica- (a) function (b) sub
tion and provide help to the user (c) visual (d) sub macro
14. Which of the following VBA windows 17. Which of the following would you begin
shows the code of the active object? a comment line with?
(a) Explorer Window (a) Single quote (b) Double quote
(b) Properties window (c) Underscore (d) Equal sign
(c) Immediate window
(d) Code window
15. Which of the following would NOT be a Answers (888 - 904)
good use for a macro?
(a) Inserting a logo on all spreadsheets 1. (a) 2. (c) 3. (a) 4. (b)
(b) Creating a custom button 5. (b) 6. (d) 7. (b) 8. (c)
(c) Performing the same calculation on multiple 9. (a) 10. (d) 11. (a) 12. (c)
workbooks 13. (b) 14. (d) 15. (d) 16. (b)
(d) Computing statistical calculations on data 17. (a)
16. A piece of a macro that completes some
sub task is called a procedure.

Author: Dr.V.Nagaradjane

Vous aimerez peut-être aussi