CS101 Final Term Past Paper all in one Mega file

  

















Cs101 Solved Paper For Final term by Moaaz, Waqar Sidhu, Hadi, and Others - Cognitive Help!



CS101 Solved Paper - Final term 2009 (1) #MCQ's & Subjective


Question 1 (Marks 5)
In an organization having hierarchical structure, higher management plays very vital role for the organization. Provide the designation description of the higher management personal of an organization with their responsibilities and abilities.

Answer:

Top-level management is also known as senior management or executives and hold titles such as:
  • Chief Executive Officer (CEO),
Develop strategic plans, make decisions for entire firm. They are master strategists.
  • Chief Operational Officer (COO) or Senior Vice President
Controls and concerned with sale, marketing and production etc.
  • Board of directors,
Establish policies and appoint or select the Chief executive of the firm.
  • President
Provides corporate leadership.
  • Vice president,
Report to president or CEO and commands the overall business, can be vice president of finance, marketing, IT etc

Question No.2 (5 Marks)

Explain how a relational DBMS deals with the object oriented data and what is the drawback of RDBMS in handling such data?

Answer

RDBMS software are developed using object oriented technique which allows, creating, modifying and querying the relational database.

DRAWBACK: the main drawback is wastage of time in translating the codes as, when we try to store the object-oriented data into RDBMS we have to translate it into suitable form for RDBMS and to read and use that data this RDBMS data has to be translated back into object-oriented form. 

Question No.3 (5 Marks)

In comparison with old modes of presentation, the current multimedia mode of presentation has some advantages over them. Describe any five advantages of using the multimedia mode of presentation.

Answer:

Advantages of multimedia mode of presentation are as follows:

  1. Last minute changes can be done easily.
  2. Having sound, animation and videos
  3. Easy to store and recall, by storing the main points or idea.
  4. Everything is electronically transmitted.
  5. Having Undo option which promotes experimentation and innovation.
  6. More attractive and understandable than older modes of presentation. 

Question No.4 (5 Marks)

Suppose a developer has to write pseudo code for a software project. Suggest any five tips to write it in better way.

Answer:

Following are five tips to write Pseudo Code for a software project in better way:

1. Declare the array that will be used for storing the words

2. Prompt the user and read the user input into the elements of the array

3. Now write the array to the document

4. Sort the array

5. Write the sorted array to the document.
 

Question No.5 (5 Marks)

As a database administrator, name any three techniques you can use to restrict the unauthorized access to your database.

Answer:

This problem can be managed by using appropriate security mechanisms that provide access to authorized persons/computers only Security can also be improved through:

Encryption

Private or virtual-private networks

Firewalls

Intrusion detectors

Virus detectors
 

Question No.6  (3 Marks)

Write any six string HTML wrapper methods.

Answwer:

Following are the six string HTML wrapper methods:

DoubleValue,

floatValue,

longValue,

parseXxx,

getXxx,

toString,

toHexString 

 

Question No.7  (5 Marks)

Differentiate onFocus and onBlur.

Answer:

onFocus & onBlur:

• onFocus executes the specified JavaScript code when a window receives focus or when a form element receives input focus

• onBlur executes the specified JavaScript code when a window loses focus or a form element loses focus

 

Question No.8 (3 Marks)

Describe the aspect of web design which plays important role in providing the relevant stuff from a website in minimum time.

Answer:

Website Navigation:

The interface/controls that a Website provides to the user for accessing various parts of the Website

It probably is the most important aspect of the design of a Website

 

Question No.9 (2 Marks)

Just name the errors which can occur on:

1)      Executing the statement:

X= y-/z

2)      Accessing a non existing variable.

Answer:

1) Executing the statement: X= y-/z

ANS    Syntax Error

2) Accessing a non existing variable.

ANS    Run-Time Error


Question No.10 (5 Marks)

Every organization is based on some type of organizational structure. Briefly describe the organizational structure which has more preference over others.

Answer:

Preferred Organizational Structure for organization is hierarchal. Where there are different departments interlinked with each other and are been divided according to the functions they perform

 

Question 11 (Marks 2)

There are many useful Neural Network Paradigms. Define the most popular Neural Network Paradigm.

Answer:

Many useful NN paradigms, but scope of today's discussion limited to the feed-forward network, the most popular paradigm

Feed-forward Network:

It is a layered structure consisting of a number of homogeneous and simple (but nonlinear) processing elements

 

Question 12 (Marks 2)

Distinguish the terms World Wide Web and internet.

Answer:

The World Wide Web

• A huge resource of info

• Logically unified, but physically distributed

• It is unlike any previous human invention:

– It is a world-wide resource, important to all and shared by all of the people in the world 

Internet is where I am having exam now it provides access to the rest

of digital world e.g:- world wide web






CS101 Solved Paper - Final term 20010 (1) #MCQ's & Subjective

Q1
Cray-1 was first commercial _________ computer
(a)Super                                                                                                      page 16
(b)Mini
(c)Micro
(c)Personal


Q2
Browser is a __________________ used for browsing.
(a)   Tool   doubt
(b)   Component
(c)    Device
(d)   None of the given choices doubt
3.1 Browser page 18
A browser is an application program that provides a way to look at and interact with all
The information on the World Wide We

Q3 The name of first browser was ______
(a)   Internet Explorer
(b)   Mosaic   Reference Handouts Page 18
(c)    Netscape
(d)   Fire fox
 

Q4 Which of the following hardware component of a computer can also be called as engine?
(a)   Bus
(b)   Storage
(c)    Memory
(d)   Processor

Q5 
The 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                                                                                page 105
(c)  Decision
(d)  Connector

Q7
The sequence of phases, a software goes through from the concept to decommissioning, is called
(a)    Software composition
(b)   Software life-cycle                                                                                page 133
(c)    Software methodology
(d)   Software development steps

Q8 - In JavaScript, a variable declaration is
(a)   Optional                                                                                             page 144
(b)   Mandatory
(c)    Not allowed
(d)   None of the given

21.2 Declaring Variables
Many languages require that a variable be declared (defined) before it is first used
Although JavaScript allows variable declaration, it does not require it

Q9
____________ interacts directly with the computer Hardware
(a)    Compiler
(b)   Operating system
(c)    Application software
(d)   Assembler

Q10
Which of the following is/are the parts of Operating system components?
(a)    GUI
(b)   Device Manager
(c)    Shell
(d)   All of these

Q11
Tag used for the highest level Heading is ________________
(a)   
(b)  
(c)   
(d)   . None of these       www.cognitivehelping.blogspot.com

