Chemistry s

download Chemistry s

of 93

Transcript of Chemistry s

  • 8/10/2019 Chemistry s

    1/93

    L]SI{

    mlm[|I

    r OccPt3tzs

    First/Second

    Semester

    B.E.

    Degree Examination,

    June/July

    2011

    Computer

    Concepts

    ancl

    C

    Programming

    Time:3

    hrs.

    Max. Marks:100

    Note: l.

    Answer

    FIVEfull

    questions

    choosing

    at least

    twofrom

    each

    part.

    2, Answer

    all

    objective type

    questions

    only

    in

    OMR

    sheet page

    5

    of the answer booklel

    3.

    Answer

    to

    objective type

    qaestians

    on sheets

    other than

    OMR

    will

    not be

    valued

    PART

    -

    A

    I a. Select the correct

    answer

    :

    i)

    Which

    of

    the following

    device

    stored instructions

    that help

    computer

    to

    start up?

    A)

    Joystick

    B)

    RAM

    C)

    ROM

    D)

    Monitor

    ii)

    A

    collection

    of

    8-bits is called

    A) Byte B) Word

    C)

    Record

    D) File

    iii)

    Which

    of

    the following

    is not an

    output

    device?

    A)

    Printer

    B)

    Keyboard

    C)

    VDU

    op D)

    CRT

    Screen

    iv)

    Which

    of

    the

    following

    is not a

    type

    of keyboard

    connector?

    A)

    5-pin

    connector

    B)

    6-pin

    connector

    C)

    8-pin connector

    D)

    USB

    connector.

    (04

    Marks)

    b.

    with

    a neat

    diagram,

    explain

    the basic

    structure

    of a

    computer.(08

    Marks)

    c.

    Explain

    two

    types

    of

    monitors

    based on the technique

    used

    to

    display

    image

    (04

    Marks)

    and

    text.

    d. i)

    Convefi

    the

    decimal

    number

    3

    I

    l0

    to

    binary fonn.

    ii)Convert

    the

    binary

    number 001

    X

    1

    tr

    0

    to

    decimal.

    (04

    Marks)

    2 a.

    Select the

    correct

    answer

    :

    i)

    Unlike a

    transistor,

    a magnetic disk

    can

    store data

    without

    a

    continual

    source of

    A)

    electricity

    B)

    RPMs

    C)

    polarity

    D)

    light s I

    ii)

    A magnetic

    disk's tracks

    are divided

    into

    smaller

    parts

    called

    A)

    clusters B)

    sectors

    C)

    bytes

    D)

    slices

    iii)

    A

    translator

    which

    reads

    an

    entire

    program

    written

    in

    high level

    language and converts

    itinto

    machine

    language

    code

    is

    A)

    Apsernbler

    B)

    Translator

    C)

    Compiler

    D)

    System

    software

    iv)

    A

    distributed

    network

    cqntiguration

    in

    which

    all

    data/information

    pass

    through center

    computer

    is

    A)

    Bus

    network

    B)

    Star

    network

    C)

    Ring

    network

    D) Point-to-point

    network

    (04

    Marta)

    ,b'

    What

    is an

    operating

    system?

    List

    and

    explain

    different

    types

    of

    operating system

    based

    on

    ,/ur?_g-?

    and

    requrrement.

    (09

    Marts)

    /

    c.

    What is

    OSI

    model?

    Explain

    the principle

    used

    to develop

    seven

    layers

    of(04

    Marks)

    /

    oSI

    modet.

    d,

    List

    the

    basic

    components

    of

    a network.

    3

    a. Select

    the

    correct

    answer

    :

    i) which

    of

    the

    following

    are

    nor

    valid

    identifiers?

    A)

    student

    name

    B)

    _total

    C) 2narnes D) int

    (04

    Marks)

  • 8/10/2019 Chemistry s

    2/93

    ii)"

    Which

    of'the

    fQllolving

    are not

    character

    corlstants'J

    A)'C'B)

    "C"

    C)

    'bb'D)

    ,?'

    iii) Which

    field

    specification

    is

    usecl

    to read

    or

    write

    short

    ipteger'?

    A)%cB)%dC)%f

    D)

    %hd

    iv) Which

    function

    reads

    data

    from

    the

    keyboard?

    A)

    display

    B)

    read

    C)

    printf

    D)

    scanf

    b. List

    and

    explain

    coding

    constants.

    c.

    What

    is

    variable?

    Explain

    variable

    initialization.(O4

    Vflanks)

    d.

    Explain

    the

    structrlre

    of

    'C'

    prograrn.

    4.

    a

    Select

    the correct

    answer

    i)

    is

    used

    to

    determine

    the

    order

    in

    which

    diflbrent

    operations

    in

    an

    expression

    are

    evaluated.

    A) Associativity

    B)

    precedence

    C)

    evaluation

    D)

    format

    ii)

    which

    of the

    following

    is not

    a valitl

    assignment

    expression?

    A)

    X

    =

    23

    B)4X:

    8

    :3

    C)Y%:

    5 D)x:

    r

    =5

    iii)

    Which

    of the

    following

    is

    not

    an

    expression

    format?

    A)

    assignmentB)conditional

    C)

    binary

    b)

    primary

    iv)

    Which

    of the

    following

    has

    highest

    precedence?

    A)-prefixB)

    Multiplyc)

    incrementD)

    Assignment

    (04

    Marks)

    b.

    If a

    =2,b:

    8,

    c

    :4,

    d

    =

    10,

    what

    is

    the

    value

    of

    each

    of

    tire

    following

    ?(04

    Martrs)

    i)

    a+b/c.d--c/aii)

    (b

    I a)%

    c

    iii)

    a**

    *

    b--+iv)

    **a

    *

    b__

    +

    ++d

    c.

    Write

    a

    program

    to

    convert

    temperature

    from

    Fahrenheit

    to'behius

    using(og

    Marks)

    the

    following

    formula.

    d.

    Convert

    the

    following

    mathematical

    expressions

    into^'C'

    expressions:(g4

    h{arks)

    i)a+bxc

    ii)

    a+biii)r/

    s(s

    -

    a)

    x

    (s

    -

    b)

    x

    (s-

    ,)

    iu) x2

    +

    y,

    -r

    Zxy

    PART

    -

    B

    5

    a.

    Select

    the

    correct

    answer

    :

    i)

    A

    function

    that

    calls itself

    for

    its

    processing

    is

    known

    as

    A)

    Inline

    function

    B)

    Nested

    function

    C)

    Overloaded

    function

    D)

    Recursive

    function

    ii)

    we

    declare

    a

    funetion'with

    if

    it

    does

    not

    have

    any

    return

    type.

    A) long

    B)

    double

    C)

    void

    D)

    int

    (04

    Marks)

    (06

    Marks)

    (06

    Marks)

    level

    access.

    ii)

    Variables

    inside

    parenthesis

    of

    a

    function

    declaration

    have

    A)

    local

    B)

    global

    c)

    module

    D)

    universal

    iv)

    Arguments

    of

    a function

    are

    separated

    with

    n)rr::r:"r(,)

    B)

    semicolon

    (;)

    c) colon

    (:)

    D)

    None

    of these.

    (04

    Marks)

    l T,t1qh

    the

    different

    ways

    of

    passing

    parameters

    to

    tunction.(0g

    Marksj

    u'

    wnte

    a

    program to

    accept

    two

    numbers from

    the user

    and

    to

    add and

    (0g

    Marks)

    subtract

    these

    two

    numbers

    using'fuirctions

    and

    display

    the

    result

    on

    the console.

    6

    a.

    Select

    the

    correct

    answer

    :

    i)

    Operator

    used

    in

    logical

    and

    is

    i

    A)

    &

    B)

    tc)

    &&

    E)

    ll

    ii)

    Two-way

    selection

    is implemented

    with

    the

    statement.

    A)

    case

    B)

    switch

    C)

    else

    if

    D)

    if.else

    iii)

    Which

    of the

    following

    is

    nor

    a

    relational

    operator?

    A)

    3*

    o=

    ,3

    i,

    *k

    rdo

    Ca,

    b0c.nd

    x

    rE

    s3

    -bB

    5.u

    trL

    EA

    hE

    o

    li:

    ho

    3E

    xqi

    bDo

    trE0

    =d

    H9

    Xe)

    5

    eh

    J

    =u

    5

    (rr

    Jr

    sin2y

    =

    x3

    cos2

    y.

    Find

    the

    orthogonal

    trajectories

    of

    the

    family

    of curve

    rn

    cos

    n0

    =

    an.

    i)

    The

    normal

    form

    of

    the

    matrix

    of

    rank

    r

    is

    (04

    Marrs)

    A)

    [r'

    ol

    B)

    t-l

    ol

    ",

    [o

    ol

    r-o

    ol

    ^)

    [o

    o_l

    D)

    lr

    rj

    [r

    rJ

    D)

    L;

    il

    i)

    If

    rank

    of

    the coefficient matrix

    is

    equal

    to rank

    of

    the

    ,iugmented

    matrix

    then

    equations

    are

    A)

    consistence

    B)

    inconsistence

    a

    C)

    have

    no

    solution

    D)

    have

    infinite

    number

    of

    solutions.

    iii)

    In

    Gauss

    -

    elimination

    method

    coefficient

    matrix

    reduces

    to

    matrix.

    A)

    diagonal

    g)

    unit

    matrix

    c)

    tri;g"iil

    *;j

    None

    of these

    iv)

    The

    system

    of

    linear

    homogeneous

    equations

    have

    trivial

    solution

    if

    all

    variable

    are

    (i

    =

    I

    ...

    n)

    A)

    xi>0

    B)

    xi

  • 8/10/2019 Chemistry s

    89/93

    lOMATl1

    (06

    Marks)

    (04

    Marks)

    8

    a.

    i)

    Each

    eigen

    vector

    corresponding

    to

    a eigen value

    is (04

    Marls)

    A)

    unique

    B)

    no unique

    C)

    infinite

    D) None

    of

    these

    ii)

    The

    sum

    of

    the eigen

    values

    of the

    matrix

    is the

    sum

    of the elements

    of

    d. Find

    the rank

    of

    the

    Matrix

    "ro

    =

    []

    i

    : ;l

    14

    8 t2

    'ul

    Ll

    2

    3 4)

    [-t

    2

    c.

    Reduce

    the

    matrix

    A:

    i

    ,

    2

    L-1

    -t

    method.

    A)

    Anyrow

    C)

    diagonal

    B)

    Any

    column

    D)

    Any

    row

    and

    column.

    iii)

    A hornogeneous

    expression

    of the

    second

    degree in

    any number

    of variables is called

    A)

    linear

    form

    B) cubic

    form

    C)

    quadratic

    form

    D) None of these

    iv)

    Every

    square

    matrix

    satisfies its

    own

    "

    equation.

    A)

    quadratic

    B)

    cubic

    C)

    aigebraic

    D) characteristic

    b.

    Find

    the

    characteristics

    equation

    and eigen vector

    of the

    matrix

    lz I ll

    tt

    A:iO

    I

    0l

    [rtz)

    (06

    Marks)

    -21

    f

    I

    to

    the diagonal

    form

    using

    characteristic equation

    o

    I

    (o6l\{arks)

    d. Reduce

    the

    quadratic

    form

    l*

    +

    Sf

    *

    322

    -

    2yz

    +

    2zx

    -

    2zy

    to

    the canonicu,

    a*ion

    Marks)

    4of4

  • 8/10/2019 Chemistry s

    90/93

  • 8/10/2019 Chemistry s

    91/93

  • 8/10/2019 Chemistry s

    92/93

  • 8/10/2019 Chemistry s

    93/93