st microelectronics 1

Upload: shwetabh-asthana

Post on 04-Jun-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 St Microelectronics 1

    1/4

    For Placement Papers & Interview Questions Of Other Companies, Register Athttp://o!spert"com

    Aptitude - General

    #$ %icroelectronics

    there were two papers" separate for the har'ware (electonics people)

    *" an' other for the software (comp)"

    #oftware paper

    $here were + sections the uestions in these sections were mi-e' with *.+ aptitu'e uestion,

    uestions on comp n/w & O# were .0, .* on C#O, ue on controls, on sampling theorem

    some on Comp Arch" & 'igital logic & .0 on C"

    section contains uestions

    section * contains + ue

    section + contains + ue ( total 1 + ue , mar2s1 34)

    All the + sections was compulsar5 an' u,ve to give a preference among the section * & sec + so

    that the weightage for the secon' one will get 'ou!le'" 6egative mar2ing was there"

    here are some of the ues which i remem!er

    " which conversion is not possi!le

    a" float to int

    !" int to float

    c" char to float

    '" all are possi!le

    Ans: '

    *" threa's have which thing in common

    a" register set

    !" 'ata section

    c" threa' i'

    '" """

    Ans : !

    +" one ue li2e

    main()

    7

    int -13, 58

    51 -9- 9 - 8

    // print - an' 5

    ;

    For

  • 8/13/2019 St Microelectronics 1

    2/4

    For Placement Papers & Interview Questions Of Other Companies, Register Athttp://o!spert"com

    =" A CP> has four group of instruction set A, ?, C, @

    CPI of A 1

    CPI of ?1+

    Cpi of c 1*

    cpi of '1 =

    the cpu access *4 of A, +4 of !, +4 of C an' *4 of @what will !e the average CPI"

    Ans: 9*4/44 +9 +4/44 *9 +4/44 =9 *4/44

    ( this ue was repeate' in section * & +)

    3 " a uestion on hit ratio n effective memor5 access time"

    B" main()

    7

    int a14,!13while ( ..!14 && a)

    7

    ..!8

    a8

    ;

    print (a)8

    print (!)8

    ;

    ans: a1B, !1.*

    " main()

    7

    char i8

    for (i148 iD1*338 i)

    7

    printf(EcE, i)8

    ;

    ;

    Ans: never en'ing loop

    0" One uestion on controls s5stems

    to fin' the transfer functn

    poles n eroes were given in a graph

    ans: s(s.*)/(s.+)(s.=)

    G" one uestion on sampling theorem, if sampling freuenc5 is fs then the signal having same

    characteistics will !e of freuenc5""""(in terns of fs)

    4" one on the signal to noise ratio. if the amplitu'e of the signal is re'uce' to half & 6 !its samples r use' with % uantitn level,

    For

  • 8/13/2019 St Microelectronics 1

    3/4

  • 8/13/2019 St Microelectronics 1

    4/4

    For Placement Papers & Interview Questions Of Other Companies, Register Athttp://o!spert"com

    G" !ela'5 anamol5 is relate' to"

    ans" page replacement algos

    *4"which one uses cache mechanism

    ans $H?

    *"what will happen in following co'e""

    signal(mute-)

    critical section

    wait(mute-)

    ans" violation of mutual e-clusion

    **"an RHC c2t was given, fuctioning of c2t to !e 'etermine'"

    a: will act li2e F%

    !: P%c:A%

    ': none of the a!ove

    *+"

    int i148

    switch(i)

    7

    case : printf(EhiE)8

    case 4: printf(EeroE)8

    case *: printf(Eworl'E)8;

    ans: eroworl'

    *="which one is the 'eclaration of static string

    a: static string

    !: ,static string,

    c: Estatic stringE

    ':char sting+4J

    *3"a ue on file han'ling in c

    a: file cant !e opene'

    !:msg"t-t is copie' to msg

    c:onl5 first string !e copie'

    ':

    *B" which of the fuction will store a 44 char string in K

    a: frea'(-,44,"""")

    !" frea'(44,-,""""""")

    c"gets(-)'"rea'(-)

    For