64
Question No: 1 ( Marks: 1 ) - Please choose one Detailed plan, specifying the required resources and expected deliverables, is done in ________ phase. Planning User Requirements ► Design Developer Specification Question No: 2 ( Marks: 1 ) - Please choose one A combination of word processing and graphic design is Corel Draw Desktop Publishing page 83 ► Paint ► WordPad http://vuaccess.blogspot.com/ Question No: 3 ( Marks: 1 ) - Please choose one ------------- is an electronic path within a Computer System along which bits are transmitted. ► Port ► Slots Bus ► Modem

Cs101 Mid Term Papers

Embed Size (px)

Citation preview

Page 1: Cs101 Mid Term Papers

Question No: 1    ( Marks: 1 )    - Please choose one 

Detailed plan, specifying the required resources and expected deliverables, is done in ________ phase.        ► Planning       ► User Requirements       ► Design       ► Developer Specification   Question No: 2    ( Marks: 1 )    - Please choose one

 A combination of word processing and graphic design is        ► Corel Draw        ► Desktop Publishing  page 83        ► Paint        ► WordPad

 http://vuaccess.blogspot.com/

   Question No: 3    ( Marks: 1 )    - Please choose one

 ------------- is an electronic path within a Computer System along which bits are transmitted.        ► Port       ► Slots       ► Bus       ► Modem   Question No: 4    ( Marks: 1 )    - Please choose one

 The key strengths of computers are       ► Speed       ► Storage       ► Do not get bored

Page 2: Cs101 Mid Term Papers

       ► All of the given choices   Question No: 5    ( Marks: 1 )    - Please choose one

 We can change the background color in HTML, using ___ attribute of <body>        ► background        ► bgcolor        ► backcolor        ► backgroundcolor    Question No: 6    ( Marks: 1 )    - Please choose one

 ASCII WHITE is the fastest Super computer which can perform __________ calculations in one second.       ► 1.3 billion       ► 1.3 trillion       ► 1.3 miillion       ► 1.3 thousand   Question No: 7    ( Marks: 1 )    - Please choose one

 _____ is the example of server-side scripts on Unix servers.       ► ASP       ► CGI   page 71       ► VBScript       ► JavaScript   Question No: 8    ( Marks: 1 )    - Please choose one

 We need _____________ for memory management in computer       ► Software       ► Hardware       ► Operating System       ► Application Software   Question No: 9    ( Marks: 1 )    - Please choose one

 Data was stored and counted mechanically using ----------- decimal storage wheels, --------------------- rotary dial switches. 

Page 3: Cs101 Mid Term Papers

       ► 300,400        ► 1300,1400        ► 30100,14100        ► 3000 , 1400   page 14

 http://vuaccess.blogspot.com/

   Question No: 10    ( Marks: 1 )    - Please choose one

 The first spread sheet program was invented by       ► Charles Babbage       ► Dan Bricklin       ► Paul Graham       ► John von Neumann   Question No: 11    ( Marks: 1 )    - Please choose one

 In x = x + 20, x is called a __________.        ► Constant       ► String       ► Variable       ► Number   Question No: 12    ( Marks: 1 )    - Please choose one

 The transistor is a solid state semiconductor device used for amplification and switching, and has __________ terminals.       ► one       ► two       ► three  page 32       ► four   Question No: 13    ( Marks: 1 )    - Please choose one

 A diode functions as the electronic version of a __________-way valve.       ► one   page 32       ► two       ► three       ► four   Question No: 14    ( Marks: 1 )    - Please choose one

Page 4: Cs101 Mid Term Papers

 

This element of Flow Chart is called_____________.       ► Process       ► Off page connector       ► Decision       ► Connector   Question No: 15    ( Marks: 1 )    - Please choose one

Choose the correct html format to create a checkbox.  http://vuaccess.blogspot.com/

        ► <checkbox>        ► <input type="checkbox">        ► <check>                 ► <input type="check">    Question No: 16    ( Marks: 1 )    - Please choose one

 ---------------is the process of starting or restarting a computer. ►BIOS ►Refreshing ►Booting►None of given   

Q1Charles Babbage was a/an

(a) Mathematician(b) Computer Scientist(c) Physician(d) Analyst

Q2First electronic computer was

(a) ABC

Page 5: Cs101 Mid Term Papers

(b) UNVAC 1(c) Harvard Mark 1(d) IBM PC

Q3The Last famous electro-mechanical computer was

(a) ENIAC(b) EDVAC(c) Harvard Mark 1(d) Altair 8800

Q4The memory size of the Altair 8800 was

(a) 128 bytes(b) 256 bytes(c) 128 Kilo bytes(d) 256 Kilo bytes

Q5

This element of Flow Chart is called_____________.(a) Process(b) Process(c) Decision(d) Connector

Q6JavaScript is an example of _____________ language.

(a) Object-based(b) Object-oriented(c) Machine(d) Assembly

Q7____________ interacts directly with the computer Hardware

(a) Compiler(b) Operating system(c) Application software(d) Assembler

Q8In Spreadsheets, you can create a relationship between two cells by using _____.

(a) Numbers(b) Text(c) Formulas(d) None of the given choices

Q9In spreadsheets, cell address A12 means _______.

(a) Row A, Cloumn 12(b) Row 12, Cloumn A(c) Row 2,Cloumn A1(d) Row A1, Cloumn 2

Page 6: Cs101 Mid Term Papers

Q10VisiCalc was the first popular _______application on PC’s.

(a) Spreadsheet(b) Word processor(c) Presentation(d) Database

Q11__________ is the example of Shrink-wrapped software

(a) PIA information system(b) WinZip trial pack(c) Linux(d) MS Word

Q12The key feature of Scientific/Engineering/Graphics applications is ____________

(a) Intense calculations(b) User-friendly(c) Reliability(d) Cost-effective

Q13ERP is a type of __________________ .

(a) Entertainment software(b) Productivity software(c) Business software(d) Scientific software

Q14When we use <INPUT type=“password”>, what will happen?

(a) Text will not be visible(b) Text will be in normal format(c) Text will be in **** format(d) Text will be in #### format

Q15Video Card has its own -----------------

(a) Memory(b) Processor(c) Memory& Processor(d) Neither memory nor Processor

Q16Using only HTML we can create

(a) Dynamic web pages(b) Static web pages(c) Both Static and Dynamic pages(d) None of these

Q17The world first computer program was written to compute:

(a) Simple sequence(b) Multiple sequence

Page 7: Cs101 Mid Term Papers

(c) Bernoulli’s sequence(d) Increasing sequence

Q18Computers are good at

(a) Speed(b) Storage(c) Never bored(d) All of the given choices

Q19_____ is an application program that provides a way to look at and interact with all the information on the World Wide Web

(a) URL(b) Browser(c) HTML(d) Website

Q20___ contains the name of the protocol required to access the resource, a domain name that identifies a specific computer on the internet and a pathname on the computer

