【系統公告】頁面上方功能列及下方資訊全面更換新版,舊用戶可再切回舊版。 前往查看

未分類題庫下載題庫

上一題
【已刪除】設n為一2的正整數次方,則下面程式執行後,count的值為多少? 
Procedure exam(n:interger) 
Var x,count :integer; 
begin count :=0; x:= 2; 
while x < n 
    do begin x:= 2 * x; 
    count := count +1; 
end 
writeln(count); 
end 
※檔案遺失,無法提供完整題目

(E)送分


答案:登入後觀看
難度: 非常困難
1F
【站僕】摩檸Morning 國三下 (2020/09/07)

原本題目:

【已刪除】設n為一2的正整數次方,則下面程式執行後,count的值為多少? Procedure exam(n:interger) Var x,count :integer; begin count :=0; x:= 2; while x < n do begin x:= 2 * x; count := count +1; end writeln(count); end 

※檔案遺失,無法提供完整題目

.

修改成為

設n為一2的正整數次方,則下面程式執行後,count的值為多少? 

Procedure exam(n:interger) 
Var x,count :integer; 
begin count :=0; x:= 2; 
while x < n 
    do begin x:= 2 * x; 
    count := count +1; 
end 
writeln(count); 
end 
※檔案遺失,無法提供完整題目
2F
【站僕】摩檸Morning 國三下 (2020/09/07)
原本答案為99,修改為E
3F
【站僕】摩檸Morning 國三下 (2020/09/07)

原本題目:

【已刪除】設n為一2的正整數次方,則下面程式執行後,count的值為多少? 

Procedure exam(n:interger)  Var x,count :integer;  begin count :=0; x:= 2;  while x < n      do begin x:= 2 * x;      count := count +1;  end  writeln(count);  end ※檔案遺失,無法提供完整題目

.

修改成為

設n為一2的正整數次方,則下面程式執行後,count的值為多少? 

Procedure exam(n:interger)  Var x,count :integer;  begin count :=0; x:= 2;  while x < n      do begin x:= 2 * x;      count := count +1;  end  writeln(count);  end ※檔案遺失,無法提供完整題目 (E)送...
查看完整內容

【已刪除】設n為一2的正整數次方,則下面程式執行後,count的值為多少?&nb..-阿摩線上測驗