Q12
The programming language specifically designed by the US Department of Defense for developing military applications was named ___________.
(a)    Smalltalk
(b)   C
(c)    C++
(d)   Ada                                                                                                              page 9

Q13
------------ is volatile memory
(a)   RAM                                                                                                         page 25
(b)   ROM
(c)    Hard Disk
(d)   Hard Disk

Q14
The 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                                                                                     page 18
(c)    Internet Application
(d)   HTML

Q17
___ 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 page 18
(d)   WWW

Q18
To start an ordered list from 20 instead of 1, we will write
(a)   
(b)  
(c)   
(d)  

Q19
_________ is the interface in computer that supports transmission of multiple bits at the same time.
(a)    Serial Port
(b)   Parallel Port                                                                                       page 24
(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

Q21
Different parts or components of computer use ­­                    as a communication path
(a)    RAM
(b)   Bus
(c)    ROM
(d)   Processor

Q22
There 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

Q23
In which case Cache Memory is used
(a)    To increase RAM speed
(b)   To overcome BUS speed
(c)    To overcome Speed rate between RAM and CPU
(d)   To overcome CPU speed

Q24
Using 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        http://www.cognitivehelping.blogspot.com/
corrected by Irfan Qamar
Using COLSPAN, number of rows of the current cell should extend itself downward

Q25
Operating System talks to and manages devices through
(a)    Loader
(b)   File Manager
(c)    Memory Manager
(d)   Device Driver

Q26
Pseudo code is written in
(a)    Complex grammar
(b)   Plain English
(c)    JAVA
(d)   Pseudo language

Q27
What is Object in JavaScript ?
Solution:-
Everything that JavaScript manipulates, it treats as an object – e.g. a window or a button
An object has properties – e.g. a window has size, position, status,
Q28
Write 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
 
 http://www.cognitivehelping.blogspot.com
Q29
Write 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
Q30
How 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
 
Q31
What 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 langue
Q32
What 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



CS101 Solved Paper - Final term 2010 (2) #MCQ's & Subjective

CS101 - Introduction to Computing - Q.No. 1      ( M - 1 ) .
 
__________% of the users have left websites in frustration due to poor navigation.
       ► 40
       ► 62
       ► 83
       ► 91


CS101 - Introduction to Computing - Q.No. 2      ( M - 1 ) .
 
The impact of a digit in a number is determined by its ---------------
       ► Value
       ► Location
       ► Length
       ► None of above


CS101 - Introduction to Computing - Q.No. 3      ( M - 1 ) .
 
Hexadecimal number system is based on -------------------- digits
       ► 2
       ► 8
       ► 12
       ► 16
 
CS101 - Introduction to Computing - Q.No. 4      ( M - 1 ) .
 
TCP stands for ___________.
       ► Total communication protocol
       ► Transmission control protocol
       ► Transfer control protocol
       ► Transfer collection protocol


CS101 - Introduction to Computing - Q.No. 5      ( M - 1 ) .
 
The browser breaks down the URL into ________ parts.
       ► 2
       ► 3
       ► 4
       ► 5


CS101 - Introduction to Computing - Q.No. 6      ( M - 1 ) .
 
A single pixel can acquire approximately ___________ color schemes.
       ► 1 million
       ► 2 million
       ► 10 million
       ► 16 million


CS101 - Introduction to Computing - Q.No. 7      ( M - 1 ) .
 
Serial arrangement in which things follow logical order or a recurrent pattern, such as statements executing one by one, is called __________.
       ► Loop
       ► Sequence
       ► Condition
       ► Array



CS101 - Introduction to Computing - Q.No. 8      ( M - 1 ) .
 
According to a popular heuristic, success is defined by ___________.
       ► The user
       ► The builder
       ► Both user and builder
       ► None of the given options


CS101 - Introduction to Computing - Q.No. 9      ( M - 1 ) .
 
Which one is the best option for designing a Medical Expert System?
       ► Rule Based System
       ► Genetic Algorithm
       ► Fuzzy Logic
       ► Neural Network


CS101 - Introduction to Computing - Q.No. 10      ( M - 1 ) .
 
document.write("20"+"12") ;
The out put of the above statement is ____________.
       ► 1220
       ► 2012
       ► 20 12
       ► 32


CS101 - Introduction to Computing - Q.No. 11      ( M - 1 ) .
 
Due to working at home, contact with the colleagues is __________, which may result in __________ quality of work
       ► Reduced, Poorer
       ► Reduced, Better
       ► Increased, Poorer
       ► Increased, Better


CS101 - Introduction to Computing - Q.No. 12      ( M - 1 ) .
 
The effective way not to only write programs but also it works properly and further more to minimize the time and the development cost of the program is called___________________
       ► Programming Mechanism
       ► Programming Methodology
       ► Programming Synchronization
       ► None of the given options


CS101 - Introduction to Computing - Q.No. 13      ( M - 1 ) .
 
The tasks performed to determine the existence of defects is called _______
       ► Debugging
       ► Testing
       ► Repairing
       ► Coding


CS101 - Introduction to Computing - Q.No. 14      ( M - 1 ) .
 
Deep Blue was the name of
       ► computer
       ► human
       ► city
       ► game


CS101 - Introduction to Computing - Q.No. 15      ( M - 1 ) .
 
There is a battery on the motherboard to:
       ► Give power to the processor
       ► Save information when computer is off
       ► Save information when computer is on
       ► Give power to the motherboard


CS101 - Introduction to Computing - Q.No. 16      ( M - 1 ) .
 
Compound Statement after decision constructs in JavaScript is enclosed with
       ► (  )
       ► [  ]
       ► {  };
       ► {  }


CS101 - Introduction to Computing - Q.No. 17      ( M - 1 ) .
 
______ occurs when a function calls itself.
       ► Recursion
       ► Call by value
       ► Call by reference
       ► Parsing


CS101 - Introduction to Computing - Q.No. 18      ( M - 1 ) .
 
Which function returns integer nearest to x ?
       ► random()
       ► exp(x)
       ► log(x)
       ► round(x)


CS101 - Introduction to Computing - Q.No. 19      ( M - 1 ) .
 
Microphone is an input as well as output device. This statement is
       ► True
       ► False


CS101 - Introduction to Computing - Q.No. 20      ( M - 1 ) .
 
74HC163 has two enable input pins which are _______ and _________
       ► ENP, ENT
       ► ENI, ENC
       ► ENP, ENC
       ► ENT, ENI


CS101 - Introduction to Computing - Q.No. 21      ( M - 1 ) .
 
Radio Buttons are used when you want the user to select one of a limited number of choices.
       ► True
       ► False
 
CS101 - Introduction to Computing - Q.No. 22      ( M - 1 ) .
 
In partitioning of program/module, it should be assured that partitioned chunks should be as _________ as possible.
       ► Dependent
       ► Independent
       ► Complex
       ► All of the above


CS101 - Introduction to Computing - Q.No. 23      ( M - 1 ) .
 
In a library’s database, if there is an entry in the register for Book # 423 then the          corresponding Book must actually exist; is an example of which type of data integrity:
       ► Type integrity
       ► Limit integrity
       ►             Physical Integrity
       ►            Referential Integrity


CS101 - Introduction to Computing - Q.No. 24      ( M - 1 ) .
 
DBMS and Database are two names of one term .
       ► True
       ► False


CS101 - Introduction to Computing - Q.No. 25      ( M - 1 ) .
 
There are _______ types of program errors
       ► 2
       ► 4
       ► 6
       ► 3


CS101 - Introduction to Computing - Q.No. 26      ( M - 1 ) .
 
Super computers consists of more than one parallel processors because
       ► One big processor is more expensive than parallel processors
       ► Through parallel processors problems can be solved easily
       ► Small processors are easy to manufacture
       ► All of the given


CS101 - Introduction to Computing - Q.No. 27      ( M - 2 )
 
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
.
            .
CS101 - Introduction to Computing - Q.No. 28      ( M - 2 )
 
What is internet?
ANS:
          Internet is also called WAN, which means the interconnection of large number of computer networks and it consists of millions of private, public, academic, business, and government networks of local to global scope that are linked by a broad array of electronic and optical networking technologies.
CS101 - Introduction to Computing - Q.No. 29      ( M - 2 )
 
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
CS101 - Introduction to Computing - Q.No. 30      ( M - 2 )
 
Define the key weakness of the web?
ANS:
 
CS101 - Introduction to Computing - Q.No. 31      ( M - 3 )
 
How can we include images in a web page using HTML and Java script?
ANS:
Image in HTML
It is easier to insert images and pictures i.e. JPG, GIF & BMP files in the web page through HTM codes.
The tag is used which is used as under:

Images in JavaScript
Images in JavaScript may be used with the event handling i.e. OnLoad, OnUnload, OnError and OnAbort etc.
The properties i.e. used for Java script are as under:-
1. Name
2. Border
3. Complete
4. Height
5. src
for example:-

CS101 - Introduction to Computing - Q.No. 32      ( M - 3 )
 
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.

 
CS101 - Introduction to Computing - Q.No. 33      ( M - 3 )
 
Elaborate Rester Graphics with examples.
ANS:
Raster graphics are digital images created or captured (for example, by scanning in a photo) as a set of samples of a given space . A raster file is usually larger than a vector graphics image file. A raster file is usually difficult to modify without loss of information.
Examples of raster image file types are: BMP, TIFF, GIF, and JPEG files.
 
CS101 - Introduction to Computing - Q.No. 34      ( M - 5 )
 
What is a Relational Database? Give the names of any three RDBMS software. (2+3)
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, andoracle e business database software , and Oracle OLAP.
CS101 - Introduction to Computing - Q.No. 35      ( M - 5 )
 
How many ways are there to call a function in a program ? Explain with example
ANS:
there are two methods of function in a program
1st method is used within the html coding with immediate in the even handling
on the other side
function can also be defined in the heading portion of the html page
it is a better choice to use function as it include many statments in it.
OnMouseOver=
“if(document.sendEmail.sender.value.length<1)
Window.alert(‘empty field!’)”
while in the heading portion
it will be as
function checkForm() {
if ( document.sendEmail.sender.value.length < 1) {
window.alert( “Empty Field” );
}
CS101 - Introduction to Computing - Q.No. 36      ( M - 5 )
 
What do you mean by the term 'Telepresence' in Computing World?
ANS:



CS101 Unsolved/Solved Paper - Final term 2010-2014 (2) #Important Subjective


Important Unsolved Subjective

CS101 Introduction to Computing Paper subjective questions
  1. WHy we use javascript?
  2. write names of phases of DoS attack.
  3. Errors occur in developing program? write names
  4. in which situation we use inline event handling?
  5. what are the properties , method and event handling of image java script?
  6. write names of 5 key characteristics of internet?
  7. A ⊕ B = A'.B' + A'.B wrong or right? prove it by truth table..
  8. why we use string function in javascript?
  9. What is the mistake in the following coding
  10. student=new array(10)
  11. Local and global variable?

Subjective part of the Final Term Paper CS101

  1. Write the names of DOS attack. 2Marks
  2. Write html format to include GIF and JPG images in webpage 2Marks
  3. Differentiate between tags 2 Marks
  4. Who array are implemented in java script 2 Marks
  5. Who we can define pixel 3 marks
  6. What is the preferred organizational structure for the organization 3Marks
  7. Differentiate between onFocus and onBlur 3 Marks
  8. What are three basic components of system softwere 3 Marks
  9. Advantages and disadvantages of client-side scripting 5Marks
  10. Briefly describe for layout of presentation 5Marks
  11. Who many members are there in business development team? briefly describe the responsibilities and profile of their 5Marks
  12. Explain the function of ‘+’ operator with the help of example 5 Marks

  1. What is an intelligent system? (2 marks)
  2. What is spread sheet? Write two jobs of spread sheet? (3 marks)
  3. What are the arguments of a function? Explain with an example? (5 marks)
  4. What are Trojan horses? (3 marks)
  5. What are semantic errors? (2 marks)
  6. If you are going to work on a big project then make a heuristic chart for this? (5 marks)
  7. Write the names of the errors that are found during developing a program? (2 marks)
  8. Write the properties of u useful web? (5 marks)
  9. What do you mean by FTP? (2 marks)

Subjective part of the Final Term Paper CS10

1) what is computer screen
2) what is structured vector graphic?
3) why local variable is preferred over global variable?
4) what is preferred organization structure for the organization?
5) write the name of DOS attack' phases?
6) what is output?give three example?
7) write 5 advantages of multimedia presentation?
8) who is the 1st presentation on spreadsheet on personal computer?
9) Define primary key and queries


