Cs101 Subject Midterm-1
Cs101 Subject Midterm-1
Cs101
Introduction to Computing
Most Repeated Subjective Midterm
https://youtube.com/channel/UC_Ar-KkTPqjaljUX2LimmOQ
Short Questions
Please Subscribe Channel Learning With A&I Page 1
Most Important & Repeated Question Midterm CS101
2+3 Marks
Question No 1
What was the name of first super computer. When it was introduced?
Ans
CRAY1 is the first computer and it was introduced in 1973
Question No 2
What are compilers used for ?
Ans
Compiler is a software that can translate the whole programein once. It also save the program.
Question No 3
What is Script?
Ans
Script is a sequence of steps to carry out a work by processor And manage by a language like Javascript
and vb scripts.
Question No 4
What is the key feature of batch programs?
Ans
The key feature is no user interaction with computer while a program is running.
Question No 5
Name two languages which are used for client side scripting?
Ans
JavaScript , VBscript
Question No 6
The event handler attribute consists of three parts. Write about each of them.
Ans
The identifier of the event handler the equal sign a string statement enclosed in double or single quotes.
Question No 7
How a designer makes Structured Design?
Ans
Structured Design is known as a Top-down design. The designed first conceives about the High level
design and then further designs the details of the high level design components and it goes on and on.
Question No 8
What is Randomized Algorithm?
Ans
Randomized Algorithm:
Any algorithm whose behavior is not only determined by the input, but also values produced by a
random number generator
Question No 9
Define URL
Ans
Question No 10
What is <P> tag in HTML and How it is different from <br> tag?
Ans
<p> is used for paragraph in HTML language it has a closing tag </p>unlike <br> which has no closing
tag. Br only used to break the current line while <p> can be used for more lines
Question No 11
What is the purpose of MODEM ?
Ans
It receive data analog signal from a phone line and then convert them into digital signal and send back to
the computer with which it is attached. It also receives data from computer and convert it into analog
signals.
Question No 12
What is Home Page of a web site?
Ans
For a web user it is a first page displayed when a user starts a web browser and for a web developer it is
a first page when a user selects a site.
Question No 13
Why microprocessor uses the binary number system and not the decimal or any other number
system?
Ans
Because this system is natural for digital computer. Digital computer have fundamental building blocks
like ON & OFF Etc so it is natural to represent those in a number system that has only two symbols e.g
Binary Numbers 0,1.Whereas decimal system is natural for human.
Question No 14
Differentiate between onLoad and onUnload
Ans
On load event is used when the page is load in the browser while on the other side onUnload event works
when the page closes down.
Question No 15
What is best algorithm?
Ans
Greedy algorithm is the best algorithm as it is n algorithm that always takes the best immediate, or local
solution while finding an answer.
Question No 16
In JavaScript, what is event handling? What are the two types of events?
Ans
Event handling means capturing an event and responding to that.
Events e.g. onMouseOver, OnClick, onLoad, Onunload, updating the clock etc. are captured by the Java
script & According to the programs they are responded accordingly
Question No 17
What is a function? Give one example.
Ans
Function is a reusable code (group of statement) that is executed when the function is called. It is also
known as sub-Program. Function is normally defined in the head section of the code.
Question No 18
What is Structured Vector Graphics ?
Ans
This is a plug-in that is required to view swf (flash) files in the web browser
Question No 19
Write names of the DoS attack’s phases?
Ans
DoS (Denail of service): DoS attach has in total 3 phases and below they are listed:
1. Search
2. Arm
3. Attack
Question No 20
Briefly mention any three problems in old modes of presentation development
Ans
❖ Lack of resolution
❖ Low color configuration
❖ No graphic animation
Question No 21
Why the quality of image in dithering scheme is not good?
Ans
In this scheme, pixels of alternating colors are used to simulate a color that is not present in the platelet
For example, red and green pixels can be alternated to give the impression of bright Yellow
Question No 22
What is the difference between Interactive-mode and Batch-mode Application Software?
Ans
Batch-mode
This Mode Program has no user interaction with computer while a program is running e.gParoll
Interactive-mode
The user runs the program on the computer and keeps interacting with the computer while a program is
running e.g word processor
Question No 23
What is a Relational Database? Give the names of any three RDBMS software.
Ans
Database architecture consists of three levels, external, conceptual and internal. Clearly separating the
three levels was a major feature of the relational database.
NAMES:
Oracle Database software, Linux, and oracle e business database software , and Oracle OLAP.
Question No 24
What do you mean by the term ‘Telepresence’ in Computing World?
Ans
Telepresence
❖ Being there, without physically being there!
❖ Two remotely located people, with the help of special equipment, immersed in a simulated 3-D
environment where they interact like they are sitting next to each other
❖ Chatting, a telephone conversation, or even a videoconference are examples, but in a degraded
sense of the idea
Question No 25
What is meant by semantic error ?
Ans
It is an error which a developer encounters when a statement is executed but it was not intended by him
(the developer). Such errors are very difficult to locate during testing. Mostly these occur during
abnormal circumstances. It may be referred as the logical error.
Question No 26
Define the term 3D Rendering
Ans
The process of converting information about 3-D objects into a bit-map that can be displayed on a 2-D
computer display.
Question No 27
Define testing with respect to programming.?
Ans
Question No 28
What is ICMP?
Ans
ICMP is the “Internet Control Message Protocol”. ICMP packets are small packets used in local networks
and on the internet, most typically, for network troubleshooting and problem location.
Question No 29
Mention any five applications of Artificial Intelligent System
Ans
1. Games
2. Image recognition
3. Medical diagnosis
4. Robots
5. Business intelligence
Question No 30
Explain function arguments with the help of an example?
Ans
A named group of statements that is put together once and then used (by reference) repeatedly on a
Web page code becomes easier to read, understand and maintain
Question No 31
What are the elements of website design? Any one
Ans
❖ Navigation scheme
❖ Layout of information
❖ Overall look and feel
Question No 32
What is meant by universal access of internet services ?
Ans
Universal access of internet services means same functionality to every one.
Question No 33
Differentiate between For and While loop by writing the syntax of both loops.
Ans
When the exact number of iterations is known, use the ‘for’ loop when the number of iterations depend
upon a condition being met, use the ‘while’ loop ‘for’ loops become especially useful when used in
conjunction with arrays we’ll find out about arrays today, and we’ll probe their usefulness as part of ‘for’
loop structures
Question No 34
In programming, what is a loop?
Ans
In computer science a for loop is a programming language statement which allows code to be repeatedly
executed. A for loop is classified as an iteration statement.
Question No 35
Question No 36
How JavaScript Arrays are heterogeneous?
Ans
Arrays are heterogeneous in java script because at the same time simultaneously they can hold elements
of multiple data types
Question No 37
What are Trojan Horses?
Ans
Trojan horses are a kind of cyber crime, they are v harmful to computer because they are stand alone
program and the look like what they are not like any thing amusing or not harmless like games.
Question No 38
What BIOS stands for?
Ans
Binary Input Output System
Question No 39
List down the Analytical Engine’s components name (any two)
Ans
Google & Netscape,
Question No 40
Question No 41
Differentiate uni-Processor OS from Multi-Processor OS.
Ans
The Multiprocessors is when more than one processor is under operation it can be several or may
hundreds of the kind to perform one great operation or calculation, while our PC is a kind of uni-
processor
Question No 42
Question No 43
In programming, what is an object?
Ans
A named collection of properties (data, state) & methods (instructions, behavior)
Question No 44
What is spreadsheet? List any two jobs that it can do.
Ans
A spreadsheet is a grid that organizes data into columns and rows. Spreadsheets make it easy to display
information, and people can insert formulas to work with the data.
Question No 45
Explain how many ways businesses monitor their employees?
Ans
• Systems are available that monitor almost every key stroke that an employee makes on a computer
• Systems are available that read and censor all incoming and outgoing eMail
Question No 46
What is difference between Design and System Architecture?
Ans
Only the higher level designs are called System Architecture and lower level designs can not be called
system Architecture, and we can also say the every Architecture can be called design but every design
can not be called Architecture
Question No 47
Write a JavaScript program having two functions sum and mean.
Ans
The web page will ask the user to enter five values to be added. After taking input it will calculate the
sum and mean of those values by calling sum and mean functions
Question No 48
What does TCP/IP stand for?
Ans
TCP stand for Transmission Control Protocol
Question No 49
Question No 50
Give any five well-known design heuristics for architectural design.
Ans
Given many parts of a system to be designed/built, do the hard part 1 st.All the serious mistakes are made
on the very first day.Simplify, simplify, simplify! Probably the most useful heuristics for increasing
reliability while decreasing cost & time-to-build.
Question No 51
Question No 52
Why there is a need to use primary key in database ?
Ans
Primary Key is a field that uniquely identifies each record stored in a table.
Question No 53
What kind of information can be stored in a database?
Ans
It can store numbers, Booleans, sound, video, images etc.
Question No 54
Question No 55
How many iterations would this ‘for’ loop run for?
For ( x = 50 ; x < 0 ; x = x – 1 ) {
Document.write ( x ) ;
}
Ans
50 iterations
Question No 56
Question No 57
What are Local or Function-level Variables?
Ans
Declaring variables (using the var keyword) within a function, makes them local.
They are available only within the function and hold no meaning outside of it.
Question No 58
What is the Data Normalization? Also define its goal.
Ans
Data normalization is to sort out complex data into simple form. It uses to simplify the compANS
information to make it more user-friendly.
Question No 59
SMTP stands for what?
Ans
Simple Mail Transfer Protocol
Question No 60
What is bandwidth?
Ans
Bandwidth is a capacity of communication channel of carrying data.
Question No 61
Question No 62
For what purposes FTP is used in networks ?
Ans
To download or upload files / data to a remote computer
Question No 63
How can you define a readable program?
Ans
A program that is easy to read & understand also easy to maintain and enhance.
Question No 64
Question No 65
What does WAN stand for?
Ans
Wide Area Network – A network in which computers are separated by great distances typically across
cities or even continents.
Question No 66
Question No 67
What are the types of computer network according to the distance between nodes?
Ans
The types of computer network according to the distance between nodes are:
1. LAN
2. WAN
Question No 68
List any five issues of Data Management.
Ans
❖ Data entry
❖ Data updates
❖ Data integrity
❖ Data security
❖ Data accessibility
Question No 69
What is an IP address ?
Ans
Every device connected to the public Internet is assigned a unique number known as an Internet protocol
(IP) address.
Question No 70
Define semantic web with respect to the present web?
Ans
The Semantic Web is an idea of World Wide Web inventor Tim Berners-Lee that the.Web as a whole can
be made more intelligent and perhaps even intuitive about how to serve a user’s needs.
Question No 71
What is an Array?
Ans
An indexed list of elements.
Question No 72
Define Primary key and Queries
Ans
Primary Key
Primary key is a field that uniquely identifies each record stored in a table.
Queries
Queries are used to view, change, and analyze data. They can be used to combine data from different
table and extract the exact data that is desired.
Question No 73
When does recursion occur?
Ans
The power of recursion evidently lies in the possibility of defining an infinite set of objects by a finite
statement.
Question No 74
Question No 75
What is the difference between Internet and Intranet?
Ans
The Internet is an open, public space, while an intranet is designed to be a private space. An intranet may
be accessible from the Internet, but as a rule it’s protected by a password and accessible only to
employees or other authorized users
Question No 76
Write a short note on:
❖ Good programming methodology?
❖ Correct program
Ans
Correct program
A program with correct syntax & semantics.
Long Question
Question No 1
What is Robotics? How Robots making our daily and industrial life easy?
Ans
Robotics
These are the machines which are computer programmed and perform work which was
previously done by humans. They can be found in the manufacturing industry, the military,
space exploration and medical applications.
Question No 2
Question No 3
For example LAN can be used on pc s or an organization located in one building but wan can be
used on large scales like banks all over or in any Large communication systems
Question No 4
Write down three advantages of using Functions in a program.
Ans
• Debugging is easier
• It is easier to understand the logic involved in the program
• Testing is easier
• Recursive call is possible
• Irrelevant details in the user point of view are hidden in functions
• Functions are helpful in generalizing the program
Question No 5
What are the advantages of multimedia presentations? Write any five.
Ans
Multimedia presentation is a great tool for effective communication:
Advantages:
1. Easy to make last minute change
2. More attractive
3. Can include animation, videos etc.
4. Better presentation easy to understandable for participants comparing to manual
presentation.
Undo feature
Question No 6
Briefly describe Holographic Storage.
Ans
Holographic Storage
❖ Digital data stored in and read from a 3-D optical material with the help of lasers
❖ Depending upon the material, they could be read-only or R/W
❖ The data density (quantity of data stored per unit volume) will be millions of times more
than anything available today
❖ The concept has been validated but commercial applications are at least 10 years away
Question No 7
Write down the advantages of Natural Language Processing.
Ans
It is able to read what you write, comparing it to a stored database of texts. It then corrects your
errors and suggests alternatives. What advantages can this give you? Here are some:
❖ You Don’t Have to Worry About Careless Mistakes and Typos
❖ Your Grammar and Punctuation Errors are Fixed
❖ Allows You To Get More Accomplished
❖ Gives You A Better Vocabulary
❖ Instantly Upgrades Your Communication Skills
Question No 8
Question No 9
What are the steps of working of TCP and IP protocols in internet transmission?
Ans
TCP divide messages in to many packets (capsulation) and sent these messages over the
internet and IP route these messages on the internet to the correct destination and upon
reaching the messages on its destination the messages are encapsulated.
Question No 10
Question No 11
What is the difference between microprocessors and microcontrollers? Give one example of
both.
Ans
The microprocessor is electronic equipment which can perform several function and also
processing of data and information present in a computer, while microcontroller can only
perform one function for that its design
Example
❖ Microprocessors _ Pentium 4
❖ Microcontroller _ can be a switch in side the washing machine
Question No 12
Local variable used by single user while global variable can be used by different users at time
from all around.
Question No 13
What are the Sub categories of Artificial Intelligence? Briefly explain any two.
Ans
1. Robotics
These are the machines which are computer programmed and perform work which was
previously done by humans.
They can be found in the manufacturing industry, the military, space exploration and
medical applications.
2. Expert Systems
These systems are designed to replace an expert. The medical expert system is an example
of such system which can replace a Doctor/medical expert.
Question No 14
Why do we need an Interactive Form in a webpage?
Ans
❖ Interactive forms are used to gather user data and interact with the user.
❖ Forms can be made interactive with the use of client side scripting and server side
sciprting.
❖ In HTML, <FORM></FORM> tag is used to insert the form in a web page and it
always lie in <BODY></BODY> html tag.
❖ Without form’s web site is only “READ ONLY”.
❖ With the help of forms a user and can search the contents, place order for goods
and services.
❖ Forms can be simple or very complex, based on the requirement.
❖ Forms can contain a single element or many e.g text area, buttons
Question No 15
Write a brief note on each of the following.
❖ FTP
❖ Telnet
❖ Instant messaging
❖ VoIP
Ans
FTP: File Transfer Protocol: This protocol is used to upload and download the files on remote
computers.
Telnet: FTP allows file operations only while Telnet can log on to a computer of other users
throughTCP/IP network and use like a local user, it help in testing of remote web server.
Instant Messaging: This is the service of messaging provided on the internet like MSN
messenger, Yahoo messenger, through which we interact people randomly whenever required.
VoIP: Voice over IP, It is used to transmit the voice from one IP to another IP, In which voice is
first broken down and then transmitted over a network.
Question No 16
Define professional ethics and its benefits with an example?
Ans
Professional Ethics
❖ Professional ethics are a category of ethics, and here we discus the professional
ethics relevant to computing
❖ Awareness of professional ethics is gaining importance with time as the decision
making process in the work place keeps on increasing in complexity
❖ The professional ethics provide a way of simplifying that decision making process let
us now discuss a few situations where I will request you for your ethical opinions
Question No 17
What are application softwares? List down the names of three application softwares.
Ans
Application Software
Application Software are that software then can interact directory with the user for
performance of respective type of work.
Following are the types of Application Softwares:-
❖ AutoCAD and Corel Draw
❖ Business Software
❖ Productivity SW
❖ Games Software
Question No 18
What is the difference between ‘single-line text input field’ and ‘password input field’ ?
Ans
A Password Field is good for sensitive information. The only item that is absolutely necessary is
the Submit Button. It is a good idea to include a Reset Button for the convenience of the user.
A text field gathers information using a single line of text. This field is useful for short answers.
The default text field is blank. If you want to specify default text, use the VALUE attribute. .
Question No 19
What is an intelligent system?
Ans
Intelligent systems are the programs developed to perform complicated jobs that reflect human
brain and thoughts. If the algorithms are too much complex or can not be solved instantly then
we can use such systems. Therefore the well Intelligent system not only performs well but it has
the capability to rectify any errors by himself if it occurs within his domain.
The examples of intelligent systems are Robotics, Business Intelligence …etc.
Question No 20
Is tabular data storage better than flat file data storage? Justify your answer.
Ans
❖ Similar items of data form a column
❖ Fields placed in a particular row – same as a flat-file record – are strongly interrelated
❖ One can sort the table w.r.t. any column
❖ That makes searching – e.g., for all the books written by a certain author – straight
forward
❖ Similarly, searching for the 10 cheapest/most expensive books can be easily
accomplished through a sort
❖ Effort required for adding a new field to all the records of a flat-file is much greater than
adding a new column to the table
CONCLUSION: Tabular storage is better than flat-file storage
Question No 21
Write a note on :
Coding guidelines
• Identifiers
• Use the camel back scheme
• Variables: nouns
• Functions: verbs
• Comment Liberally
• Make them descriptive but concise
• No: Get it
• Else assume it. State it explicitly
• Do the design
Channel Link
https://youtube.com/channel/UC_Ar-KkTPqjaljUX2LimmOQ
Or Search on Youtube Learning With A&I
Subscribe Channel And Get More Post
For More Help Contact 03131778082
Please Subscribe Channel Learning With A&I
Page 29