(a) HTML(b) HTTP(c) URL(d) WWW

Q21_________ is the interface in computer that supports transmission of multiple bits at the same time.

(a) Serial Port(b) Parallel Port(c) Universal Serial Bus(d) None of the given choices

Q22Forms can be submitted by using __________ different methods

(a) 2(b) 3(c) 4(d) 5

Q23Forms can be submitted through _______ & _______ methods

(a) INCLUDE, POST(b) INCLUDE, GET(c) GET, POST(d) SEND, POST

Q24__________ maintains index of names and location of the files.

(a) File manager(b) File system

Page 8: Cs101 Mid Term Papers

(c) File Folder(d) Operating system

Q25Now a days, users communicate with the computer using a consistent __________ provided by the Operating System.

(a) Command-line interface.(b) Application Interface(c) User Interface(d) Protocol

Q26If an algorithm is syntactically correct, but semantically incorrect then this situation is

(a) Very good situation(b) Very dangerous situation(c) Not very bad(d) Neutral situation

Q27What is the problem with Brute Force Strategy approach?Solution:- Doesn’t scale well with the size of the problem

Q28What is software design methodology?Solution:- The set of (often flexible) rules and guidelines a team of developers follow to construct reasonably complex SW systemsQ29What is the name of HTML tag, that has Href attribute and What is the Purpose of Href?Solution:- <A HREF = “action” > label </A>It is used to to create Links between pages, or we can used it as “mailto” function. Q30Write three characteristics of JavaScript.Solution:-

(1) JavaScript has numerous operators, classified in many categories.(2) Terminate all JavaScript statements with a semicolon. It is not always necessary,

but highly recommended.(3) JavaScript ignores any extra white spaces or line breaks that you put in the code(4) Although JavaScript allows variable declaration, it does not require it - except in

the case when(5)

Q31Give reasons why we need semantic web?Solution:- Whereas, today’s Web’s content is designed for humans to read; the Semantic Web’s content will be designed for computers to understand meaningfully. However, the

Page 9: Cs101 Mid Term Papers

Semantic Web is not a replacement but an extension of the present Web, in which info is given well defined meaning

Q32What are the two key features of UNDO command in MS-Excel ?Solution:-

1. Allows you to recover from your mistakes2. Allows you to experiment without risk

Q1Most frequently used computers are:

(a) Mainframe Computers(b) Personal Computers(c) Supper Computers(d) Embedded Computers

Q2Information on World Wide Web is _______________ unified.

(a) Physically(b) Logically(c) Really(d) None of the given choices

Q3A Modem is a kind of ___

(a) Input device(b) Output device(c) Storage device(d) Input and Output device

Q4There are ___________ ways to represent an algorithm.

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

Q5Logical operation that is performed on single input variable is ---------------

(a) AND(b) OR(c) NOT(d) NOR

Q6JavaScript does not support_______________

(a) User interaction(b) Graphics(c) Network operations(d) Both Graphics and Network operations

Q7__________ is a program that executes instructions line by line written in a high-level language.

Page 10: Cs101 Mid Term Papers

(a) Interpreter(b) Compiler(c) Predictor(d) Executor

Q8__________ is a particularly good language for processing numerical data, but it does not lend itself very well to large business programs

(a) BASIC(b) PASCAL(c) JAVA(d) FORTRAN

Q9The default bullet for the list in HTML is

(a) Circle shape(b) Disc shape(c) Square shape(d) Triangle shape

Q10Which of the following is an illegal identifier?

(a) _3yourName(b) MyObject(c) 5stars

Q11A ____________ operating system allows many users to take advantage of the computer's resources, simultaneously

(a) Single user(b) Multi- user(c) Single tasking(d) Multi tasking

Q12Which of the following is NOT an example of Multi-user Operating system

(a) Windows(b) Linux(c) DOS(d) Solaris

Q13Which of the following is/are the parts of Operating system components?

(a) GUI(b) Device Manager(c) Shell(d) All of these

Q14What is/are the use/uses of Word processor?

(a)To write a letter(b)To write Research paper or report(c) To create address labels

Page 11: Cs101 Mid Term Papers

(d) All of the givenQ15All the hardware components of the Computer system are installed on-------------.

(a) Microprocessor(b) Motherboard(c) Monitor(d) Memory

Q16A connection point through which different external devices are connected with computer is called -----------------------

(a) Port(b) Slots(c) Bus(d) Modem

Q17Deep Blue was the name of

(a) Computer(b) Human(c) City(d) Game

Q18Compared to vacuum tubes, Transistors offer:

(a) Much smaller size(b) Better reliability(c) Much lower cost(d) All of the given choices

Q19If a computer could pass the Turing test then it would be able to:

(a) think like human beings(b) do the things faster(c) win a million dollar prize(d) store more information

Q20We can change the background color in HTML, using ___ attribute of <body>

(a) Background(b) bgcolor(c) Backcolor(d) Backgroundcolor

Q21Which of the following is NOT supported by PC's power supply

(a) -12 and +12 V DC(b) -10 and +10 V DC(c) -5 and + 5 V DC(d) All are supported

Q22There is a battery on the motherboard to:

Page 12: Cs101 Mid Term Papers

(a) Give power to the processor(b) Save information when computer is off(c) Save information when computer is on(d) Give power to the motherboard

Q23Structures, in which another list starts before the first list is finished, are called:

(a) Multiple Lists(b) Nested Lists(c) Ordered Lists(d) Un-ordered Lists

Q24In addition to unordered lists, HTML supports ________ other types of list

(a) 2(b) 3(c) 4(d) 5

Q25When the user needs something to be done by the computer, he/she gives instructions in the form of _____ to computer ____

(a) Software, Hardware(b) Hardware, Software(c) System Software, Application Software(d) Graph, Monitor

Q26Application developers do not need to know much about the_________ while they are developing their applications

(a) Software(b) Hardware(c) Operating System(d) Kernel

Q27In Babbage's Analytical Engine, what was initially used to store information ?Solution:- A programmable, mechanical, digital machineCould carryout any calculationCould make decisions based upon the results of the previous calculationComponents: input; memory; processor; output

Q28What is the basic use of supercomputers?Solution:- A supercomputer is a computer that performs at or near the currently highest operational rate for computers. A supercomputer is typically used for scientific and engineering applications that must handle very large databases or do a great amount of computation

Page 13: Cs101 Mid Term Papers

(or both). At any given time, there are usually a few well-publicized supercomputers that operate at the very latest and always incredible speeds.

Q29What is the difference between ‘single-line text input field’ and ‘password input field’ ?Solution:- Single line text filed shows data in text form, but password field is shown data in **** shape Q30List down the names of any three parameters on which we analyze an algorithm.Solution:-

Q31Write differences between Shareware and trail ware software.Solution:- Shareware is software that is distributed without payment ahead of time as is common for proprietary software. Typically shareware software is obtained free of charge by downloading, thus allowing one to try out the program ahead of time.Trail wareIt is similar to shareware but difference is that the SW is usable for a short period only.When the period is expired, it is no more in use until the license is not purchased. The trial period may vary according to its developer. This period may range from a week to a few months.

