欧美在线观看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 expressions   Assuming A, B, C are conditions. You can write logical expression that yields specific results. For example,   A   B   Result   0   0   0   0   1   1   1   0   1   1   1   1   Expression “   A or B” will give above result   A   B   Result   0   0   0   0   1   1   1   0   0   1   1   0   Expression “   (not A) and B” will give above result   Please write the simplest logical expression 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   Expression:   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   Expression:   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
主站蜘蛛池模板: 久久久久四虎国产精品 | 麻豆高清在线 | 欧美经典成人在观看线视频 | 日韩在线欧美在线 | 亚洲麻豆视频 | 99r8这是只有精品视频9 | 日韩一级黄色大片 | 欧美日韩精品高清一区二区 | 日本xxxxx高清免费观看 | 久久久久逼| 德国一级毛片 | 好男人www免费高清视频在线 | 91最新地址| 婷婷丁香七月 | 热99re久久精品这里都是免费 | 国产麻豆剧传媒精品好看的片 | 国产免费小视频在线观看 | 国产中文字幕第一页 | 四虎成人免费视频 | 亚洲福利影院 | 亚洲视频456 | 久久成人亚洲香蕉草草 | 麻豆国产福利91在线 | 91精品国产一区二区三区左线 | 国产精品四虎 | 91免费福利视频 | 国产在线精品一区二区高清不卡 | 黄色免费网站大全 | 欧美亚洲激情在线 | 国产福利在线观看永久视频 | 99久久精品男女性高爱 | 91视频久久 | 国产精品视频福利一区二区 | 欧美精品一区二区三区在线 | 精品成人 | 久久久亚洲精品蜜桃臀 | 亚洲欧美日本欧美在线播放污 | 国产精品自在欧美一区 | 精品视频香蕉尹人在线 | 国产yin乱大巴视频 国产xx在线观看 | 四虎网址最新 |