(95334975) cs101_5finaltermpapersof2010

Upload: fahad-nabeel

Post on 14-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    1/82

    Question No: 2 ( Marks: 1 ) - Please

    choose one % of the users have left

    websites in frustration due to poornavigation.

    40

    62

    83

    9

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    2/82

    1

    Question No: 3 ( Marks: 1 ) - Please choose one breaks down the message to be sent over the

    internet intopackets.

    FTP

    HTTP

    TCP

    IP

    Question No: 4 ( Marks: 1 ) - Please choose oneThe first spread sheet was called as .

    Excel

    PowerPoint

    Word

    VisiCalc

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

    Which is

    correct?

    onUnload

    onUnLoad

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    3/82

    onUNLOAD

    All of the above

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

    Variables allow us to manipulate data through the

    .

    Actual Value

    Reference Length

    Name

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

    We use to stop Break-Ins.

    Scanners

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    4/82

    Intrusion detectors

    Utilities

    None of the given options

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

    Which attribute of the IMG tag tells us about the source

    of the image .

    source

    path

    loc src

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

    The developer report to in a development

    team.

    Team Lead

    Project Manager CEO

    IT Manager

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

    The key responsibilities of the architect of the project is

    .

    Technology selection

    High-level design Makes certain that the implementation remains true

    to the design

    All of the given options

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

    Using smart editors they can automatically color

    different parts of statements in different colors e.g.HTML tags in _color.

    Green

    Grey

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    5/82

    Blue

    None of the given options

    Question No: 12 ( Marks: 1 ) - Please choose one is responsible for all the essential operations

    like basic house keeping, taskscheduling, etc. Also

    contains low-level HW interfaces

    Hardware

    Device Manager

    Kernel

    Device Driver

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

    Randomized algorithms are often than

    deterministic algorithms for the same problem.

    Simpler and more slow

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    6/82

    Simpler and more efficient

    Complex and more efficient

    Complex and more slow

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

    Compound Statement after decision constructs in

    JavaScript is enclosed with

    ( )

    [ ]

    { }; { }

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

    The key property of the Array object in JavaScript is

    Value

    Length

    Name All of the given choices

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

    Which protocol is used to send email ?

    FTP

    SMTP

    TELNET

    All of the given choices

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

    Following is highest level of heading tag in list given

    below.

    H3

    H4

    H5 H2

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

    Blue Pacific is a name of computer.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    7/82

    Mini

    Desktop

    Micro

    Super

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

    correctness is easier to check as compared

    with _

    Syntactic, Semantic

    Semantically, Syntactically

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    8/82

    Systematically, Semantically

    None of the given options

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

    refers maintaining the correctness and

    consistency ofdata

    Security

    Integrity

    Reliability

    None of the given

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

    Which of the following keyword is used to jump out

    of switch statement as soon as the match is found?

    Default

    Else

    Jump

    Break

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

    How much parameters does POW () function have?

    2

    1

    3

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

    How many types the string methods have?

    1

    2

    3

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

    The output ofdocument.write( "2" + Math.PI ) ; is

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    9/82

    .

    23.141592653589793

    3.146 2.3141592653589793

    None ofthem

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

    POP, IMAP and SMTP are related to one of the

    following service/services?

    Electronic Mail

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    10/82

    Instant Messaging

    Both a andb

    None ofabove

    Question No: 26 ( Marks: 1 )

    - Please choose one

    is designed for

    2D-Animation .

    Flash Animation

    HTMLimage class

    Web Browser

    HTML 2D class

    Question No: 27 (

    Marks: 2 )

    Define the term 3DRendering

    The process of converting information about 3-D

    objects into a bit-map that canbe

    Displayed on a 2-D

    computerdisplay

    Question No: 28 (

    Marks: 2 )What is an

    intelligent system?

    An intelligent system is a dynamic system that utilises

    computational intelligence (CI) to analyse

    interconnections between causes, drivers and effects, so

    as to model, predict and control their dynamic

    interactions in a holistic manner

    Question No: 29 (

    Marks: 2 )

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    11/82

    Define testing with respect

    toprogramming..

    Question No: 30 (Marks: 2 )

    What is a compiler? Write its one

    benifit overinterpreter.

    Compiler translates the program written in a HLL in

    one go. The translated code is then used by the uP

    whenever the program needs to be run

    Interpreter translates the HLL program one

    statement at time. It reads a single

    statement, translates it into machine language and

    passes that machine language code to

    The uP and then translates the next

    statement, and so on

    Question No: 31 (

    Marks: 3 )

    Who is a Computing

    Professional?

    Professionals involved in the development and/or

    maintenance of SW and/orcomputerHW

    Computer scientists, software engineers,

    computer engineers, and some ofthe telecom

    engineers are generally classified as computing

    professionals

    Question No: 32 (

    Marks: 3 )

    What are TrojanHorses ?

    Unlike viruses, they are

    stand-aloneprograms

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    12/82

    The look like what they are not

    They appear to be something interesting and

    harmless (e.g. a game) but when they are executed,destruction results

    Question No: 33 (

    Marks: 3 ) What is

    ICMP?

    Question No: 35 ( Marks: 5 )

    Write down the advantages of Natural Language

    Processing.

    Question No: 36 ( Marks: 5 )

    Draw hierarchy of the people in the smallproject?

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

    In a good presentation each slide should contain.

    Heading

    Phrases not sentences

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    13/82

    Sentences notphrases

    Heading, sentences notphrases

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

    Which one of the following is not an event handler'sattribute?

    Function

    Identifier

    Equal sign

    String consisting of JavaScript statements

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

    According to the heuristic, the number of defects

    remaining in a system after a given level of tests is

    proportional to .

    The number found on very first day.

    The number found during the development.

    The number found during the test.

    None of the given options.

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

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    14/82

    Which one is the best option for designing a Medical

    Expert System?

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    15/82

    Rule Based System

    Genetic Algorithm

    Fuzzy Logic

    NeuralNetwork

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

    A combination of word processing and graphic design is

    Corel Draw

    Desktop Publishing

    Paint

    WordPad

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

    Amicroprocessorcanbemademorepowerfulbyincreasingits

    Clockfrequency

    Word length

    Clock frequency and Word length

    None ofabove

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    16/82

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

    Security can also be improved through .

    Encryption

    Typing errors

    Transmission errors

    Hardware malfunctions

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

    is a field that uniquely identifies each

    record stored in a table.

    Composite Key

    Primary key

    Foreign key

    None of the given options

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

    There are types oferrors.

    2

    3

    4

    5

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    17/82

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

    is simply a fast port that lets you connect

    computer peripherals and consumerelectronics to your

    computer without restart.

    Freeware

    Shareware

    Firewire

    Firmware

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

    provides a simple, consistent way for applications

    to interact with the HW without having to know all the

    details of the HW

    Explorer.exe

    System Files

    Operating System

    Application Software

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

    One can browse documents residing on a remotecomputer using _protocol.

    HTTP

    SMTP

    FTP

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    18/82

    TELNET

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    19/82

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

    Which event handler executes the specified

    JavaScript code when a window/form element loses

    focus ?

    onBlur

    onLoad

    onUnload

    onFocus

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

    Which event handler executes the specified

    JavaScript code when a window/form element

    receives focus ?

    onBlur

    onLoad

    onUnload

    onFocus

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

    loop is a flow control statement

    that allows code to be executed repeatedly based ona given Boolean condition.

    For

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    20/82

    Do-While

    If-else

    While

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    21/82

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

    A B C D4

    = =

    Expression format in cell D4 is NOT correct.

    True False

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

    for(var i=1; i

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    22/82

    Sorted Words:


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

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    23/82

    Data integrity, in Database management system is

    necessary because it:

    Refers to provide insecurity to the data

    Refers to provide security to the data

    Refers to maintaining the correctness ofdata

    Refers to maintaining the consistency of the data

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

    Which of the following formula is used in spreadsheet for

    addition?

    C6+E6

    =C6+E6

    6+6=12

    6+E6

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

    Which of the following keyword is used to jump out

    of switch statement as soon as the match is found?

    Default

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    24/82

    Else

    Jump

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    25/82

    Break

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

    How many types the string methods have?

    1

    2

    3

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

    Which Internet Service is comparatively Slow butInexpensive and Fast.

    E-mail

    Instant Messaging

    Web

    None of the given

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    26/82

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

    Coding is the responsibility of _

    Software designer

    Software developer

    Project manager

    None ofgiven

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

    Run time error occurs when .

    The complier compiles theprograms

    The compiler ends the execution of theprogram

    The compiler start running theprogram

    The compiler finds a semantic error

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

    Heuristics are .

    Intelligent systems

    Always ends with the solution of theproblem

    Both of the given

    None of the given

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    27/82

    Question No: 27 ( Marks: 2 )

    What are application softwares? List down the names of

    three application softwares.

    Definition: Application Software are that software then

    can interact directory with the user for performance of

    respective type ofwork.

    Following are the types of

    Application Softwares:-

    AutoCAD and Corel DrawBusiness SoftwareProductivit

    y SW

    GamesSoftware

    Question No: 28 ( Marks: 2 )

    Why Local variable is preferred over Global variable ?

    In my point of view Global variable has some advantage

    with Local variables ispreferred due to the followingreasons:-

    When we declare any global variable in web page then in

    case of error and logic its very difficult to see on which

    line this variable is used and whats his value if we have

    more than 2000 lines and all the functions in web page

    using that Global Variable so Global variables can makethe logic of a Web page difficult to understand.

    As we know we can use Global variable everywhere so

    Global variables also make the reuse and maintenance

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    28/82

    of your code much more complex.

    Question No: 29 ( Marks: 2 )

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

    types ofevents?

    In java script we can capture events on do some

    operation on the basis of that particular event. For

    example we want to load some data on web page then

    with the help ofevent handling we can do this operationby using onLoad event.

    We can put Event handlers in the body of web page

    and also in attributes ofHTML. From the attribute we

    can call any JavaScript function that will do his

    operation and come back. Now we can also interact

    with server side with the help of AJAX in JavaScript

    function.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    29/82

    In-Line Event Handling

    We can place event handlers in the BODY part and also

    in HTML attributes the event handlers attributes consist

    of 3 parts the event handler, equal sign and a string of

    JavaScript statement enclosed in quotes (single or

    double). And one more thing these should be put in one

    line without newline due to this sophisticated event

    handling is notpossible with in-line event handling.

    Question No: 30 ( Marks: 2 )

    What is Structured Vector Graphics ?

    This is a plug-in that is required to view swf (flash)

    files in the web browser

    Question No: 31 ( Marks: 3 )

    What kind of new jobs are created because of

    computing? And which old professions arebeing

    eliminated?

    Due to computing where people are getting benefits from

    automated systems on the otherhand the people that are

    with KHATA system or Manual system and they dont

    know about computers are eliminated due to this reason

    and people take place of manypeople. We can see in the

    offices where before computer if there are four personrequired now only one person is required for example

    with the help of database we can store more than

    thousand of information and only one person is managing

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    30/82

    the whole data that is DBA. In the old system many

    people are writing the data in registers and then its also

    very

    difficult to find the specific record.

    Now we can see

    companies are hiring:-

    Data Entry Operators

    System

    Engineers

    SoftwareDeveloper

    DBA etc.

    Question No: 32 ( Marks: 3 )

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    31/82

    What are Logic- or Time-Bombs ?

    It execute the payload when predetermined event occurs

    For example use type particular phrase and particular data

    is reached.

    Question No: 33 ( Marks: 3 )

    What do you mean by FTP or File TransferProtocol?

    This protocol is used to upload the files on remote

    computers. This is used to transferfiles between

    computer on TCP/IP network e.g. internet and now a

    days many software are available for uploading files

    using FTP like Mozila FTP, cute FTP etc.

    Question No: 34 ( Marks: 5 )

    Why should we, as computing professionals, be

    interested in studying the social implications of our

    creations?

    If we see our life then we can judge computing

    technology is changing our life fast ifwe compare withothertechnology.

    We should highlight the mistakes and successes of the

    past. We should learn then and select future direction

    accordingly. Computers are keep becoming more and

    morepowerful and gaining more autonomy.

    Powerful GlobalCorporation. The

    network

    Organization

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    32/82

    Question No: 35 ( Marks: 5 )

    How DoS attack is a cyber crime? For what cyber crimecan be used?

    DoS is the crime but of a new type. A new type for

    policing system is required to tackle such crimes.

    Cyber Crime can be used to Damage a home

    computer, Bring down the Business, Weaken the

    financial and defense system ofcountry.

    Question No: 36 ( Marks: 5 )

    What are the key characteristics of internet? Writethe names of any five.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    33/82

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

    Website design should NOT be .

    Unified

    Complex

    Consistent

    Predictable

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

    TCP stands for .

    Total communicationprotocol

    Transmission controlprotocol

    Transfer controlprotocol

    Transfer collectionprotocol

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    34/82

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

    A vocabulary and set of grammatical rules for instructing

    a computer to perform specific tasks is called

    Software

    Programming language

    Device driver

    Interpreter

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

    A is a meaningful, easy-to-remember labelfor an IP address.

    TCP address

    Domain name

    Networkname

    VoIP

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

    In spreadsheets, cell address A12 means .

    Row A, Cloumn 12 Row 12, Cloumn A

    Row 2,Cloumn A1

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    35/82

    Row A1, Cloumn 2

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    36/82

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

    According to the heuristic, the number of defects

    remaining in a system after a given level of tests is

    proportional to .

    The number found on very first day.

    The number found during the development.

    The number found during the test.

    None of the given options.

    Question No: 8 ( Marks: 1 ) - Please choose oneWhich one is the best option for designing a Medical

    Expert System?

    Rule Based System

    Genetic Algorithm

    Fuzzy Logic

    NeuralNetwork

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

    Command that allows you to recover form mistakes is

    called .

    Clear

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    37/82

    Edit

    Undo

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    38/82

    Break

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

    The document.write( ) method expects as

    its argument.

    Integer

    Float

    String

    Boolean

    Question No: 11 ( Marks: 1 ) - Please choose oneWe use to stop Break-Ins.

    Scanners

    Intrusion detectors

    Utilities

    None of the given options

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

    The developer report to in a developmentteam.

    Team Lead

    Project Manager

    CEO

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    39/82

    IT Manager

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    40/82

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

    The key responsibilities of a project manager is

    .

    Planning and tracking of theproject

    Arranging of the appropriate resources

    Client relationship management

    All of the given options

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

    The key responsibilities of the architect of the project is.

    Technology selection

    High-level design

    Makes certain that the implementation remains true

    to the design All of the given options

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

    The important attribute of image tag is

    . src

    image

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    41/82

    None of the given options

    alt

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    42/82

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

    onAbort , onError are the of the imageobject.

    Event Handler

    Properties

    Methods

    None of the given options

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

    Nowadays,userscommunicatewiththecomputerusing

    aconsistentprovided by the

    Operating System.

    Command-line interface

    Application Interface

    UserInterface Protocol

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

    One can browse documents residing on a remotecomputer using _protocol.

    HTTP

    SMTP

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    43/82

    FTP

    TELNET

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    44/82

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

    Which of the following device can be used to control

    networktraffic?

    Cable

    Connector

    Hub

    Repeater

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

    User can remotely log on to a computer and can have acontrol over it like a local user using

    TelNet Protocol

    TelNet Protocol and connected to the user through

    TCP/IP network

    TelNet protocol and FTP

    TCP/IP and FTP

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

    If(studentMar

    ks>70); (

    document.write( "Grade A");

    }

    Which of following is correct format of above code:

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    45/82

    If(studentMarks>70); (

    document.write( "Grade A");

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    46/82

    };

    If(studentMarks

    70) (

    document.write( "Grade A");

    }

    If(studentMarks>70)

    {

    document.write( "Grade A");}

    None of above options

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

    Which of the following language is object based but notobject oriented language.

    javascript

    visualbasic

    C++

    C#

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

    asin(x)standsfor Asynchronous sine

    Alpha Sine

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    47/82

    Automated Sine

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    48/82

    ArcSine

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

    The output of POW (3, 2) is .

    6

    4

    9

    12

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

    The Right most portion or the third portion of the URLcontains .

    Protocol Identifier

    ServerName

    DirectoryNameNone of the given

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

    Which Image format is known as Lossless original

    format.

    JPEG

    GIF

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    49/82

    Bitmap

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    50/82

    Vector

    Question No: 27 ( Marks: 2 )

    What is a function? Give

    one example.

    Answ

    er:

    Function is a reusable code (group of statement) that is

    executed when the function is called. It is also known as

    sub-program. Function is normally defined in the head

    section of the code.

    Question No: 28 (Marks: 2 )

    What is an

    intelligent system?

    Answ

    er:

    Intelligent systems are the programs developed to

    perform complicated jobs that reflect human brain and

    thoughts. If the algorithms are too much complex or can

    not be solved instantly then we can use such systems.

    Therefore the well intelligent system not only performs

    well but it has the capability to rectify any errors by

    himself if it occurs within his domain.

    The examples of intelligent systems are Robotics,

    Business Intelligence etc.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    51/82

    Question No: 29 (Marks: 2 )

    What is meant by semantic error?

    Answer:

    It is an error which a developer encounters when a

    statement is executed but it was not intended by him

    (the developer). Such errors are very difficult to locate

    during testing. Mostly these occur during abnormalcircumstances. It may be referred as the logical error.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    52/82

    Question No: 30 ( Marks: 2 )

    What is best algorithm?

    Answer:

    Greedy algorithm is the best algorithm as it is n

    algorithm that always takes thebest immediate, or

    local solution while finding an answer.

    Question No: 31 ( Marks: 3 )

    How can we include images in a web page using HTML

    and Java script?

    Answer:

    Images can be included in HTML by employing tag, below is the format of

    Question No: 32 ( Marks: 3 )

    What are the Sub categories of Artificial

    Intelligence? Briefly explain any two.

    Answ

    er:

    1.

    Robotics

    These are the machines which are computer programmed

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    53/82

    and perform work which was previously done by

    humans. They can be found in the manufacturing

    industry, the military, space exploration and medical

    applications.

    2. Expert

    Systems

    These systems are designed to replace an expert.

    The medical expert system is an example of such

    system which can replace a Doctor/medical expert.

    Question No: 33 (Marks: 3 )

    What are the steps of working of TCP and IP protocols

    in internet transmission?

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    54/82

    Answer:

    TCP divide messages in to many packets (capsulation)and sent these messages overthe internet and IP route

    these messages on the internet to the correct destination

    and upon reaching the messages on its destination the

    messages are encapsulated.

    Question No: 35 (Marks: 5 )

    Define professional ethics and its benefits with anexample?

    Question No: 36 ( Marks: 5 )

    Write JavaScript code for the following:

    Make a function compareWithTen(value)

    Compare the function argument with 10 and display a

    message whether the value is less than, equal to or greater

    than 10.

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

    breaks down the message to be sent over the

    internet intopackets.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    55/82

    FTP

    HTTP TCP (page.no.317)

    IP

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

    A protocol used for receiving email messages is called.

    URL

    Telnet

    POP3 (page.no.213)

    SMTP

    Question No: 3 ( Marks: 1 ) -

    Please choose oneAliasing problem can be

    managedby

    Reducing (page.no.236)

    Increasing

    Gaining

    Modifying

    the size ofpixels.

    Question No: 4 ( Marks: 1 ) - Please choose oneVariables allow us to manipulate data through the

    .

    Actual Value

    Reference (page.no.143)

    Length

    Name

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

    The reserved word allows a determined

    action to be taken if the first condition is false.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    56/82

    For

    While

    Else

    Switch

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

    ERP is a type of .

    Entertainment software

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    57/82

    Productivity software

    Business software

    Scientific software

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

    What is/are the use/uses of Wordprocessor?

    To write a letter

    To write Research paper orreport

    To create address labels

    All of the given

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

    Command that allows you to recover form mistakes iscalled .

    Clear

    Edit

    Undo

    Break

    Question No: 9 ( Marks: 1 ) - Please choose oneAutomatic machines performing various tasks that were

    previously done by humans, are called .

    Robotics (page.no.244)

    Computers

    Decision Making Systems

    Autonomous Web Agents

    Question No: 10 ( Marks: 1 ) - Please choose oneThe is connected to all other modules of themicroprocessor.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    58/82

    Control unit

    Memory unit

    Floating Point unit

    Arithmetic and Logic unit

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

    Database consisting of two or more related tables, is

    called .

    Flat file database

    Object oriented database

    Tabular storage database

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    59/82

    Relational database (page.no.263)

    Question No: 12 ( Marks: 1 ) - Please choose one can be used for entering, editing, or viewing

    data, one record at a time.

    Queries

    Forms (page.no.263)

    Reports

    None of the given option

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

    DBMS supports data in terabytes. Personal

    Desktop

    Enterprise

    Single-userQuestion No: 15 ( Marks: 1 ) - Please choose one

    After the DoS attack in year 2000, Yahoo servers were

    recovered in .

    1 hour

    2 hours

    3 hours

    4 hours

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

    When web server is busy it gives the following message

    to the user:

    Time out

    Waiting Serverbusy

    None of the given options

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    60/82

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

    To stop industrial espionage, we use .

    Private network

    Encryption

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    61/82

    Networksniffer

    All of the given options (page.no.277)

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

    onAbort , onError are the of the image

    object.

    Event Handler(page.no.286) Properties

    Methods

    None of the given options

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

    Processed data is called .

    Information Data

    Entity

    Attribute

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

    consists of cells arranged in rows & columns

    Spreadsheets Software Wordprocessor

    Presentation Software

    Microsoft Paint Software

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    62/82

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

    Flow control constructs in JavaScript includes:

    If-Else

    Loops and If-Else Switch and If-Else

    All of the given choices

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

    Which is NOT true for JavaScript variable name ?

    Student

    Roll_no_1111 For

    _schedule

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

    In JavaScript, second element of an array has the index:

    2 0

    1

    3

    JavaScript Array Basi cs

    5 May 2008 ... In this tutorial you learn what a

    JavaScript array is, ... The first element hasan

    index of 0, the second element has an index of 1,

    ... www . e l ate d . c o m /a r ti cles / ja v a sc r i p t- a r r a y -

    b asics/ - Cac h ed - Si m ila r -

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

    Which protocol is used to control other computer from

    our own computer?

    FTP

    NNTP TELNET (page.no.211)

    None of the given choices

    Question No: 27 ( Marks: 1 ) -

    http://www.elated.com/articles/javascript-array-basics/http://www.elated.com/articles/javascript-array-basics/http://www.elated.com/articles/javascript-array-basics/http://www.elated.com/articles/javascript-array-basics/
  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    63/82

    Please choose one occurs

    when a function calls itself.

    Recursion

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    64/82

    Call by value

    Call by reference

    Parsing

    Rec u r si o n - W i k i p e d ia, t h e fr e e encyclopedia

    The function calls itself recursively on a smaller

    version of the input (n - 1) and multiplies the result

    of the recursive call by n, until reaching the ...

    en.wikipedia.org/wiki/Recursion - Cac h ed -

    S im i la r -

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

    Which function returns a randomly selected floating

    point number between 0 and 1 ?

    floor(x)

    ceil(x) random()

    round(x)

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

    Using Java Script you can write a character at random

    location on screen

    By applying randomCh() method

    With the help of String object

    With the help of random characterproperty

    There is no built in approach in Java Script

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

    The most used form tag is the tag.

    True False

    Question No: 31 ( Marks: 1 )

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    65/82

    What are the elements of website design? Any one

    Question No: 32 ( Marks: 1 )

    What kind of information can be stored in a database ?

    Question No: 33 ( Marks: 2 )

    What is meant by universal access of internet services ?

    Question No: 34 (

    Marks: 2 ) What is

    the database?

    Question No: 35 ( Marks: 3 )

    The event handler attribute consists of three parts. Write

    about each ofthem.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    66/82

    Question No: 36 ( Marks: 3 )

    What is difference between Design and System

    Architecture?

    Question No: 37 (

    Marks: 3 ) What

    are Trojan Horses ?

    Question No: 38 ( Marks: 5 )

    Differentiate between For and While loop by writing thesyntax of both loops.

    Question No: 39 ( Marks: 5 )

    Suppose we have a big project. Draw hierarchy of the

    people involved in theproject?

    Question No: 40 ( Marks: 10 )

    Write down output for the following

    JavaScript code. a)

    document.write(Math.sqrt(25));

    // output ?

    b)

    document.write(Math.pow(5, 3)); //output ?

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    67/82

    c)

    document.write(Math.min(5, 3)); //

    output ?

    d)

    document.write(Math.max(5, 3)); //

    output ?

    e)

    document.write(Math.floor(9.87)); //

    output ?

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    68/82

    Question No: 41 ( Marks: 10 )

    Is tabular data storage better than flat file data storage?Justify youranswer.

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

    A named collection of properties (data, state) and

    methods (instruction, behavior) is called

    . Array

    Function

    Variable

    Object

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

    JavaScript Variables are.

    Dynamically Typed Statically Typed Strong Typed

    None of the given options

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

    Serial arrangement in which things follow logical order or

    a recurrent pattern, such asstatements executing one by one, is called . Loop

    Sequence

    Condition

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    69/82

    Array

    Question No: 5 ( Marks: 1 ) - Please choose oneRule of thumb learned through trial and error is called

    .

    Design

    Heuristic Plan Aim

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

    According to heuristic, if you cant explain it in

    minutes, either you dont understand it or it does not

    work.

    10

    2

    5

    4

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

    To store rounded number of 8.6 in a variable called

    "r_number", we write

    .

    r_numbers=Maths.rounds(8.6)

    r_number=Math.rounds(8.6)

    r_number=Math.round(8.6) r_number=Maths.round(8.6)

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

    Using only HTML we can create

    Dynamic webpages

    Static web pages Both Static and Dynamicpages

    None ofthese

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    70/82

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

    function returns the largest integer that is

    less than or equal to x. round(x) floor ceil

    abs(x)

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

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    71/82

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

    When web server is busy it gives the following messageto the user:

    Time out

    Waiting

    Server busy None of the given options

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

    is designed for detecting viruses andinoculating.

    Antivirus Utility Trojan

    None of the given choices

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

    The is becoming the preferredorganizational structure for more and more organizations

    with the passage oftime.

    Tree structured organizational model

    Networkparadigm Hierarchical structure None of the given options

    Question No: 15 ( Marks: 1 ) - Please choose onePlanning and tracking of the project is the responsibility

    of the .

    Project Manager Architect Developer

    Chief Executive Officer

    Question No: 16 ( Marks: 1 ) - Please choose oneThe responsibilities of the Team Lead includes.

    Planning and tracking of the project

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    72/82

    Detailed design

    Professional development of team members

    All of the given options

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

    team is responsible for a project after

    the specifications stage till the veryend.

    Executive

    Architect

    Development HR

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

    There are types oferrors.

    2

    3 4

    5

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

    Which one of these is NOT an example of storage

    devices?

    Tape

    RAM

    Floppy DVD

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

    Forms can be submitted by using different

    methods

    2 3

    4 5

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

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    73/82

    Which is NOT true for JavaScript variable name ?

    Student

    Roll_no_1111

    For

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    74/82

    _schedule

    Question No: 23 ( Marks: 1 ) - Please choose oneOne can browse documents residing on a remote

    computer using protocol.

    HTTP SMTP FTP

    TELNET

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

    Which one is the example of spreadsheet software ?

    MS Word

    MS PowerPoint

    MS Excel MS Access

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

    User can remotely log on to a computer and can have a

    control over it like a local user using

    TelNet Protocol

    TelNet Protocol and connected to the user

    through TCP/IP network TelNet protocol and FTP TCP/IP and FTP

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

    Hardware malfunctions is related to

    Data updates

    Data integrity

    Data security

    Data accessibility

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

    PowerBuilder falls in the category of .

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    75/82

    Assembly Languages

    4-th Generation Languages

    Machine Languages

    High-Level Languages

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

    Backbone is also called as .

    vBNS BNS vHBNS

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    76/82

    HBNS

    Question No: 29 ( Marks: 1 ) - Please choose oneGlobal variables can make the logic of a webpage.

    Difficult to understand Easier to understand and maintain Difficult to reuse and maintain

    Difficult to understand,

    reuse and maintain

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

    In JavaScript: In order to display the text on browser

    Grade A, which offollowing statement is True.

    documentwrite( "Grade A")

    document.write( "Grade A"); document.write("Grade && A");

    document.write("Grade && A");

    Question No: 31 ( Marks: 1 )

    What isbandwidth?

    Bandwidth is a capacity of communication channel ofcarrying data.

    Question No: 32 ( Marks: 1 )

    What is My Personal Agent?

    A computer programe that work automatically and havevoice interface

    Question No: 33 ( Marks: 2 )

    For what purposes FTP is used in networks ?

    To download or upload files / data to a remote computer

    Question No: 34 ( Marks: 2 )

    How can you define a readableprogram?

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    77/82

    A program that is easy to read & understand also easy to

    maintain and enhance.

    Question No: 35 ( Marks: 3 )What is the preferred organizational structure for the

    organization?

    The Network Organization: It is becoming the preferred

    organizational structure.

    Question No: 36 ( Marks: 3 )

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

    needed?

    A consistent web design is Easy understandable, not

    with heavy graphics, easy navigation. It is needed

    because most of the website views leave the site because

    ofpoornavigation and not easy to understand, text and

    design is not clearetc.

    Question No: 37 ( Marks: 3 )Elaborate Vector or Object oriented graphics with atleastone example.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    78/82

    Vector treats everything that is drawn as object, they

    are resolution in dependent and relatively small file

    size. For example swg, svg, wmf.

    Question No: 38 ( Marks: 5 )

    What are the advantages of multimedia

    presentations? Write any five. Multimedia

    presentation is a great tool for effective

    communication: Advantages:

    1. Easy to make last minute change

    2. More attractive

    3. Can include animation, videos etc.4. Better presentation easy to understandable for

    participants comparing to manual presentation.

    5. Undo feature

    Question No: 39 ( Marks: 5 )

    Can a human doctor be replaced by an ExpertSystem? Give reasons to support your answer.

    Expert System is a computer system which simulates the

    knowledge and expertise ofa human expert. Yes, a

    human doctor can be replaced by an Expert System.

    Following are the reasons to support my answer:

    1. A large database of knowledge can be added toand kept up to date, it can store more knowledge

    than aperson.

    2. The Expert System cannot FORGET or get facts

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    79/82

    wrong.

    3. It survives forever. There is no loss of

    knowledge as there is when a doctor retires.

    4. The Expert System can access specialist knowledgethat a doctor may not have.

    Question No: 40 ( Marks: 10 )

    Explain the following issues of Data Management?

    (3+4+3)

    1. Data entry2. Data updates

    3. Data security

    DA TA ENTRY:There is new data entered every day.New customers are added every day.

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    80/82

    Some of the data entry requires the manual entry into

    computersystem

    New data entry needs to be entered correctly

    DA TA UPDATES:Old titles must be removed regularlyData changes every time

    Prices change

    Transportation /

    shipping cost changesCustomer personal data

    changes Schemes

    changing, new offers

    Every new entry needs to be entered correctly

    DA TA SECURITY:All data in the system is very critical to its operation, thesecurity of the customerspersonal data is most important. Most of the hackers

    are always trying for that type ofinformation specially

    Credit CardNumbers.

    This problem can be managed by using proper securityarrangements and mechanisms that provides access to

    only authorized entities. System Security can be

    improved through, encryption, firewalls and updated

    Antivirus Softwares

    Question No: 41 ( Marks: 10 )

    Write a note on the followings

    a. Image

    Preloadingprocess

    b. Animated Gifs

    IMA GE PRE LO AD IN G PR OCES S:

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    81/82

    The primary use of image preloading process is to

    download the image into the cachebefore it is actually

    needed to display.

    PR O C E S S :1. An example of the image object is shaped usingthe NEW keyword2. The src property of this instance is set equal to

    the filename of the image tobe pre-loaded

    3. This step starts the down-loading of the image

    into the cache without actually displaying

    4. When a pre-loaded image is required to bedisplayed, the src property ofthe displayed image is

    set to the src property of pre fetched image

    AN I M A TE GIFS:

  • 7/27/2019 (95334975) Cs101_5FinaltermPapersof2010

    82/82

    We can save 16 gif images of the previous example in a

    single file in the form ofan animated gif, and then used

    it in a regular tag to display a moving image.

    However, JavaScript provide better control over the

    sequencing and the gap between the individual images.