Q32Why do we need an Interactive Form in a webpage?Solution:-

Because in interactive pages we can create, GUI-based programs, Also in this form there are check boxes, text boxes, buttons, and scrollable lists. All these above commands increases the page attractiveness.

Q1Cray-1 was first commercial _________ computer

(a)Super(b)Mini(c)Micro(c)Personal

Q2Browser is a __________________ used for browsing.

(a) Tool(b) Component(c) Device(d) None of the given choices

Page 14: Cs101 Mid Term Papers

Q3The name of first browser was ______

(a) Internet Explorer(b) Moziac(c) Netscape(d) Firefox

Q4Which of the following hardware component of a computer can also be called as engine?

(a) Bus(b) Storage(c) Memory(d) Processor

Q5The impact of a digit in a number is determined by its ---------------

(a) Value(b) Location(c) Length(d) None of above

Q6

This element of Flow Chart is called_____________.(a) Process(b) Off-page Connector(c) Decision(d) Connector

Q7The sequence of phases, a software goes through from the concept to decommissioning, is called

(a) Software composition(b) Software life-cycle(c) Software methodology(d) Software development steps

Q8In JavaScript, a variable declaration is

(a) Optional(b) Mandatory(c) Not allowed(d) None of the given

Q9____________ interacts directly with the computer Hardware

(a) Compiler(b) Operating system(c) Application software(d) Assembler

Q10Which of the following is/are the parts of Operating system components?

Page 15: Cs101 Mid Term Papers

(a) GUI(b) Device Manager(c) Shell(d) All of these

Q11Tag used for the highest level Heading is ________________

(a) <h2></h2>(b) <h2></h2>(c) <h1></h1>(d) . None of these

Q12The programming language specifically designed by the US Department of Defense for developing military applications was named ___________.

(a) Smalltalk(b) C(c) C++(d) Ada

Q13------------ is volatile memory

(a) RAM(b) ROM(c) Hard Disk(d) Hard Disk

Q14The key strengths of computers are

(a) Speed(b) Storage(c) Do not get bored(d) All of the given choices

Q15_____ is an application program that provides a way to look at and interact with all the information on the World Wide Web

(a) URL(b) Browser(c) HTML(d) Website

Q16______ is a client program that uses HTTP to make requests to Web servers throughout the internet on behalf of the user.

(a) Web Application(b) Web Browser(c) Internet Application

Page 16: Cs101 Mid Term Papers

(d) HTMLQ17___ contains the name of the protocol required to access the resource, a domain name that identifies a specific computer on the internet and a pathname on the computer

(a) HTML(b) HTTP(c) URL(d) WWW

Q18To start an ordered list from 20 instead of 1, we will write

(a) <OL begin = “20">(b) <OL initiate = “20">(c) <OL start = “20">(d) <OL from = “20">

Q19_________ is the interface in computer that supports transmission of multiple bits at the same time.

(a) Serial Port(b) Parallel Port(c) Universal Serial Bus(d) None of the given choice

Q20.Monitor is an example of:

(a) Input Device(b) Processing Device(c) Output Device(d) Storage Device

Q21Different parts or components of computer use as a communication path

(a) RAM(b) Bus(c) ROM(d) Processor

Q22There is a battery on the motherboard to:

(a) Give power to the processor(b) Save information when computer is off(c) Save information when computer is on(d) Give power to the motherboard

Q23In which case Cache Memory is used

(a) To increase RAM speed

Page 17: Cs101 Mid Term Papers

(b) To overcome BUS speed(c) To overcome Speed rate between RAM and CPU(d) To overcome CPU speed

Q24Using COLSPAN, number of rows of the current cell should extend itself

(a) Upward(b) Downward(c) Both Upward and Downward(d) None of the given choices

Q25Operating System talks to and manages devices through

(a) Loader(b) File Manager(c) Memory Manager(d) Device Driver

Q26Pseudo code is written in

(a) Complex grammar(b) Plain English(c) JAVA(d) Pseudo language

Q27What is Object in JavaScript ?Solution:-Everything that JavaScript manipulates, it treats as an object – e.g. a window or a buttonAn object has properties – e.g. a window has size, position, status,Q28Write one purpose of using spreadsheets?Solution:-Electronic replacement for ledgers, Used for automating engineering, scientific, but in majority of cases, business calculations, A spreadsheet - VisiCalc - was the first popular application on PC’s. It helped in popularizing PC’s by making the task of financial-forecasting much simpler, allowing individuals to do forecasts which previously were performed by a whole team of financial wizard

Q29Write one purpose of using spreadsheets?Solution:-Electronic replacement for ledgers, Used for automating engineering, scientific, but in majority of cases, business calculations, A spreadsheet - VisiCalc - was the first popular application on PC’s. It helped in popularizing PC’s by making the task of financial-forecasting much simpler, allowing individuals to do forecasts which previously were performed by a whole team of financial wizard

Page 18: Cs101 Mid Term Papers

Q30How a designer makes Structured Design?Solution:-Also called top-down design, The designer starts by first conceiving a skeleton high-level design of the system, and then starts defining features of that over-all design in an ever-increasing detail Making small changes in the functionality of the systems sometimes leads to major redesign exercise. Structured design emphasizes separating a program's data from its functionality

Q31What is the difference between High-level and Low-level programming languages?Solution:-High language can be easily understood by human beings. But low level language is machine langue, but we can understand it. Because low level language is machine langueQ32What are the main responsibilities that Kernel plays in Operating system?Solution:-Responsible for all the essential operations like basic house keeping, task scheduling, etc Also contains low-level HW interfaces Size important, as it is memory-resident

Question No: 1 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer_ Super_ Mini_ Micro_ Personal

Question No: 2 ( Marks: 1 ) - Please choose one

Browser is a __________________ used for browsing._ Tool_ Component_ Device_ None of the given choicesQuestion No: 3 ( Marks: 1 ) - Please choose oneIt represents the _____________ flow chart element._ Flow Line_ Connector_ Off-page connector_ Start or StopQuestion No: 4 ( Marks: 1 ) - Please choose oneJavaScript is an example of _____________ language.

Page 19: Cs101 Mid Term Papers

