<dfn id="w48us"></dfn><ul id="w48us"></ul>
  • <ul id="w48us"></ul>
  • <del id="w48us"></del>
    <ul id="w48us"></ul>
  • 德爾福筆試題目軟件類

    時間:2024-09-18 20:54:05 面試筆試 我要投稿
    • 相關推薦

    德爾福筆試題目(軟件類)

    1.how do you code an infinite loop in c?

    德爾福筆試題目(軟件類)

    2. volatile:

    a) what does the keyword volatile mean? give an example

    b) can a parameter be both const and volatile? give an example

    c) can a pointer be volatile? give an example

    3. what are the values of a, b, and c after the following instructions:

    int a=5, b=7, c;

    c = a+++b;

    4, what do the following declarations mean?

    a) const int a;

    b) int const a;

    c) const int *a;

    d) int * const a;

    e) int const * a const;

    5. which of the following statements describe the use of the keyword static?

    a) within the body of a function: a static variable maintains its value between function revocations

    b) within a module: a static variable is accessible by all functions within that module

    c) within a module: a static function can only be called by other functions within that module

    6. embedded systems always require the user to manipulate bits in registers or variables. given an integer variable a, write two code fragments.

    the first should set bit 5 of a. the second shnuld clear bit 5 of a. in both cases, the remaining bits should be unmodified.

    7. what does the following function return?

    char foo(void)

    {

    unsigned int a = 6;

    iht b = -20;

    char c;

    (a+b > 6) ? (c=1): (c=0);

    return c;

    }

    8. what values are printed when the following c program is executed?

    int i = 8;

    void main(void)

    (

    9. what will be the output of the following c code?

    main()

    {

    int k, num= 30;

    k =(num > 5 ? (num <=10 ? 100:200): 500);

    printf("%d", k);

    }

    10. what will the following c code do?

    int *ptr;

    ptr =(int *)ox67a9;

    ptr = oxaa55;
    11. what will be the output of the follow c code?

    define product(x) (x*x)
    main()

    {

    int i = 3, j, k;

    j = product(i++);

    k = product(++i);

    printf("%d %d",j,k);

    }

    12. simplify the following boolean expression!((i 12) || (j > 15))

    13. how many flip-flop circuits are needed to divide by 16?

    14. provides 3 properties that make an os, a rtos?

    15. what is pre-emption?

    16. assume the bc register value is 8538h, and the de register value is 62a5h.find the value of register bc after the following assembly operations:

    mov a,c

    sub e

    mov c,a

    mov a,b

    sbb d

    mov b,a

    17.in the assembly code shown below

    loop: mvi c,78h

    dcr c

    jnz loop

    hlt

    how many times is the dcr c operation executed?

    18.describe the most efficient way(in term of execution time and code size) to divide a number by 4 in assembly language

    19.what value is stored in m in the following assembly language code fragment if n=7?

    ldaa #n

    label1: cmpa #5

    bhi l3

    beq l2

    deca

    bra l1

    label2: clra

    label3: staa #m

    20. what is the state of a process if a resource is not available?

    define a 365*24*60*60
    21. using the #define statement, how would you declare a manifest constant that returns the number of seconds in a year? disregard leap years in your answer.

    22. interrupts are an important part of embedded systems. consequently, many compiler vendors offer an extension to standard c to support interrupts.typically, the keyword is __interrupt. the followingroutine (isr). point out problems in the code.__interrupt double compute_area (double radius)

    {

    double area = pi * radius * radius;

    printf(" area = %f", area);

    return area;

    【德爾福筆試題目軟件類】相關文章:

    德爾福筆試(軟件類)05-24

    德爾福的全英筆試題目08-02

    德爾福英文筆試題目分享06-13

    德爾福筆試題(機械類)10-25

    中興軟件筆試題目05-01

    東華軟件筆試題目09-26

    最新德爾福機械類 筆試題分享08-22

    熱門IT軟件的筆試題目分享08-19

    軟件公司筆試題目10-04

    德爾福筆試經驗總結06-17

    主站蜘蛛池模板: 国语自产精品视频在线区| 日韩欧精品无码视频无删节| 亚洲国产综合精品一区在线播放| 国内精品人妻无码久久久影院| 最新国产乱人伦偷精品免费网站| 亚洲精品高清在线| 99热成人精品免费久久| 91精品国产高清91久久久久久| 国内精品在线视频| 日韩精品无码一区二区三区免费 | 99re6这里有精品热视频| 久久乐国产精品亚洲综合| 99久久伊人精品综合观看| 91精品国产综合久久久久久| 亚洲精品国产日韩无码AV永久免费网| 国产精品日韩AV在线播放 | 久久精品免费网站网| 久久国产精品99久久久久久老狼| 精品人妻一区二区三区毛片| 一本久久a久久精品综合夜夜| 四虎永久在线精品免费一区二区| 久久精品aⅴ无码中文字字幕不卡 久久精品aⅴ无码中文字字幕重口 | 永久免费精品影视网站| 久久久久九九精品影院| 精品人妻伦九区久久AAA片69| 热re99久久6国产精品免费| 日韩精品无码Av一区二区| 久久精品亚洲福利| 国产亚洲精品影视在线产品| 国产精品无码免费专区午夜| 国产高清精品一区| 国产成人精品日本亚洲专区| 97精品国产自在现线免费观看| 亚洲AV无码成人精品区在线观看 | 久久久久久亚洲Av无码精品专口| 亚洲综合一区二区精品导航| 欧美日韩精品一区二区在线播放| 亚洲欧美日韩国产一区二区三区精品| 国产精品福利一区二区| 国产精品欧美一区二区三区不卡| 亚洲精品无码AV中文字幕电影网站|