CS101 - MID Term 1

Which of the following is NOT true about modern computers?
► More powerful
► Smaller in size
► Consume less energy
► Costly

Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB
► 150 GB

JavaScript ________ support drawing of graphics
► Does
► Does not
► Always
► At times

Popular schemes used for reducing bytes for storage are:
► RGB and Color mapping
► RGB and Dithering
► RGB, Color mapping and Dithering
► Color mapping and Dithering

Which protocol is use to transfer a file over the network ?
► UDP
► FTP
► TCP
► OSI

Flow control constructs in JavaScript includes:
► If-Else
► Loops and If -Else
► Switch and If-Else
► All of the given choices

A truth table defines the _________of a logic function for all possible _________
► Input -- Outputs
► Output -- Inputs
► Process -- Inputs
► Input -- Processes

Question No: 8 ( Marks: 1 ) - Please choose one
_________ is the best known builder for supercomputers.
► Sun
► Cray Research
► Microsoft
► Apple

Question No: 9 ( Marks: 1 ) - Please choose one
Web is a unique invention by humans in terms that it is:
► accessible to only the owners who control it
► accessible from particular locations only
► accessible to all humans
► accessible to only the educational institutes

Question No: 10 ( Marks: 1 ) - Please choose one
______ is a client program that uses HTTP to make requests to Web servers throughout the internet on
behalf of the user.
► Web Application
► Web Browser
► Internet Application
► HTML


Question No: 11 ( Marks: 1 ) - Please choose one
When the packets reach at destination, __________ reassembles them into original message.
► Protocol
► TCP
► IP
► NIC

Question No: 12 ( Marks: 1 ) - Please choose one
Smart editors can automatically color different parts of statements in different colors e.g. comments in ____________ color.
► Green
► Grey
► Blue
► Red

Question No: 13 ( Marks: 1 ) - Please choose one
___________ has great PR skills.
► Architect
► Team Lead
► Project Manager
► Chief Executive Officer

Question No: 14 ( Marks: 1 ) - Please choose one
The key responsibilities of a project manager is _____________.
► Planning and tracking of the project
► Arranging of the appropriate resources
► Client relationship management
► All of the given options

Question No: 15 ( Marks: 1 ) - Please choose one
Which attribute of the IMG tag tells us about the source of the image ____________.
► source
► path
► loc
► src

Question No: 16 ( Marks: 1 ) - Please choose one
In relational database, data store in the form of _____________.
► Tables
► Rows
► Columns
► None of the given options

Question No: 17 ( Marks: 1 ) - Please choose one
When’+’ operator is used with string operands, it _____________ both strings.
► Adds
► Subtracts
► Concatenates
► Compares

Question No: 18 ( Marks: 1 ) - Please choose one
Which of the following operation is take place in ALU?
► Logical Operations
► Comparative Operations
► Floating Point Operations
► All of the given options

Question No: 19 ( Marks: 1 ) - Please choose one
Integrity can be compromised by _____________.
► Private or virtual-private networks
► Encryption
► Intrusion detectors
► None of the given options

Question No: 20 ( Marks: 1 ) - Please choose one
a = Math.ceil(12.01)
What will be the value of a ?
► 12
► 13
► 12.0
► 13.01

Question No: 21 ( Marks: 1 ) - Please choose one
__________ are those programs in which the flow of the program is determined by the user's actions
(mouse clicks, key presses) or messages from other programs.
► Event called programs
► Event processed programs
► Event driven programs
► Event declared programs

Question No: 22 ( Marks: 1 ) - Please choose one
Fuzzy logic is based on ____________.
► Ground facts
► Experience
► Practice
► Approximation

Question No: 23 ( Marks: 1 ) - Please choose one
According to a popular heuristic, success is defined by ___________.
► The user
► The builder
► Both user and builder
► None of the given options

Question No: 24 ( Marks: 1 ) - Please choose one
You can view a 3-D image on a _____________.
► 3-D display
► 2-D display
► On both 2-D and 3-D displays
► We can not view a 3-D image

Question No: 25 ( Marks: 1 ) - Please choose one
In a good presentation each slide should contain____________.
► Heading
► Phrases not sentences
► Sentences not phrases
► Heading, sentences not phrases

Question No: 26 ( Marks: 1 ) - Please choose one
The best number of lines in a slide is ____________.
► 9
► 11
► 13
► 5

Question No: 27 ( Marks: 1 ) - Please choose one
A variable can be _________ in scope.
► Local
► Global
► Either local or global
► None of the given options

Question No: 28 ( Marks: 1 ) - Please choose one
Java script interact with user through______________

► Special control
► Internet explorer
► Event handlers
► Java script does not interact with user

Question No: 29 ( Marks: 1 ) - Please choose one
CONCATENATE operator is used to____________ elements.
► Subtract
► Multiply
► Join
► Add


Question No: 30 ( Marks: 1 ) - Please choose one
FTP stands for __________.
► File transmission protocol
► File transmission path
► File transfer protocol
► Fine transfer path