_ Object-based_ Object-oriented_ Machine_ AssemblyQuestion No: 5 ( Marks: 1 ) - Please choose oneThe set of rules and guidelines a team of developers follow to construct reasonablycomplex SW systems is called_ Object Oriented Design_ Object Oriented Software_ Design Methodology_ Programming languagebilal.Question No: 6 ( MarksWaterfall is a _________ life-cycle model._ Spiral_ Sequential_ Circular_ SphericalQuestion No: 7 ( Marks: 1 ) - Please choose oneWhat happens if I start a new list without closing the original one?_ An error will be generated_ A nested list will be created_ Previous list will end and a new will start._ Nothing will happenQuestion No: 8 ( Marks: 1 ) - Please choose oneIn Spreadsheets, you can create a relationship between two cells by using _____._ Numbers_ Text_ Formulas_ None of the given choicesQuestion No: 9 ( Marks: 1 ) - Please choose oneVisiCalc was the first popular _______application on PC’s._ Spreadsheet_ Word processor_ Presentation_ DatabaseQuestion No: 10 ( Marks: 1 ) - Please choose oneFins are used to --------------_ Communicate with microprocessor_ Increase surface area of Fan_ Decrease surface area of Fan_ Speed up the Fan.Question No: 11 ( Marks: 1 ) - Please choose oneUsing only HTML we can create_ Dynamic web pages_ Static web pages

Page 20: Cs101 Mid Term Papers

_ Both Static and Dynamic pages_ None of theseQuestion No: 12 ( Marks: 1 ) - Please choose oneEverything that JavaScript manipulate is treated as:_ Object_ Window_ Text_ ScriptQuestion No: 13 ( Marks: 1 ) - Please choose oneThe ______ is connected to all other modules of the microprocessor._ Control unit_ Memory unit_ Floating Point unit_ Arithmetic and Logic unitQuestion No: 14 ( Marks: 1 ) - Please choose oneCommunication protocol is a __________that governs the flow of information over anetwork_ Set of protocols_ Set of rules_ Device_ Set of methodsQuestion No: 15 ( Marks: 1 ) - Please choose one_________ is the interface in computer that supports transmission of multiple bits at thesame time._ Serial Port_ Parallel Port_ Universal Serial Bus_ None of the given choicesQuestion No: 16 ( Marks: 1 ) - Please choose one_____ was designed as a replacement for typewriter_ Spreadsheet Software_ Word Processor Software_ Presentation Software_ Database SoftwareQuestion No: 17 ( Marks: 1 ) - Please choose oneWhich one of these translates the program once at a time ?_ Interpreter_ Compiler_ Operating system_ TranslatorQuestion No: 18 ( Marks: 1 ) - Please choose oneRandomized algorithms are often ________ than deterministic algorithms for the sameproblem._ Simpler and more slow_ Simpler and more efficient_ Complex and more efficient

Page 21: Cs101 Mid Term Papers

_ Complex and more slowQuestion No: 19 ( Marks: 1 ) - Please choose oneAda written a computer programme for ?_ Analytical Engine_ Difference Engine_ Harvard Mark 1_ Mechanical engineQuestion No: 20 ( Marks: 1 ) - Please choose oneA test proposed to determine if a computer has the ability to think. It is called?_ Turing test_ Turning test_ Intelligence test_ NoneQuestion No: 21 ( Marks: 1 ) - Please choose oneThe most used form tag is the <input> tag._ True_ FalseQuestion No: 22 ( Marks: 1 ) - Please choose oneWhen the user clicks on the "Submit" button, the content of the form is sent to theserver._ True_ FalseQuestion No: 23 ( Marks: 1 ) - Please choose oneExtension for saving web page is / are;_ *.html_ *.htm_ *.html and *.htm both are in use_ None of TheseQuestion No: 24 ( Marks: 1 ) - Please choose oneIn spread sheet a cell may contain_ Numbers_ Text_ Formulas_ All of the givenQuestion No: 25 ( Marks: 1 ) - Please choose onePrograms where no user interaction found during program execution are called__________._ Batch programs_ Event-driven programs_ Graphics based programs_ None of the givenQuestion No: 26 ( Marks: 1 ) - Please choose oneOO software is all about _____________._ Behaviors_ Methods_ Properties

Page 22: Cs101 Mid Term Papers

_ ObjectsQuestion No: 27 ( Marks: 1 )What is the key feature of batch programs?Answer: The key feature is no user interaction with computer while a program isrunning.Question No: 28 ( Marks: 1 )Name two languages which are used for client side scripting?Answer: Javascript , VBscriptQuestion No: 29 ( Marks: 2 )What is the purpose of MODEM ?Answer: It receive data analog signal from a phone line and then convert them into digitalsignal and send back to the computer with which it is attached. It also receives data fromcomputer and convert it into analog signals.Question No: 30 ( Marks: 3 )What is Home Page of a web site?Answer: For a web user it is a first page displayed when a user starts a web browser andfor a web developer it is a first page when a user selects a site.Question No: 31 ( Marks: 5 )Why microprocessor uses the binary number system and not the decimal or any othernumber system?Answer: Because this system is natural for digital computer. Digital computer havefundamental building blocks like ON & OFF Etc so it is natural to represent those in anumber system that has only two symbols e.g Binary Numbers 0,1. Whereas decimalsystem is natural for human.Question No: 32 ( Marks: 5 )What is the difference between Interactive-mode and Batch-mode Application Software?Answer: Batch-mode: This Mode Program has no user interaction with computer while aprogram is running e.g ParollInteractive-mode: The user runs the program on the computer and keeps interacting withthe computer while a program is running e.g word processor

MIDTERM EXAMINATION Spring 2009

CS101- Introduction to Computing (Session - 6) Time: 60 min

Marks: 43

Page 23: Cs101 Mid Term Papers

Question No: 1 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer ► Super ► Mini ► Micro ► Personal Question No: 2 ( Marks: 1 ) - Please choose one

Browser is a __________________ used for browsing. ► Tool ► Component ► Device ► None of the given choices Question No: 3 ( Marks: 1 ) - Please choose one

It represents the _____________ flow chart element.

► Flow Line

► Connector ► Off-page connector ► Start or Stop Question No: 4 ( Marks: 1 ) - Please choose one

JavaScript is an example of _____________ language.

► Object-based ► Object-oriented ► Machine ► Assembly Question No: 5 ( Marks: 1 ) - Please choose one

The set of rules and guidelines a team of developers follow to construct reasonably complex SW systems is called

► Object Oriented Design ► Object Oriented Software ► Design Methodology

Page 24: Cs101 Mid Term Papers

► Programming language Question No: 6 ( Marks: 1 ) - Please choose one

Waterfall is a _________ life-cycle model.

► Spiral ► Sequential ► Circular ► Spherical Question No: 7 ( Marks: 1 ) - Please choose one

What happens if I start a new list without closing the original one? ► An error will be generated ► A nested list will be created

► Previous list will end and a new will start.

► Nothing will happen

Question No: 8 ( Marks: 1 ) - Please choose one

In Spreadsheets, you can create a relationship between two cells by using _____.

► Numbers ► Text ► Formulas ► None of the given choices Question No: 9 ( Marks: 1 ) - Please choose one

VisiCalc was the first popular _______application on PC’s.

► Spreadsheet ► Word processor ► Presentation ► Database Question No: 10 ( Marks: 1 ) - Please choose one

Fins are used to --------------

► Communicate with microprocessor ► Increase surface area of Fan ► Decrease surface area of Fan

Page 25: Cs101 Mid Term Papers

► Speed up the Fan. Question No: 11 ( Marks: 1 ) - Please choose one

Using only HTML we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 12 ( Marks: 1 ) - Please choose one

Everything that JavaScript manipulates is treated as: ► Object

► Window

► Text

► Script

Question No: 13 ( Marks: 1 ) - Please choose one

The ______ is connected to all other modules of the microprocessor.

► Control unit ► Memory unit ► Floating Point unit ► Arithmetic and Logic unit Question No: 14 ( Marks: 1 ) - Please choose one

Communication protocol is a __________that governs the flow of information over a network ► Set of protocols ► Set of rules ► Device ► Set of methods Question No: 15 ( Marks: 1 ) - Please choose one

Page 26: Cs101 Mid Term Papers

_________ is the interface in computer that supports transmission of multiple bits at the same time. ► Serial Port ► Parallel Port ► Universal Serial Bus ► None of the given choices Question No: 16 ( Marks: 1 ) - Please choose one

_____ was designed as a replacement for typewriter ► Spreadsheet Software ► Word Processor Software ► Presentation Software ► Database Software Question No: 17 ( Marks: 1 ) - Please choose one

Which one of these translates the program once at a time ? ► Interpreter ► Compiler ► Operating system ► Translator Question No: 18 ( Marks: 1 ) - Please choose one

Randomized algorithms are often ________ than deterministic algorithms for the same problem. ► Simpler and more slow ► Simpler and more efficient ► Complex and more efficient ► Complex and more slow Question No: 19 ( Marks: 1 ) - Please choose one

Ada written a computer programme for ?

► Analytical Engine

► Difference Engine

► Harvard Mark 1

► Mechanical engine

Page 27: Cs101 Mid Term Papers

Question No: 20 ( Marks: 1 ) - Please choose one

A test proposed to determine if a computer has the ability to think. It is called?

► Turing test

► Turning test

► Intelligence test

► None

Question No: 21 ( Marks: 1 ) - Please choose one

The most used form tag is the <input> tag.

► True ► False Question No: 22 ( Marks: 1 ) - Please choose one

When the user clicks on the "Submit" button, the content of the form is sent to the server.

► True ► False Question No: 23 ( Marks: 1 ) - Please choose one

Extension for saving web page is / are; ► *.html ► *.htm ► *.html and *.htm both are in use ► None of These Question No: 24 ( Marks: 1 ) - Please choose one

In spread sheet a cell may contain

► Numbers ► Text ► Formulas ► All of the given

Page 28: Cs101 Mid Term Papers

Question No: 25 ( Marks: 1 ) - Please choose one

Programs where no user interaction found during program execution are called __________. ► Batch programs ► Event-driven programs ► Graphics based programs ► None of the given Question No: 26 ( Marks: 1 ) - Please choose one

OO software is all about _____________.

► Behaviors ► Methods ► Properties ► Objects

Question No: 1 ( Marks: 1 ) - Please choose one

Human are better than computers at: ► Efficiency ► Accuracy ► Pattern recognition ► None of the given choices Question No: 2 ( Marks: 1 ) - Please choose one

Cray-1 was first commercial _________ computer ► Super ► Mini ► Micro ► Personal Question No: 3 ( Marks: 1 ) - Please choose one

URL is a/an ________ ► Device ► Component ► Address

Page 29: Cs101 Mid Term Papers

► Tool Question No: 4 ( Marks: 1 ) - Please choose one

Mainframe Computers are also called _____ ► Enterprise Servers ► Personal Servers ► Enterprise Managers ► Window Servers Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following is NOT a category of Mobile Computers? ► Laptop ► Palmtop ► Desktop ► Wearable Question No: 6 ( Marks: 1 ) - Please choose one

Preliminary exploration of possible solutions, technologies, suppliers is called

► Viability ► Feasibility ► Specification ► Integration Question No: 7 ( Marks: 1 ) - Please choose one

__________ give us the ability to manipulate data through reference instead of actual value.

► Constants ► Variables ► Data Types ► Operators Question No: 8 ( Marks: 1 ) - Please choose one

Consider the following statement written in JavaScript: str = ”Hello” + ” World”

What will be the value of str ? ► HelloWorld ► Hello World

Page 30: Cs101 Mid Term Papers

► Hello + World ► It will result in error Question No: 9 ( Marks: 1 ) - Please choose one

A tool that helps you to find the synonyms is called ______________.

► Language ► Paragraph ► Thesaurus ► Symbol Question No: 10 ( Marks: 1 ) - Please choose one

Communication protocol is a __________that governs the flow of information over a network ► Set of protocols ► Set of rules ► Device ► Set of methods Question No: 11 ( Marks: 1 ) - Please choose one

If a computer could pass the Turing test then it would be able to: ► think like human beings ► do the things faster ► win a million dollar prize ► store more information Question No: 12 ( Marks: 1 ) - Please choose one

The first Web browser with a GUI was generally available in: ► 1992 ► 1993 ► 1994 ► 1995 Question No: 13 ( 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: 14 ( Marks: 1 ) - Please choose one

Page 31: Cs101 Mid Term Papers

In this URL http://www.msn.com , _____identifies the domain name ► http ► www ► msn ► com Question No: 15 ( Marks: 1 ) - Please choose one

______ is simply a fast port that lets you connect computer peripherals and consumer electronics to your computer without restart. ► Freeware ► Shareware ► Firewire ► Firmware Question No: 16 ( Marks: 1 ) - Please choose one

Which of the following is NOT supported by PC's power supply. ► -12 and +12 V DC ► -10 and +10 V DC ► -5 and + 5 V DC ► All are supported Question No: 17 ( Marks: 1 ) - Please choose one

In which case Cache Memory is used ► To increase RAM speed ► To overcome BUS speed ► To overcome Speed rate between RAM and CPU ► To overcome CPU speed Question No: 18 ( Marks: 1 ) - Please choose one

To display a single line text area on the web page, we use ___ tag ► TEXT ► TEXTBOX ► INPUT ► INPUTBOX Question No: 19 ( Marks: 1 ) - Please choose one

If an algorithm is syntactically correct, but semantically incorrect then this situation is ► Very good situation ► Very dangerous situation ► Not very bad

Page 32: Cs101 Mid Term Papers

► Neutral situation Question No: 20 ( Marks: 1 ) - Please choose one

Users communicate with the computer using a consistent user interface provided by the OS. ► True ► False Question No: 21 ( Marks: 1 ) - Please choose one

Application developers do not need to know much about the HW, especially the microProcessor, while they are developing their application. ► True ► False Question No: 22 ( Marks: 1 ) - Please choose one

The first spread sheet program was invented by ► Charles Babbage ► Dan Bricklin ► Paul Graham ► John von Neumann Question No: 23 ( Marks: 1 ) - Please choose one

Which representation technique of algorithm is more suitable for developer to make actual code___________.

► pseudo code ► flow chart

► both pseudo code and flow chart

► Heuristics

Question No: 24 ( Marks: 1 ) - Please choose one

_____________ is used to terminate all JavaScript statements. ► Colon ► Semicolon ► Underscore ► Apostrophe Question No: 25 ( Marks: 1 ) - Please choose one

Page 33: Cs101 Mid Term Papers

In java script cookies can be created for future use_____.

► Easily

► No facility at all

► This is not possible without Java language. ► Cookies are files so java script can not handle it. Question No: 26 ( Marks: 1 ) - Please choose one

When the microprocessor desires to look at a piece of data, it checks in the __________ first. ► RAM ► ROM ► hard disk ► cache Question No: 1 ( Marks: 1 ) - Please choose one

Vacuum tubes were replaced by _transistors__ ► Punch cards ► Transistors ► Micro Processors ► Resistors Question No: 2 ( Marks: 1 ) - Please choose one

Today’s computers are based on the technology of ___transistors__ ► Punch cards ► Vacuum tubes ► Transistors ► Resistors Question No: 3 ( Marks: 1 ) - Please choose one

Browser is a _________none of the given choices_________ used for browsing. ► Tool ► Component ► Device ► None of the given choices Question No: 4 ( Marks: 1 ) - Please choose one

Page 34: Cs101 Mid Term Papers

It represents the ______input or output__________ flow chart element.

► Process ► Input or Output ► Decision ► Connector Question No: 5 ( Marks: 1 ) - Please choose one

Which of the following number system is used by microprocessor? Binary

► Binary ► Decimal ► Octal ► Hexadecimal Question No: 6 ( Marks: 1 ) - Please choose one

Hexadecimal number system is based on ----------16---------- digits ► 2 ► 8 ► 12 ► 16 Question No: 7 ( Marks: 1 ) - Please choose one

Java script interact with user through______Event handlers________

► Special control ► Internet explorer ► Event handlers ► Java script does not interact with user Question No: 8 ( Marks: 1 ) - Please choose one

Programs that are typically started from a shell (or automatically via a scheduler) are called Batch programs

► Batch programs ► Event-driven programs ► Sequential programs ► Application programs Question No: 9 ( Marks: 1 ) - Please choose one

Page 35: Cs101 Mid Term Papers

A new cell using HTML is added in table row by <TD>..</TD> ► <TC>…</TC> ► <TR>…</TR>

► <TD>…</TD> ► <NC>…</NC> Question No: 10 ( Marks: 1 ) - Please choose one

Waterfall is a __sequential_______ life-cycle model.

► Spiral ► Sequential ► Circular ► Spherical Question No: 11 ( Marks: 1 ) - Please choose one

What will be the result of the following formula in Spreadsheet application ?SUM(A2:A3) =_______100__(Assume that A2 = 25 A3 = 75)

► 25 ► 50 ► 75 ► 100 Question No: 12 ( Marks: 1 ) - Please choose one

A _____multi user_______ operating system allows many users to take advantage of the computer's resources, simultaneously ► Single user

► Multi- user

► Single tasking

► Multi tasking

Question No: 13 ( Marks: 1 ) - Please choose one

When we use <INPUT type=“password”>, what will happen? Text will be in **** format

► Text will not be visible

Page 36: Cs101 Mid Term Papers

► Text will be in normal format

► Text will be in **** format

► Text will be in #### format

Question No: 14 ( Marks: 1 ) - Please choose one

The world first computer program was written to compute: bernoulli’s sequence ► Simple sequence ► Multiple sequence ► Bernoulli’s sequence ► Increasing sequence Question No: 15 ( Marks: 1 ) - Please choose one

The first Web browser with a GUI was generally available in: 1993 ► 1992 ► 1993 ► 1994 ► 1995 Question No: 16 ( Marks: 1 ) - Please choose one

ASCII WHITE is the fastest Super computer which can perform __1.3 trillion________ calculations in one second. ► 1.3 billion ► 1.3 trillion ► 1.3 miillion ► 1.3 thousand Question No: 17 ( Marks: 1 ) - Please choose one

Monitor is an example of: output device ► Input Device ► Processing Device ► Output Device ► Storage Device Question No: 18 ( Marks: 1 ) - Please choose one

Forms can be submitted through _____get__ & __post_____ methods ► INCLUDE, POST ► INCLUDE, GET

Page 37: Cs101 Mid Term Papers

► GET, POST ► SEND, POST Question No: 19 ( Marks: 1 ) - Please choose one

_kernel______ is responsible for all the essential operations like basic house keeping, task scheduling, etc. Also contains low-level HW interfaces ► Hardware ► Device Manager ► Kernel ► Device Driver Question No: 20 ( Marks: 1 ) - Please choose one

Which of the following is NOT an Application Software. Windows XP

► Word Processor

► Web Browser

► Windows XP

► MS Excel

Question No: 21 ( Marks: 1 ) - Please choose one

Bit-mapped graphics is also known as _____raster___ graphics ► Vector ► Raster ► Scalar ► Simple Question No: 22 ( Marks: 1 ) - Please choose one

A set of stand alone productivity applications designed to work together known as ___Productivity software suites___________ .

► Productivity software suites

► Compiled software

► Secure software

► Intelligent software

Page 38: Cs101 Mid Term Papers

Question No: 23 ( Marks: 1 ) - Please choose one

_____semicolon________ is used to terminate all JavaScript statements. ► Colon ► Semicolon ► Underscore ► Apostrophe Question No: 24 ( Marks: 1 ) - Please choose one

By today's standards, the Mark-I was slow and requiring 3 to 5 seconds for a multiplication operation. True

► True ► False Question No: 25 ( Marks: 1 ) - Please choose one

There are______NO Standard___________ rules to write the Pseudo Code.

► Standard ► No standard ► Pre-defined ► Strict Question No: 26 ( Marks: 1 ) - Please choose one

In flow charts, there is only one entry point in conditions while there is/are_____2_____ exit points.

► 1 ► 2 ► 3 ► 4 Question No: 27 ( Marks: 1 )

Define URL

URL(Uniform resource locator)

Page 39: Cs101 Mid Term Papers

URL (Uniform Resource Locator, previously Universal Resource Locator) - is the address of a file (resource) accessible on the Internet. The type of file or resource depends on the Internet application protocol.Examples of URLs: http://vu.edu.pk

http://www.yahoo.com

Question No: 28 ( Marks: 1 )

What is Randomized Algorithm?Randomized Algorithm:Any algorithm whose behavior is not only determined by the input, but also values produced by a random number generatorThese algorithms are often simpler and more efficient than deterministic algorithms for the same problem. And because of there simplicity they are easier to analyze which is the most important thing in the decision making of an algorithm.

Question No: 29 ( Marks: 2 )

What was the name of first super computer. When it was introduced? CRAY1 is the first computer and it was introduced in 1973Question No: 30 ( Marks: 3 )

How a designer makes Structured Design?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.Making small changes in the functionality of the systems sometimes leads to major re-design exercise. Structured design separates the functionality from programs data and that’s why program’s deisgned by this methodology are difficult to maintain. Question No: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the decimal or any other number system?The processor is the logic of a computer and functions comparably to a human central nervous system, directing signals from one component to another and enabling everything to happen. A microprocessor is made from miniaturized transistors and other circuit elements on a singlesemiconductor integrated circuit (IC) . These are made up oof semiconductor and silicon.Microprocessor are composed of components which has only two states either 0 or 1. Binary number system is also composed of these two states.

Page 40: Cs101 Mid Term Papers

Microprocessor till today only understand the machine language and machine language is only based on binary number system. Even today’s 64 bit microprocessors are also based on this technology. Question No: 32 ( Marks: 5 )

Why do we need an Interactive Form in a webpage? 1. Interactive forms are used to gather user data and interact with the user. 2. Forms can be made interactive with the use of client side scripting and

server side sciprting.3. In HTML, <FORM> </FORM> tag is used to insert the form in a web page

and it always lie in <BODY></BODY> html tag.4. without form’s web site is only “READ ONLY”.5. with the help of forms a user and can search the contents, place order for

goods and services.6. Forms can be simple or very complex, based on the requirement.7. forms can contain a single element or many e.g text area, buttons

Theory Questions

What is the key feature of batch programs?

Name two languages which are used for client side scripting?

What is the purpose of MODEM ?

What is Home Page of a web site?

Why microprocessor uses the binary number system and not the decimal or any other number system?

Page 41: Cs101 Mid Term Papers

What is the difference between Interactive-mode and Batch-mode Application Software?

What is the basic difference between 'magnetic tapes' and 'floppy disks' ?

What was the name of first microprocessor built by Intel ?

What was the name of first super computer. When it was introduced?

Write a short note on blue pacific Super Computer.

What are JavaScript literal and what are its types?

Can you say that URL and semantic web sites are same? Justify your answer by defining the both terms?

Q.     Write steps to sort an unordered list.

Q.     Differentiate between  RAM and ROM.RAM & ROMAnswer RAM stands for Random Access Memory. It can store information and have new information stored over it later. ROM stands for Read Only Memory. It cant be written-over, so you cant change it.

Q.     Who invented Turing Machine? And what is Turing Test, alsodescribe the conduct of Turing Test?

answer: It was introduced by Alan turning in 1936 it can only read and write its located squares. Turning test was to determine that a computer can think or not. The test was between two people and a machine in different rooms the aim was to quess that which is computer and the aim of computer was to foul the person that it

Page 42: Cs101 Mid Term Papers

is a man using a teletype questions if a machine succeed than we can conclude that a machine can think

Q.     Differentiate between OL and UL.

Convert binary number 100100 into equivalent Decimal number.Write the truth table for Boolean Expression. Z= x + (x. y)'

Take a look at the image of the browser screen shown below. Write down theHTML code that will produce this screen.  

 1. what was the purpose of ada's first programing language  marks 12.   right code for     (plz refer to file attached)    marks 3

3.  what is the difference b/w uni-processor OS and Multui user OS  4.    write down 4 examples of internet explorer -- 1. what was the purpose of ada's first programing language 

What is coding?The process of telling the computer what to doWYSIWYG(What-You-See-Is-What-You-Get)Define URLUniform Resource LocatorWhat is Deterministic Algorithm?1st Definition:Sequence of steps that is taken to solve a problemBetter Definition:A precise sequence of a limited number of unambiguous, executable steps that terminatesin the form of a solutionHow can we calculate total number of rows in the truth table?

What are JavaScript literal and what are its types?

Page 43: Cs101 Mid Term Papers

A data value that appears directly in a statementLiterals can be of several types. Some of them are:NumberStringBooleanWhat is the impact of web on our Society and Business?The Internet provides numerous opportunities for small business start-ups. Those whose work is essentially information processing or production are now able to work from the comfort of their own homes, freeing them from the drudgery of commuting and office politics. The Internet is seen as an integral part of the trend towards globalization and the diminishing significance of the concept of nation state.

Spring 2010Explain briefly the different techniques that are used to embed JavaScript code in a web page?What is an interpreter? Write its one benefit over compilerInterpreter translates the HLL program one statement at time. It reads a singlestatement, translates it into machine language and passes that machine language code tothe uP and then translates the next statement, and so on

Whether response time of a microprocessor is greater or less than that of RAM?

How can we enter data in more than one line in an html form?

What is software life cycle?The Software Lifecycle is a series of stages in the development of an application and is often used in Software Engineering.Elaborate greedy algorithm definition with solid example in favour and one counter example?An algorithm that always takes the best immediate, or local solution while finding ananswerGreedy algorithms may find the overall or globally optimal solution for someoptimization problems, but may find less-than-optimal solutions for some instances ofother problemsKEY ADVANTAGE: Greedy algorithms are usually faster, since they don't consider thedetails of possible alternativesGreedy Algorithm: Counter ExampleDuring one of the international cricket tournaments, one of the teams intentionally lost amatch, so that they could qualify for the next round

Spring 2010What do you mean by Comments?

Page 44: Cs101 Mid Term Papers

Comments are included on a Web page to explain how and why you wrote the page theway you didComments can help someone other than the author to follow the logic of the page in theauthor’s absenceHow can an operating system be viewed as a resource allocator?

What is the role of application software in Education?Teachers in educational institutions direct the education of students and might draw on many subjects, including reading, writing, mathematics, science and history. This process is sometimes called schooling when referring to the education of teaching only a certain subject, usually as professors at institutions of higher learning. There is also education in fields for those who want specific vocational skills, such as those required to be a pilot. In addition there is an array of education possible at the informal level, such as in museums and libraries, with the Internet and in life experience. Many non-traditional education options are now available and continue to evolve.

Give four properties and two methods of window object ?Objects may have a single or several propertiesA property may have one of the following values:Number -- Text -- BooleanArray -- FunctionsObjects (Example: “document” – a property of the “window” object – is an object initself. A “document” in turn may contain a “form” object as a property, and then that“form” may contain a “button” property, which, once again, is an object in itself)

What is the difference between High-level and Low-level programming languages?High level languages allow much more abstraction than low level languages. This allows algorithms and functions to be written without requiring detailed knowledge of the hardware used in the computing platform. The compiler provides this interface transparently for the programmer.

Low level languages will require more involvement with the actual register and interrupt interfaces to the hardware. This can provide more control and efficiency for the program and can be good for applications which need high speed execution, but high level compilers are much better at optimizing for speed now.

Spring 2010Write the major types of softwares with examples?System Software os(windows )Application Software ms word spread sheat

Page 45: Cs101 Mid Term Papers

What is the major difference between paragraph <p> and Line Break <BR> tags?The "br" tag inserts a single line break into the web document.

The "p" tag defines a paragraph, but the paragraph is typically automatically given space before and after by the browser.

Why PASCAL was designed and what is the problem with PASCAL?Pascal is very good for writing well-structured and readable programs, but it is not asflexible as the C programming languageWhat are the key requirements of E-commerce Software?ReliabilitySecurityAbility to handle 1000’s of transactions, simultaneouslyWrite down the pseudo code for the following flow chart.

(a) Write down two positive features of client-side scripting.

(b) Discuss two deficiencies of JavaScript.

What are the key features of a word processor?Probably the most popular productivity appInitially designed as a replacement for the typewriterAutomationAutomatic end-of-line soft carriage returnStyle sheetsTable of contents & indexSpelling & grammar checkingTwo approaches: WYSIWYG (e.g. Word, WordPerfect, Star) or traditional markup(LaTeX)?Desktop publishing

Spring 2009What is the key feature of batch programs?These are typically started from a shell (or automatically via a scheduler) and tend tofollow a pattern of:Initialize internal dataRead input dataProcess that dataPrint or store resultsKey feature: No user interaction with the computer while the program is runningName two languages which are used for client side scripting?Java script –vb scriptWhat is the purpose of MODEM ?modem = modulator + demodulator

Page 46: Cs101 Mid Term Papers

Modulator converts computer messages to electrical pulses that are suitable fortransmission over the telephone linesDemodulator converts electrical pulses received over telephone lines into messages thatare comprehensible for computersWhat is Home Page of a web site?A Web site is a related collection of World Wide Web (WWW) files that includes abeginning file called a home pageWhy microprocessor uses the binary number system and not the decimal or any other number system?Because this system is natural for digital computersThe fundamental building block of a digital computer – the switch – possesses twonatural states, ON & OFFWhat is the difference between Interactive-mode and Batch-mode Application Software?

The user runs the program on the computer and keeps on interacting with the computerwhile the program runsExample: Word processorBatch-modeThe user starts the program and the computer processes the provided data and producesresults without any further intervention of from the userExample: Payroll

What is the problem with Brute Force Strategy approach?A strategy in which all possible combinations are examined and the best among them isselectedWhat is the problem with this approach?A: Doesn’t scale well with the size of the problemHow many possible city sequences for n=6? For n=60? For n=600?What was the name of first computer in which binary numbers were used instead of decimal numbers ?The Atanasoff-Berry Computer was the world's first electronic digital computer. It wasbuilt by John Vincent Atanasoff and Clifford Berry at Iowa State University during 1937-

How can we say that JavaScript is Not Object-Oriented language?avascript does provide a fairly easy means to inherit implementation via prototyping but this is at the expense of encapsulation.List down the names of any three parameters on which we analyze an algorithm.

Write differences between Shareware and Trialware software.

Page 47: Cs101 Mid Term Papers

Mainly the name and the fact that no large successful companies refer to their trial or demo software as "shareware". See Symantec for example. The term "shareware" is also old-fashioned and non-descriptive. The word "shareware" was coined to describe software that was obtained and then shared freely with others, usually by diskette. Today with the Internet this meaning is entirely obsolete. Plus, the reference to sharing might give people the impression that it is OK to purchase shareware and then share the registered copy with others. Trialware, on the other hand, means what it says, trialWhat is function of Goal Seek command in Excel?Goal Seek is used when you know what answer you want, but don't know the exact figure to input for that answer. For example, you're quite certain that 8 multiplied by something equals 56. You just not sure what that missing number is. Is it 8 multiplied by 6? Or Is it 8 multiplied by 7? Goal Seek will tell you the answer

Question No: 27 ( Marks: 1 )

What is the key feature of batch programs?Answer: The key feature is no user interaction with computer while a program is running.

Question No: 28 ( Marks: 1 )

Name two languages which are used for client side scripting?

Page 48: Cs101 Mid Term Papers

Answer: Javascript , VBscript Question No: 29 ( Marks: 2 )

What is the purpose of MODEM ?Answer: 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: 30 ( Marks: 3 )

What is Home Page of a web site?Answer: 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: 31 ( Marks: 5 )

Why microprocessor uses the binary number system and not the decimal or any other number system?Answer: 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: 17 ( Marks: 2 )Write the major types of softwares with examples?

Software is the set of instructions which guides the computer hardware through their jobs. A computer is useless without software. We use different software to solve different problems. The types of software we need depend on the job we want to do. There are basically two types of software’s system software and application software. System software’s are used to help the computer parts work together and also provide support to the application software. The most common type of system software is operating system. Application software’s are used to improve our work ability. Different application software’s and systemsoftware’s are used in daily life.

Question No: 18 ( Marks: 2 )

What is the major difference between paragraph <p> and Line Break <BR> tags?

Page 49: Cs101 Mid Term Papers

<p> tag is use to Insert paragraph breaks into the text of your HTML document Note that this tagis special in that it does not require an ending tag.The <br> tag inserts a single line break. The <br> tag is an empty tag which means that it has no end tag.Question No: 19 ( Marks: 2 )Why PASCAL was designed and what is the problem with PASCAL?Pascal was originally intended primarily as a teaching language, but it has been more and more oftenrecommended as a language for serious programming as well, for example, for system programmingtasks and even operating systems.Question No: 20 ( Marks: 3 )What are the key requirements of E-commerce Software?There are more possible approaches depending to the specific context.The information used for building a software system has more levels:- Business process level (overall process of the customer business). This is the context where the futuresoftware system will be activated- Business needs allocated to the software system- System features that will satisfy those business needs- System feature details as SRSQuestion No: 21 ( Marks: 3 )Write down the pseudo code for the following flow chart.Question No: 22 ( Marks: 5 )(a) Write down two positive features of client-side scripting.Client-side scripting offers an easy way to provide additional functionality and flexibility to your project.

HTML is very limited; its main purpose is to display and format content. It allows little or no interactionwith the visitors of your site.Scripting technologies like JavaScript, JScript, VBScript and others are used on many sites to add extrafunctionality to a web site. Ranging from simple mouse over image effects, animation, form fieldvalidation to complex dynamic menu systems, these scripts enhances the functionality and userexperience.(b) Discuss two deficiencies of JavaScript.Question No: 23 ( Marks: 5 )What are the key features of a word processor?

Question No: 17    ( Marks: 2 )

Page 50: Cs101 Mid Term Papers

 What is the Title of the web page for following code segment?<Head><TITLE> VU Web <\TITLE><TITLE> Page </TITLE></Head>   Question No: 18    ( Marks: 2 )

 What do you mean by Comments? Question No: 19    ( Marks: 2 )

 How can an operating system be viewed as a resource allocator?   Question No: 20    ( Marks: 3 )

 What is the role of application software in Education?      Question No: 21    ( Marks: 3 )

 Give four  properties  and  two methods of window object ?

Question No: 22    ( Marks: 5 ) What is the difference between High-level and Low-level programming languages?   Question No: 23    ( Marks: 5 )

 Elaborate greedy algorithm definition with solid example in favour and one counter example?

Download more cs101 papers with solution

Visit

http://vuaccess.blogspot.com/