My today's 13/02/11 paper

  1. Write HTML format to include gif and jpg images in a web page.
  2. Define function and write at least three advantages of function ?
  3. how businesses monitor their Employees ?
  4. what are the properties, objects in event handling
  5. what are robotics and their role in daily life
  6. briefly discues atleast two sub catagories of inteligenc system

Important solved Subjective

1.WHy we use javascript?.
Solution:
Small programs that are a part of the Web page and run on the user’s (client’s) computer
Wel use JavaScript to do client-side scripting. JavaScript can be used (along with HTML) to develop interactive content for the Web. It is designed to be used for developing small programs – called scripts – that can be embedded in HTML Web pages

2. Write names of phases of DoS attack.
Solution:
Three Phases of the DoS
1.Search
2.Arm
3.Attack

3.Errors occur in developing program? write names
Solution:
Types of Errors
• Syntax errors
• Semantic errors
• Run-time errors
4. In which situation we use inline event handling?
Solution:
Where the event needs to be captured and handled with a JavaScript one-liner that is
embedded in the HTML tag

5. what are the properties , method and event handling of image java script?
Solution:
• Images in JavaScript can be manipulated in many ways using the built-in object Image
• Properties: name, border, complete, height, width, hspace, vspace, lowsrc, src
• Methods: None
• Event handlers: onAbort, onError, onLoad, etc.

