You are on page 1of 9

MCQS of CS101

( 11-22)
Attention:
Material on Vulhr.com is Legally Copyrighted under Pakistan Law. Publishing it in any way is illegal and will be
a Police Case.
Question # 1
Applications talk to devices through the OS and OS talks to and manages devices
through_________________________ .
1) : File System
2) : Application Interface
3) : Kernel
4) : Device Driver
Correct Option : 3 From : Lecture 11
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 2
The collection of 4 bits is called ________.
1) : Nibble
2) : Byte
3) : Word
4) : Double-Word
Correct Option : 1 From : Lecture 12
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 3
ASP script is
1) : Linux based server script
2) : Window based server script
3) : Not a server side script
4) : A data base management system
Correct Option : 2 From : Lecture 12
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 4
The software that is used to write/send/receive an e-mail is called
1) : Web browser
2) : Mail Binder
3) : E-mail Handler
4) : E-mail Client
Correct Option : 4 From : Lecture 13
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 5
Spreadsheet software
1) : Is the replacement of ledgers
2) : Is a replacement of encyclopedia
3) : Are not used for business calculations and charts
4) : Is a sub category of entertainment software.
Correct Option : 1 From : Lecture 13
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 6
Decision support systems are sometimes called
1) : E-commerce software
2) : Document-centered computing
3) : Electronic Encyclopedia
4) : Expert Systems
Correct Option : 4 From : Lecture 13
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 7
Software that directly interact with the user is called
1) : Low level languages
2) : System software
3) : Application software
4) : Machine language
Correct Option : 2 From : Lecture 13
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 8
Two major types of software are
1) : Application Software, System Software
2) : Application Software , Database Software
3) : System Software , Database Software
4) : Database Software , Embedded Software
Correct Option : 1 From : Lecture 13
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 9
A function is also called
1) : Sub-program
2) : Procedure
3) : Sub-routine
4) : All of the these
Correct Option : 4 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 10
The advantage of client side scripting is
1) : All browsers support it
2) : Decreases the complexity of web page
3) : Reduces network traffic
4) : Increases server load
Correct Option : 3 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 11
Specialized servers are used on the Internet to
1) : Accept FTP requests to upload the download files
2) : Store applications that are rented or leased by large corporations
3) : Store and send Web pages
4) : Function like email post offices
Correct Option : From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 12
What is the correct HTML for adding a background color?
1) : < background >yellow< /background >
2) : < body bgcolor="yellow" >
3) : < body background="yellow" >
4) : bgcolor="yellow"
Correct Option : 2 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 13
What is the correct HTML for making a checkbox?
1) : < input type="checkbox" / >
2) : < checkbox >
3) : < check >
4) : < input type="check" / >
Correct Option : 1 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 14
What is the correct HTML for making a text input field?
1) : < textfield >
2) : < input type="text" / >
3) : < input type="textfield" / >
4) : < textinput type="text" / >
Correct Option : 2 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 15
What is the correct HTML for making a drop-down list?
1) : < input type="list" / >
2) : < list >
3) : < input type="dropdown" / >
4) : < select >
Correct Option : 4 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 16
What is the correct HTML for making a text area?
1) : < input type="textarea" / >
2) : < textarea > < /textarea >
3) : < input type="textbox" / >
4) : None Of the Above
Correct Option : 2 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 17
What is the correct HTML for inserting a background image?
1) : < img src="background.gif" background / >
2) : < background img="background.gif" >
3) : < body background="background.gif" >
4) : None Of the Above
Correct Option : 3 From : Lecture 15
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 18
What does the following JavaScript code function changeBgcolor() { oldColor =
window.document.bgColor; window.document.bgColor = “pink”; window. alert("The old color was " +
oldColor); }
1) : Change the Color of Window document to pink and nothing else
Change the Color of Window document to pink and display the name of old Color in a dialogue
2) :
box
3) : Change the Color of Window document to Blue and displays name of old color in a dialogue box
4) : Create a form in window document
Correct Option : 2 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 19
An object can be defined as
1) : Collection of integers and floats
2) : Collection o of integers and properties
3) : Collection of While loops and variables
4) : Collection of properties and methods
Correct Option : 4 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 20
Which of the following file operations JavaScript can perform on a client computer?
1) : Read
2) : Modify
3) : Delete
4) : All Given
Correct Option : 4 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 21
What is the correct JavaScript syntax to write "Hello World"?
1) : ("Hello World")
2) : Hello World
3) : response.write("Hello World")
4) : document.write("Hello World")
Correct Option : 4 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 22
Where is the correct place to insert a JavaScript?
1) : The < body > section
2) : The < head > section
3) : Both the < head > section and the < body > section are correct
4) : None Of the Above
Correct Option : 3 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 23
How do you write "Hello World" in an alert box?
1) : alert("Hello World")
2) : alertBox="Hello World"
3) : alertBox("Hello World")
4) : msgBox("Hello World")
Correct Option : 1 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 24
How do you put a message in the browser's status bar
1) : window.status("put your message here")
2) : status("put your message here")
3) : window.status = "put your message here"
4) : statusbar = "put your message here"
Correct Option : 3 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 25
The four basic data types are:
1) : strings, numbers, BooBoos, and nulls
2) : strings, text, Booleans, and nulls
3) : strings, numbers, Booleans, and nulls
4) : strings, numbers, Booleans, and zeros
Correct Option : 3 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 26
Semicolons are optional at the end of a JavaScript statement.
1) : TRUE
2) : FALSE
3) :
4) :
Correct Option : 1 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 27
JavaScript is ...
1) : subjective
2) : objective
3) : evil
4) : object based
Correct Option : 4 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 28
JavaScript is ...
1) : the same as Java
2) : kind of like Java
3) : different than Java
4) : ther written part of Java
Correct Option : 3 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 29
JavaScript can only run on Windows
1) : TRUE
2) : FALSE
3) :
4) :
Correct Option : 2 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 30
Which best describes JavaScript?
1) : a low-level programming language.
2) : a scripting language precompiled in the browser.
3) : a compiled scripting language.
4) : an object-based scripting language.
Correct Option : 4 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 31
What property would you use to redirect a visitor to another page?
1) : document.URL
2) : window.location.href
3) : .document.location.href
4) : link.href
Correct Option : 2 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 32
What property would you use to open the new Window?
1) : window.open(“http://www.vu.edu.pk/”);
2) : document.window.open(“http://www.vu.edu.pk/”);
3) : me.open(“http://www.vu.edu.pk/”);
4) : open(“http://www.vu.edu.pk/”);
Correct Option : 1 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 33
What property would you use to close a Window?
1) : window.close(“http://www.vu.edu.pk/”);
2) : window.close();
3) : me.window.close();
4) : close(“http://www.vu.edu.pk/”);
Correct Option : 2 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 34
prompt() method is used to
1) : alert The User
2) : take input from user
3) : insert the image
4) : None Of the Above
Correct Option : 2 From : Lecture 18
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 35
BASIC stands for
1) : Beginners All purpose Symbolic Instruction Code
2) : Basic American Standard Information Code
3) : Brother and Sisters In Christ
4) : British American Scientific International Commercial
Correct Option : 1 From : Lecture 19
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 36
JavaScript
1) : is an Object based Language
2) : is an interpreted language
3) : Both first and second
4) : is an Object-Oriented Language
Correct Option : 1 From : Lecture 21
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 37
Which of the following words can’t be used for naming an identifier in JavaScript?
1) : struct
2) : plugin
3) : parent
4) : Hello
Correct Option : 3 From : Lecture 21
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 38
In Spreadsheets, you can create a relationship between two cells by using _________.
1) : Numbers
2) : Text
3) : Formulas
4) : None of given option
Correct Option : 3 From : Lecture 22
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge
Question # 39
A cell in a spreadsheet can not contain one of the followings:
1) : Numbers
2) : Text
3) : Formulas
4) : Images
Correct Option : 4 From : Lecture 22
MCQS Printed From Vulhr.com, Come Visit and Upgrade You Knowledge

Material on Vulhr.com is Legally Copyrighted under Pakistan Law. Publishing it in any Form is illegal and will
be a Police Case.
Copyright © Vulhr.Com
Powered By: Vulhr Quiz Management

You might also like