阿摩線上測驗 登入

最新科目

最新試卷

115年 - 115-2 專技高考_牙體技術師:牙體技術學(四)(包括牙科矯正技術學、兒童牙科技術學及牙技法規與倫理學科目)#142827(50題)

115年 - 115 專技高考_諮商心理師:個案評估與心理衡鑑#142826(43題)

115年 - 115 專技高考_法醫師:法醫法規、倫理與公共衛生#142825(4題)

115年 - 115-2 專技高考_牙體技術師:牙體技術學 (三) (包括全口活動義齒技術學 、 活動局部義齒技術學科目)#142824(50題)

115年 - 115 專技高考_諮商心理師:團體諮商與心理治療#142823(43題)

115年 - 115-2 專技高考_牙體技術師:牙體技術學(一)(包括口腔解剖生理學、牙體形態學及牙科材料學科目)#142822(50題)

115年 - 115-2 專技高考_牙體技術師:牙體技術學(二)(包括固定義齒技術學科目)#142821(50題)

115年 - 115-2 專技高考_臨床心理師:臨床心理學特論(三)(包括飲食障礙之心理衡鑑與心理治療、精神官能症之心理衡鑑與心理治療、壓力身心反應與健康行為)#142803(43題)

115年 - 115-2 專技高考_臨床心理師:臨床心理學特論(二)(包括心智功能不全疾病之心理衡鑑與心理治療、精神病之心理衡鑑與心理治療、兒童與青少年發展障礙之心理衡鑑與心理治療)#142802(45題)

115年 - 115-2 專技高考_臨床心理師:臨床心理學特論(一)(包括自殺之心理衡鑑與防治、暴力行為之心理衡鑑與心理治療、物質濫用與依賴之心理衡鑑與心理治療、性格與適應障礙之心理衡鑑與心理治療)#142801(44題)

最新試題

最新申論題

5. (16%) 使用 stack 實作 老鼠走過言問題 (Maze path search),運用 C 語言程式:void path(){ // assume int maze30 and offsets move[8] has been set in main function// typedef struct {int v; int h;} offsets;int i, row, col, nextrow, nextcol, dir, found = 0, top =0, mark30;typedef struct { int row; int col; int dir;} elementelement position, stack[100];mark1 = 1; stack[0].row = 1; stack[0].col = 1; stack[0].dir = 0;//實作以下敘述// Use stack to get current row, col, dir// Use dir to calculate nextrow, nextcol// Use nextrow, nextcol to check this move (1) arrive exit, or// (2) become a legal move; add this move into the stack, or// (3) check other dir}

4. (10%) 使用 queue 實作 level order traversal 轉換,運用以下 C 語言程式:void level_order (tree *root) { //assume root is not nullnode front, rear;//實作以下敘述// visit tree nodes based on level order by using queue// use queue by front, rear, enqueue(&rear, root), root =dequeue(&front)// print the values of tree nodes// describe the ending condition}

3. (8%)使用 linked list 實作 stack,運用以下 C 語言程式:typedef struct node { int value; node *next;}void push (node **top, int new_value) { // assume top is not nullnode new_node = (node ) malloc (sizeof (node));// (A) 實作以下敘述// add new_node to stack by top}int pop (node **top) { // assume top is not nullint value;node deleting_node = top;// (B) 實作以下敘述// remove the deleting node from stack, get the value of deleting nodefree(deleting_node);return value;}

最新課程

最新主題筆記

最新討論