6. write names of 5 key characteristics of internet?
Solution:
Key Characteristics
Geographic Distribution Global - reaches around the world
Robust Architecture Adapts to damage and error
Speed Data can travels at near ‘c’ on copper, fiber, airwaves
Universal Access
Same functionality to everyone
Growth Rate
The fastest growing technology ever
Freedom of Speech
Promotes freedom of speech
The Digital Advantage
Is digital: can correct errors

7. why we use string function in javascript?
Solution:
See Lecture 38


Important Subjective


One More Subjective Part of latest paper share by one Student


Why we use string functions in JavaScript?
Explain function arguments with the help of an example?
Write the steps to sort an un-sorted list.
Discuss any two situations which show non-ethical behavior?
. Define the anchor tag with the help of example.
What are Trojan Horses ?
What Is the resturction to use in line in a function
Define anchor tag
Write down three advantages of using Functions in a program.
In JavaScript, what is event handling? What are the two types of events?
What is the mistake in the following coding Student=new array(10)
what is event handler explain. write two types of event handler
What is programming methodology
What is computer screen, explain
what is Turing Machine? explain how its works
Explain why global variable is better than local variable (question was something like that)
What is Relational Database, give two example of RDBMS
Write down the five advantages of multimedia presentation



CS101 Final Term 2010 Paper Subjective shared by Moazz siddiqe

  1. What is database?     2 
  2. What is Good Programming Methodology?          2 
  3. Difference global variable is better than local variable?       3 
  4. Difference Logic- or time-bombs         3 
  5. Use of Simple Mail Transfer Protocol?           3 
  6. who is computer professional             3 
  7. Difference between ALU & FLU            5 
  8. Why the trend of short term working, Explain?       5


CS101 Solved Paper - Final term 2012 (1) #MCQ's & Subjective

M - 58
Question No: 1    ( M - 1 )    .
 Which of the following hardware component of a computer can also be called as engine?
     Bus
     Storage
     Memory
     Processor
   
Question No: 2    ( M - 1 )    .
 To improve the time for scannig a web page, text should be ___________.
     Centered
     Left Aligned
     Right Aligned
     Staggered
    
Question No: 3    ( M - 1 )    .
 __________% of the users have left websites in frustration due to poor navigation.
     40
     62
  ? 83
     91
    www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 4    ( M - 1 )    .
 Logical operation that is performed on single input variable is ---------------
     AND
     OR
     NOT
     NOR
   
Question No: 5    ( M - 1 )    .
 Which one is correct for JavaScript?
     onMouseOver
     OnMouseOver
     onmouseover
     All of the given
   
Question No: 6    ( M - 1 )    .
 A group of statements that are put together (or defined) once and then can be used (by reference) repeatedly is called ____________.
     Repeater
     Array
? Function
     Pointer
   
Question No: 7    ( M - 1 )    .
 ___________ color should be used in background for a good presentation.
? Light
     Dark
     Red
     None of the given options
    www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 8    ( M - 1 )    .
 Which one of the following is NOT a primary color?
     Red
     Green
     Yellow
     Blue
   
Question No: 9    ( M - 1 )    .
 Which of the following is a true statement?
     Flat-file storage is better than tabular storage.
? Tabular storage is better than flat-file storage.
     Flat-file storage is better than relational storage.
  None of the given options
   
Question No: 10    ( M - 1 )    .
 Due to working at home, lack of interaction may result in ___________ professional growth.
? Slower
     Faster
     Higher
  Improved
   
Question No: 11    ( M - 1 )    .
 _____________ team is responsible for a project after the specification’s stage till the very end.
     Executive
     Architect
  ? Development
     HR
   
Question No: 12    ( M - 1 )    .
 _____________ team consists on the sharpest technical minds in the company.
     ? Architecture
     Business Development
  Configuration Management
  Developer
   
Question No: 13    ( M - 1 )    .
 Smart editors can automatically color different parts of statements in different colors e.g. comments in ____________ color.
     Green
   ? Grey
     Blue
     Red
    www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 14    ( M - 1 )    .
 When the packets reach at destination, __________ reassembles them into original message.
     Protocol
   ? TCP
    IP
     NIC
   
Question No: 15    ( M - 1 )    .
 In a System having many parts to be designed, one should always do the _____ first
? Hard part
     Simple part
     Development part
     Quality part
   
Question No: 16    ( M - 1 )    .
 Heuristics _______ lead to the best results.
     Sometimes
? Do not
     Occasionally
? Not always
   
Question No: 17    ( M - 1 )    .
 One can run a program on a remote computer using ________ protocol.
     HTTP
     SMTP
     FTP
? TELNET
   
Question No: 18    ( M - 1 )    .
 Which protocol is used to send email ?
     FTP
   ? SMTP
     TELNET
     All of the given choices
    www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 19    ( M - 1 )    .
 Which event handler executes the specified JavaScript code when a window/form element loses focus ?
    ? onBlur
      onLoad
     onUnload
     onFocus
   
Question No: 20    ( M - 1 )    .
 _____ is the process of analyzing large databases to identify patterns.
     Data normalization
  Data management
? Data Mining
     None of the given options
   
Question No: 21    ( M - 1 )    .
 Which is the user-friendly way of presenting data ?
     Query
     Form
    ? Report
     All of the given options
   
Question No: 22    ( M - 1 )    .
 JavaScript is an ______________________ language.                                          
     Markup language
     Structured language
? Object based language
    None of the Given options
   
Question No: 23    ( M - 1 )    .
 In latest computers, ___________ are used instead of a vacuum tube
     Diodes
     Triodes
ICs
     Transistors
    www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 24    ( M - 1 )    .
 ---------------is the process of starting or restarting a computer.
     BIOS
     Refreshing
  ? Booting
     None of given
   
