欧美在线观看www-欧美在线观看高清一二三区-欧美在线观看网站-欧美在线观看网址-国产高清在线精品免费-国产高清在线精品一区二区

當前位置:高考升學網 > 招聘筆試題 > 正文

微軟2019校長筆試真題及答案(三)

更新:2023-09-13 09:21:59 高考升學網
  題目五:   Questions #1   1) How would you calculate the hash value of a string?   2) List two major requirements of a hashing function   Questions #2: Logical exPssions   Assuming A, B, C are conditions. You can write logical exPssion that yields specific results. For example,   A   B   Result   0   0   0   0   1   1   1   0   1   1   1   1   ExPssion “   A or B” will give above result   A   B   Result   0   0   0   0   1   1   1   0   0   1   1   0   ExPssion “   (not A) and B” will give above result   Please write the simplest logical exPssion that will give the following results (using only   and, or, not operators)   A   B   C   Result   0   0   0   0   0   0   1   1   0   1   0   1   0   1   1   0   1   0   0   1   1   0   1   0   1   1   0   0   1   1   1   1   ExPssion:   A   B   C   Result   0   0   0   0   0   0   1   0   0   1   0   1   0   1   1   1   1   0   0   0   1   0   1   1   1   1   0   0   1   1   1   1   ExPssion:   Please rewrite the following If statements (in C) into just one If statement   For example,   if ( a > 10 )   {   if ( b < 5 )   {   Run();   }   }   can be rewritten as if ( a > 10 && b < 5 ) { Run(); }   Please rewrite the following if statement:   if ( a > 10 && b < 5)   {   if ( a > 15 )   {   Run();   }   }   else if ( b > 6 )   {   Run();   }   Questions #3   Please write a function in C to copy one string to another, while return the largest letter in the string. Please do not use any C runtime function.   char StringCopy( char pszSrc, char pszDst, int maxSize )   pszSrc: points to the source string   pszDst: points to the target string, where source string will be copied to   maxSize: max. number of characters allowed to be copied   The following code will display “Z”   char sz[100];   char ch;   ch = StringCopy( “Test Zoo”, sz );   printf( ch );   Questions #4   Binary tree can be used for storing and searching data. Please draw a binary tree, constructed by entering the following numbers in sequence:   8, 3, 10, 50, 9, 20, 1, -5, 2, 70, 35, 45, -10, 49, 0   Please draw a balanced binary tree using the same set of numbers as above.   Questions #5   Please define the data structure required to store a linked list of integer and write a routine to delete an integer from a given linked list of integers.   Questions #6   Please explain the difference between array and link-list.   If you are asked to implement a stack, will you use array, or link-list, or both? What are the limitations of using each one?   Questions #7 (Windows Programming)   What is a message pump in Windows?   Please list names of Windows message that is sent when:   A window is created: ______________________   A window needs to be painted: ______________________   A window is destroyed: ______________________

最新圖文

2020年河北新聞網兩學一做

時間:2023-09-18 07:0:24

2020年河北新聞網兩學一做

時間:2023-09-15 11:0:59

兩學一做學習教育知

時間:2023-09-21 06:0:30

2020年開展兩學一做學習教

時間:2023-09-19 21:0:30
主站蜘蛛池模板: 日韩二级片 | 免费高清精品国偷自产在线 | 色视频免费在线观看 | 免费一级毛片不卡在线播放 | 精品三级在线观看 | 国产精品免费观看 | 99久久久国产精品免费播放器 | 日韩在线视频在线 | 国产亚洲欧美在线播放网站 | 在线观看免费小视频 | 四虎影视精品 | 精品久久久久久国产免费了 | 天天干天天操天天射 | 欧美啄木乌成人系列影片 | 精品国精品自拍自在线 | 麻豆久久 | 免费一级毛片能看的 | 日韩福利网站 | 男人天堂亚洲 | 精品欧美一区二区三区精品久久 | 2020国产麻豆剧传媒 | 激情天堂 | 五月婷婷久久综合 | 污污网站免费观看 | 啦啦啦资源在线观看视频4 啦啦啦资源视频在线观看4 | 狠狠狠色丁香婷婷综合激情 | 国产精品国产国产aⅴ | 国产二三区 | 花季v3.351| 9久9久女女热精品视频免费观看 | 免费lulu网站 | 欧美亚洲视频在线观看 | 明星大侦探第四季免费可投屏 | 欧美日韩一区二区三区色综合 | 亚洲人免费 | 窝窝午夜在线观看免费观看 | 国产一级成人毛片 | 扒丝袜basiwa影院首页 | 狠狠夜夜| a级片免费在线播放 | 成人欧美精品一区二区不卡 |