Question No: 25    ( M - 1 )    .
 Java script supports drawing of objects.
    True
 ? False
   
Question No: 26    ( M - 1 )    .
 Computer programmer that perform various actions continuously, autonomously on behalf of their principal is known as ______________ .
     Robotics
  ? Mobile agents
     Decision Support System
     None of above
   
Question No: 27    ( M - 2 )
 What is internet?
The Internet is a global system of interconnected computer networks that use the standard Internet Protocol Suite (TCP/IP) to serve billions of users worldwide. It is a network of networks  that consists of millions of private, public, academic, business, and government networks of local to global scope that are linked by a broad array of electronic and optical networking technologies. The Internet carries a vast array of information resources and services, most notably the inter-linked hypertext documents of the World Wide Web (WWW) and the infrastructure to support electronic mail.
Question No: 28    ( M - 2 )
 Write names of the DoS attack’s phases?
   
Question No: 29    ( M - 2 )
 Write HTML format to include gif and jpg images in a web page.
    www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 30    ( M - 2 )
 What is best algorithm?        
Question No: 31    ( M - 3 )
 What kind of new jobs are created because of computing? And which old professions are being eliminated?
  
Question No: 32    ( M - 3 )
 Briefly mention any three problems in old modes of presentation development
            Lack of resolution
Low color configuration
No graphic animation
Question No: 33    ( M - 3 )
 Differentiate between onLoad and onUnload
   
Question No: 34    ( M - 5 )
 Why the quality of image in dithering scheme is not good?
  www.cognitivehelping.blogspot.com
http://www.cognitivehelping.blogspot.com
 
 
Question No: 35    ( M - 5 )
 Can a human doctor be replaced by an Expert System? Give reasons to support your answer..
 
Question No: 36    ( M - 5 )
 How many members are in the Process Team? What are the responsibilities of the Process Team?

CS101 Solved Paper - Final term 2010 (2) #Subjective -Solved by team


Question No: 31    (M - 1)

What is heuristic?

 Heuristic is a procedure that usually, but not always, works or that gives nearly the right answer.

   

Question No: 32    (M - 1)

In programming, what is an object?

 

Object is a named collection of properties (data, state) & methods (instructions, behavior).

   

Question No: 33    (M - 2)

 What is spreadsheet? List any two jobs that it can do.

 

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.

 

Electronic replacement for ledgers

Charts

Financial-forecasting.

   

Question No: 34    (M - 2)

In JavaScript, what is event handling? What are the two types of events?

 

In JavaScript capturing events and responding to them is event handling.  The system sends events to the program and the program responds to them as they arrive.

1.      Events can include things a user does - like clicking the mouse.

2.      Events that the system itself does - like updating the clock. 

 

   

Question No: 35    ( M - 3 )

Explain how many ways businesses monitor their employees?

 

• 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.

• It is quite straight forward to monitor where you surf the web.

   

Question No: 36    ( M - 3 )

What is difference between Design and System Architecture?

System architecture is the conceptual design that defines the structure and/or behavior of a system. Whereas designs it as an independent, self-contained system.

Question No: 37    ( M - 3 )

What are the Sub categories of Artificial Intelligence? Briefly explain any two.

 

 

1.      Expert systems:

 

Expert system is that system which is in some limited sense, can replace an expert.

 

2.      Robotics:

 

Robotics is an automatic machine that performs various tasks that were previously done by humans.

 

Question No: 38    ( M - 5 )

How many ways are there to call a function in a program? Explain with example.

 

Two Ways of Calling Functions:

 

Functions do not run automatically. When the page loads, each function waits quietly until it is told to run.

 

1. A function calls appearing as a complete statement:

 

function popUp( message ) {

window.alert( message ) ;

}

popUp( “Warning!” ) ;

 

2. A function calls appearing as part of a statement. Definitions of such functions include a ‘return’ statement:

 

function add( a, b ) {

c = a + b ;

return c ;

}

sum = add( 2, 4 ) ;

document.write( sum ) ;

 

Question No: 39    ( M - 5 )

 Elaborate the ‘+ ’ operator and its constraints with the help of examples.

 

The + Operator Used on Strings. The + operator can also be used to add string variables or text values together. To add two or more string variables together, use the + operator.

 

Example:

txt1="What a very";

txt2="nice day";

txt3=txt1+txt2;

Now txt3 will be having this value "What a very nice day".

txt3=txt1+txt2; this statement due to + sign.

 

Question No: 40    ( M - 10 )

Write a JavaScript program having two functions sum and mean. 

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: 41    ( M - 10 )

Define the following terms.

 

Object

Object is a named collection of properties (data, state) & methods (instructions, behavior).

 

Event Handler

An event handler is a command which calls a function when an event happens, such as the user clicking a button.

 

Local Variable 

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.

 

Scope of Variable

Defining the space in which a variable is effective is known as defining the scope of a variable. A variable can be either local or global in scope.

 

Array

Array is an indexed list of elements.

Question No: 27 ( M - 1 ) 
What BIOS stands for?

 BIOS stand for Basic input/output system.


Question No: 28 ( M - 1 ) 
List down the Analytical Engine's components name (any two)

Input

 

Memory

Processor

Output.

Question No: 29 ( M - 2 ) 
Why uploading a web page is important? Describe in 2 – 3 lines.


By only uploading webpage we could place our information so that other can reach up to what we have loaded. Upload means make available our data or information for the world web browsers.


Question No: 30 ( M - 3 ) 
What is the difference between microprocessors and microcontrollers? Give one example of both.

The microprocessor is electronic equipment which can perform several functions and also processing of data and information present in a computer, while microcontroller can only perform one function for that its design. 
Example:
Microprocessor: 
 Pentium 4 & Personal Computer.
Microcontroller: 
 Electrical device, washing machines, microwave ovens, telephones etc.

Question No: 31 ( M - 5 ) 
Differentiate uni-Processor OS from Multi-Processor OS.


Uni-processor OS’es is designed to schedule tasks on a single uP only whereas Multi-processor OS’es can control computers having multiple uPs, at times 1000’s of them.

Question No: 32 (M - 5) 
Why do we call JavaScript an Object-based Language?


JavaScript shares many similarities with object-oriented languages, and therefore is called an object-based language.

Question No: 31    (M - 1)

 When does recursion occur?

   

Question No: 32    (M - 1)

 What are the types of computer network according to the distance between nodes?

There are two types of networks.

1.   LAN (Local Area Network)

2.   WAN (Wide Area Network)

 

 Question No: 33    (M - 2)

 What is meant by semantic error?

Occur when a statement executes and has an effect not intended by the programmer and Often times occur only in unusual & infrequent circumstances.

 

Question No: 34    (M - 2)

 List down the names of two array methods available in JavaScript.

1.   sort( ) [sorts elements in alphabetical order].

2.    reverse( ) [Reverses the order of elements].

 Question No: 35    ( M - 3 )

 How can you define a consistent web design? Why is it needed?

 A consistent good designed website is generated for general public that allows users to attain what they want as quickly as possible without spending much effort. A consistent good design is needed to assists the user in recovering from errors.

 Question No: 36    ( M - 3 )

 How can we include images in a web page using HTML and Java script?

  Image in HTML

<IMG src=URL, alt=text height=pixels width=pixels align="bottom|middle|top">

 Image in Javascript

Images in JavaScript can be manipulated in many ways using the built-in object Image.

Additional properties to HTML are hspace, vspace & lowsrc.

Example: It can be used by many handlers like, onAbort, onLoad & onError

Question No: 37    ( M - 3 )

 The event handler attribute consists of three parts. Write about each of them.

1.      The identifier of the event handler.

2.      The equal sign.

3.      A string consisting of JavaScript statements enclosed in double or single quotes. 

Question No: 38    (M - 5 )

What is a packet in the network environment? What kind of information does it contain?

 

A packet is the smallest unit of data transmitted over a computer network. It’s a message to be transferred over the network is broken up into small packets by the sending computer.

 

 Each packet contains the following info:

–Sender's address

–Destination address

–Data

–Error-recovery info.

Question No: 39    ( M - 5 )

 Suppose we have a big project. Draw hierarchy of the people involved in the project?


Question No: 40    ( M - 10 )

 Write down HTML and JavaScript code for the following requirements:

Declare an Array with the identifier SUBJECT having length 5. Assign following values to the array elements:

MIS, Java, Algorithms, Databases, C++

Show all values in reverse order.

   

Question No: 41    ( M - 10 )

 How instant messaging works? Write the steps involved in this process.

The Instant Messaging services available allow us to maintain a list of people (contacts) that we interact with regularly. We can send instant messages to any of the contacts in our list as long as that contact is online.

 Following steps are involved in IM working: 

1.      User commences the IM client.

2.      IM client finds the IM server & logs in.

3.      It launches communication info (IP address, etc) to the IM server.

4.      IM server finds user’s contacts & sends him/her the communication info.

5.      IM server also notifies the contacts that the user is online; sends his/her communication info to them.

6.      The user’s & the contact’s IM clients are ready to communicate directly (P2P).

7.      As new contact has come online, IM server informs them about the user being online & vice versa.

8.      Multiple, real-time chat are possible.

9.      When the user logs-off, his/her IM client informs the IM server.

10.  IM server wipes away the temporary file and informs the user’s contact’s about his/her ‘offline’ status.

Question No: 5 ( M - 10 )

What kind of operations takes place inside Microprocessors Building Blocks? Enlist them with brief description.

 

 

Bus Interface Unit: The bus interface unit is the part of the processor that interfaces with the rest of the PC. Its name comes from the fact that it deals with moving information over the processor data bus.

 

Instruction Decoder: The instruction decoder of a processor is a combinatorial circuit sometimes in the form of a read-only memory, sometimes in the form of an ordinary combinatorial circuit.

 

Arithmetic & Logic Unit (ALU): An arithmetic and logical unit (ALU) also known as “Integer Unit” is one of the core components of all central processing units. It is capable of calculating the results of a wide variety of common computations.

 

Floating-Point Unit (FPU): floating point unit (FPU) is a part of a CPU specially designed to carry out operations on floating point numbers.

 

Registers: register is a device for storing data. It is a small amount of very fast computer memory used to speed the execution of computer programs by providing quick access to commonly used values.

 

Control Unit: A control unit is the part of a CPU or other device that directs its operation. The outputs of the unit control the activity of the rest of the device.

 

Instruction Set:  This is the set of machine instructions that a microprocessor recognizes and can execute. It is the only language microprocessor knows.

 

Question No: 7 ( M - 8 )

a) Differentiate between SMTP and POP3 server. (3 marks)

 

SMTP (Simple Mail Transfer Protocol) is a protocol used to send and receive eMail messages over a TCP/IP network. Whereas POP3 (Post Office Protocol) is a protocol used for receiving eMail messages. A POP3 server maintains text files (one file per user accounts) containing all messages received by a user. eMail client interacts with the POP3 server for discovering and downloading new eMail messages.


b) How can you justify that a DBMS is better to use than Flat-file database? (5 marks)

 

A DBMS takes care of the storage, retrieval, and management of large data sets on a Database. It provides SW tools needed to organize & manipulate that data in a flexible manner.

 

Whereas in Flat-file database the text file format makes it hard to search for specific information or to create reports that include only certain fields from each record.

 

Question No: 8 ( M - 8 )

What will be the output of this programme? Write comments where you find “//” symbol in the following code.

 

<html>

<head>

<script language="JavaScript">

function doSomething() { // 1

setTimeout('doSomething()',10000); // 2

}

</script>

</head>

<body onLoad="doSomething()"> // 3

document.write(“Virtual University of Pakistan”);

</body>

</html>

 

// 3 document.write(“Virtual University of Pakistan”);

Question No: 9 ( M - 8 )

a)      How Trojan Horses and Worms affect a computer system? What guidelines should be adopted to troubleshoot with malicious software? (6 marks)

 

Trojan horses are stand-alone programs. The look like what they are not and appear to be something interesting and harmless (e.g. a game) there execution results in destruction. Worms only make copies of themselves on the infected computer.

 

Following guidelines should be adopted to troubleshoot with malicious software:

 

• Download SW from trusted sites only.

• Do not open attachments of unsolicited eMails.

• Use floppy disks and CDROMs that have been used in trusted computers only.

• When transferring files from your computer to another, use the write-protection notches.

• Stay away from pirated SW.

• Regularly back your data up.

• Install Antivirus SW; keep it and its virus definitions updated.

 

b) Which part of a virus consists of malicious computer instructions? (2 marks)

Payload is the part of virus that generally consists of malicious computer instructions.

 

Question No: 31    ( M - 1 )

 What is the function of Network Interface Card?

 

NIC is an I/O device that plugs into the computer and it enables it to communicate over a network.

 

Question No: 32    (M - 1)

 In programming, what is a loop?

A loop is a programming language statement which allows code to be repeatedly executed.

Question No: 33    (M - 2)

What is an intelligent system?

 

Intelligent system is a SW programs or SW/HW systems designed to perform complex tasks employing strategies that mimic some aspect of human thought.

 

Question No: 34    (M - 2 )

 Why hub is used in networks?

 

Hub is networking equipment and a device which connects several computers to form a network. In a network the NIC translates the message into electrical pulses suitable for the computer network in use & transmits it to the hub through the cable. The hub receives them and forwards them to all computers connected to it.

 

Question No: 35    ( M - 3 )

 What are Trojan Horses?

 

Trojan Horses are unlike viruses, they are stand-alone programs. The look like what they are not. They appear to be something interesting and harmless (e.g. a game) but when their execution result in destruction.

 

Question No: 36    (M - 3)

 Elaborate with examples Vector or Object oriented graphics.

 

Vector or Object-Oriented Graphics treats everything that is drawn as an object. Objects retain their identity after they are drawn. These objects can later be easily moved, stretched, duplicated, deleted, etc

They are resolution independent and relatively small file size.

Examples: swf, svg, wmf, ps.

 

Question No: 37    (M - 3)

 How can you define a consistent web design? Why is it needed?

A consistent web design should be the one that achieves the result that it was designed for, that result can only be achieved by giving the user what he wants, as quickly as possible, without her/him expending much effort. One definition of usability: Let the user have what he wants, quickly, without much effort “Quickly” is important!

 

Question No: 39    (M - 5)

 What are the advantages of multimedia presentations? Write any five.

 

Following are the advantages of multimedia presentations:

·        Great tool for effectively communicating ideas to an audience

·        All electronic

·        Easy to make last minute changes

·        The undo feature encourages experimentation

·        More attractive; commanded more interest

·        May include animations, sound, video

·        Easy to catalog, store, and recall

·        Great tool for making presenter-free interactive material (e.g. self-learning tutorials)

 

Question No: 41    (M - 10)

 How virtual communities are formed? How these are different from other communities? Give examples.

 

Virtual Communities are interest-based communities. Members with common interest share ideas, ask questions, post answers and make announcements through mailing-lists, news groups or message boards. This is how they are formed. These communities are definitely very different from traditional ones. There are generally no bars on membership based on gender, race or religion. However, they may lack the respect for the individual and civility that are the norm within conventional, geography-based communities.


CS101 Solved Paper - Final term 2013 (2) #MCQ's & Subjective


CS101 - Introduction to Computing - Q.No. 1 ( M - 1 )
Which of the following hardware component of a computer can also be called as engine?
► Bus
► Storage
► Memory
► Processor (correct)

CS101 - Introduction to Computing - Q.No. 2 ( M - 1 )
TCP stands for ___________.
► Total communication protocol
► Transmission control protocol (page. no.317)
► Transfer control protocol
► Transfer collection protocol

CS101 - Introduction to Computing - Q.No. 3 ( M - 1 )
__________ breaks down the message to be sent over the internet into packets.

► FTP
► HTTP
► TCP (Page.no.317)
► IP

CS101 - Introduction to Computing - Q.No. 4 ( M - 1 )  www.cognitivehelping.blogspot.com
A variable can be _________ in scope.
► Local
► Global
► Either local or global (page.no.204)
► None of the given options

CS101 - Introduction to Computing - Q.No. 5 ( M - 1 )
A protocol used for receiving email messages is called ____________.
► URL
► Telnet
► POP3
► SMTP (page.no.213)

CS101 - Introduction to Computing - Q.No. 6 ( M - 1 )
A function is also called __________.
► Sub-program (correct)
► Procedure
► Sub-routine
► All of the given option

CS101 - Introduction to Computing - Q.No. 7 ( M - 1 )
Capturing events and responding to them is called __________.
► Function Handling
► Event Handling (page.no.228)
► Event Procedure
► All of the given option

CS101 - Introduction to Computing - Q.No. 8 ( M - 1 )
Which one of the following is NOT a primary color?
► Red
► Green
► Yellow (correct)
► Blue

CS101 - Introduction to Computing - Q.No. 9 ( M - 1 )
__________ 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 (correct)
► Event declared programs

CS101 - Introduction to Computing - Q.No. 10 ( M - 1 )
a = Math.ceil(12.01)

What will be the value of a ?

► 12
► 13 (correct)
► 12.0
► 13.01

CS101 - Introduction to Computing - Q.No. 11 ( M - 1 )
Event handlers are placed in the ___________ portion of a Web page as attributes in HTML tags. www.cognitivehelping.blogspot.com
► HEAD
► BODY (page.no229)
► SCRIPT
► TITLE

CS101 - Introduction to Computing - Q.No. 12 ( M - 1 )
_________ can be used for entering, editing, or viewing data, one record at a time.
► Queries
► Forms (page.no.263)
► Reports
► None of the given options

CS101 - Introduction to Computing - Q.No. 13 ( M - 1 )
random() function returns a randomly-selected, floating-point number between ____________.
► 0 and 1 (correct)
► 0 and 10
► 0 and -10
► 0 and -1

CS101 - Introduction to Computing - Q.No. 14 ( M - 1 )
The organizations are learning that business can be done in a more effective manner if emphasis is placed upon ___________.
► Cooperation
► Shared responsibility
► Networking
► All of the given options (page.no.281)

CS101 - Introduction to Computing - Q.No. 15 ( M - 1 )
In relational database, data store in the form of _____________.
► Tables (page.no.321)
► Rows
► Columns
► None of the given options

CS101 - Introduction to Computing - Q.No. 16 ( M - 1 )
Spies of one business monitoring the network traffic of their competitors’ ___________.
► Industrial Intelligence
► Industrial Espionage (page.no.277)
► Industrial Spying
► Industrial Surveillance

CS101 - Introduction to Computing - Q.No. 17 ( M - 1 )
_____________ waits for some time and then launch a function.
► Timeout( )
► setTimeout( )      (page.no.290)
► setTime( )
► setTimeIn( )

CS101 - Introduction to Computing - Q.No. 18 ( M - 1 )
_______________ based communication allows business entities to coordinate the activities of their globally spread units with greater accuracy.
► Intranet
► Internet      (page.no.294)
► Home
► LAN

CS101 - Introduction to Computing - Q.No. 19 ( M - 1 )
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    (page.no.296)

CS101 - Introduction to Computing - Q.No. 20 ( M - 1 )
_____________ team consists on the sharpest technical minds in the company.
► Architecture    (page.no.302)
► Business Development
► Configuration Management
► Developer www.cognitivehelping.blogspot.com

CS101 - Introduction to Computing - Q.No. 21 ( M - 1 )
Smart editors can automatically color different parts of statements in different colors e.g. comments in ____________ color.
► Green
► Grey    (page.no.315)
► Blue
► Red

CS101 - Introduction to Computing - Q.No. 22 ( M - 1 )
A collection of data organized in such a way that the computer can quickly search for a desired data item is known as :
► Retrieving
► Database (page.no.321)
► Information
► DBMS

CS101 - Introduction to Computing - Q.No. 23 ( M - 1 )
Deep Blue was the name of
► computer (page.no.9)
► human
► city
► game

CS101 - Introduction to Computing - Q.No. 24 ( M - 1 )
Information available on the web is
► mostly free of cost   (correct)
► costly
► very cheap
► of no use

CS101 - Introduction to Computing - Q.No. 25 ( M - 1 )
Which one is correct?
► < BODY>< /BODY>

► < body>< /body>
► Both < BODY>< /BODY> and < body>< /body> ( Ref: As HTML is not case sensitive)
► < BODY/>

CS101 - Introduction to Computing - Q.No. 26 ( M - 1 )
_________ is the best known builder for supercomputers.
► Sun
► Cray Research (page.no.21)
► Microsoft
► Apple

CS101 - Introduction to Computing - Q.No. 27 ( M - 1 )
Which one is the example of spreadsheet software ?
► MS Word
► MS PowerPoint
► MS Excel (correct)
► MS Access

CS101 - Introduction to Computing - Q.No. 28 ( M - 1 )
Currently the BlueRay DVD can store more than ________ of data.
► 10 GB
► 100 GB
► 50 GB (page.no.305)
► 150 GB

CS101 - Introduction to Computing - Q.No. 29 ( M - 1 )
Blue Pacific is a name of ______ computer.
► Mini
► Desktop
► Micro
► Super (page.no.21)

CS101 - Introduction to Computing - Q.No. 30 ( M - 1 )
_________________ are powerful pieces of hardware, but not much useful on their own.
► Microcontrollers
► Microprocessors (page.no.33)
► Integrated circuits
► Ports

CS101 - Introduction to Computing - Q.No. 31 ( M - 1 ) Cognitive help!
In programming, what is a loop?
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.

CS101 - Introduction to Computing - Q.No. 32 ( M - 1 )
What are the other names of function? Any one.
Routine , procedure , sub prograam

CS101 - Introduction to Computing - Q.No. 33 ( M - 2 )
How JavaScript Arrays are heterogeneous ?
Arrays are heterogeneous in java script because at the same time stimultanously they can hold elements of multiple data types

CS101 - Introduction to Computing - Q.No. 34 ( M - 2 )
What is the database?
Data base is a collection of organized data in a proper way that computer can quickly search for any desired data item , its an easy way of allowing of manipulation of data,they are design in such a way that access to any desired data can be identified and reached quickly and easy , they are generally consist of collection of interrelated files

CS101 - Introduction to Computing - Q.No. 35 ( M - 3 )
Differentiate between LAN and WAN with one example of each.
Lan is a local area network where as wan is a wide area network
Lan can be used in a specific areas with limited computers where as wan can be used on computers shared by large distances
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

CS101 - Introduction to Computing - Q.No. 36 ( M - 3 )
What are Trojan Horses ?
Trojen horses are a kind of cyber crime , they are v harmful to computer because they are stand alone programme and the look like what they are not like any thing amusing or not harmless like games..

CS101 - Introduction to Computing - Q.No. 37 ( M - 3 )
Elaborate Rester Graphics with examples.
A raster graphics image, digital image, or bitmap, is a data file or structure representing a generally rectangular grid of pixels, or points of color, on a computer monitor, paper, or other display device. www.cognitivehelping.blogspot.com

To illustrate the matter further - here's the letter "J":
J
Look closely at it... Take a magnifying glass to it if you like. You see a "J", the computer sees something more like this, where '.' represents a zero and 'X' represents a one:

....X
....X
....X
....X
....X
....X
....X
X...X
X...X
.XXX.


Where you see a zero, the computer instructs its video hardware to paint the current background color. A one calls for the current foreground color. Yes, it is actually a bit more complicated, but it all basically boils down to one bit or the other making a distinction
between the colors of adjacent pixels, which together form an image.

CS101 - Introduction to Computing - Q.No. 38 ( M - 5 )
What are the important properties, methods and event handlers of image object?
The primary use of the image object is to download an image into the cache before it is needed to display , image object can be used to create different kinds of animations or to display one of several images based on the desired requirement , in java script image object can be used to display the required pre loaded image
Properties of image object is : height , width ,hspace ,vspace , src , name border etc
Methods :none
Event handlers:on aboart , onload, onerror etc

CS101 - Introduction to Computing - Q.No. 39 ( M - 5 )
Write the JavaScript code for the Function SumOddNumbers(maxNumber) that can add non-negative odd numbers up to maxNumber and return their sum.

Function sum odd numbers(maxnumber){var sum=0;
For(i=0; <maxNumbers;I++)
{
{
if(i / 2 == 1 || i == 1)
sum += i;
}
return sum;
}


CS101 - Introduction to Computing - Q.No. 40 ( M - 10 )
Write a note on :
· Coding guidelines
· Guidelines for developing short programs.
· Coding guidelines
· • Always use semicolons to end statements
· • Indent blocks of code (2 to 5 spaces)
· • Identifiers
· • Use the camel back scheme
· • Variables: nouns
· • Functions: verbs
· • Comment Liberally
· • Make them descriptive but concise
·
Gudelines for developing short programs.
· • Read and understand the problem
· • Do you have all the required data?
· • No: Get it
· • Else assume it. State it explicitly
· • Do the design

CS101 - Introduction to Computing - Q.No. 41 ( M - 10 )
write a note on each of the following:
a. Vector or Object-Oriented Graphics:
b. Bit-Mapped or Raster Graphics:

A:In Vector or object oriented graphic everything drawn is treated as object. objects retain their identity after they are drawon. these objects can later be moved, stretched, duplicated, deleted,etc. they are resolution independent and have relatively small file size. the examples are: swf, svg, wmf, ps
brass_ibrahim: Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on mathematical equations, to represent images in computer graphics.
brass_ibrahim: The term "vector graphics" is mainly used today in the context of two-dimensional computer graphicsVirtually all modern 3D rendering is done using extensions of 2D vector graphics techniques .Virtually all modern 3D rendering is done using extensions of 2D vector graphics techniques

B:Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp
masood.tariq: Bit-Mapped or Raster Graphics:
Treats everything that is drawn as a bit-map
If an object is drawn on top of another, it is difficult to move just one of them while
leaving the other untouched
Changing the resolution often requires considerable touch-up work
Relatively large file size
Examples: gif, jpg, bmp








Post a Comment

Previous Post Next Post