看板 NTUBIME103HW 關於我們 聯絡資訊
※ 引述《ss355227 (前祐)》之銘言: : 我去考古題區找了一下考古題 : ㄜ 其實我不太確定答案XD : 有很確定的想分享的也可以來阿!! : 題目~~ : True/False : Indicate whether the sentence or statement is true or false. : 1.Computers are designed to respond to heuristic commands. 電腦是設計成用來回應試誤指令的 應該是要精準的指令吧 這個我也看不太懂.. : 2.Any number of statements using the cin object may be made in a program,but : only one value may be input using a single cin statement. 任何數字的敘述都可以用cin輸入,但是1個cin只能輸入1個數值 : 3.The use of braces to enclose a set of individual statements creates a single : block of statements,which may be used anywhere in a C++ program in place of : a single statement. brace是指{}吧 就是可以弄成個別的區塊 裡面是個獨立的東西 : 4.In C++ a variable or symbolic constant must be declaed before it is used. 在C++裡面變數要在使用之前宣告(In fact在c 要在最前面宣告 c++是改過的) : 5.The relationship 3<4 is always true,therefoe the elationship has a value of : 0. 3<4的關係是正確的 所以這個關係的值是0 (應該是1吧) 1-> true 0-> false : Multiple Choice 選擇題 : Identify the letter of the choice that best completes the statement or answers : the question. : 6.Any expression that is terminated by a ____ becomes a C++ statement. : (a)colon (b)semicolon (c)curly bracket (d)period 任何敘述用_____結尾的是個C++敘述 (b)分號 terminate是終結的意思 魔鬼終結者就是terminator 火車的終站也叫terminal : 7.The value of 1.625e3 is ____ . : (a).001625 (b)162.500 (c)1625 (d)1625000 1.625e3 就是1.625*10^3 按計算機就知道 : 8.Relational expressions are also called ____. : (a)options (b)choices (c)conditions (d)paths 關係敘述又叫做 狀況 其實我不是很確定XD : 9.When the ++ operator appears before a variable,it is called a(n) ____ : increment operator. : (a)leading (b)prefix (c)ordered (d)postfix ++放在變數前面的叫做 prefix pre-就是在..之前的意思 post是在... 之後的意思 : 10.Compile errors are also referred to as ____ errors. : (a)programming (b)execution (c)syntax (d)punctuation Compile errors是編譯錯誤 通常是語法有錯 syntax就是語法的意思 另一種叫做runtime errors(=execution errors) 語法沒錯不一定代表邏輯沒錯 邏輯錯會造成執行時的錯誤 就叫做runtime errors 語法錯誤不會造成runtime errors因為在compile的時候就出錯了 : 出題方式好像是題庫隨機抓題?? : 好啦答案就請會的人來說吧XD : 我大概只確定幾題選擇而已 囧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.161.71.132 ※ 編輯: steve1012 來自: 118.161.71.132 (10/18 22:43)
ss355227:cin 好像可以一次輸入多個數值 10/18 23:11
ss355227:cin>>a>>b>>c 之類的 10/18 23:11
sky2857:but要用空白或enter區隔 10/18 23:19
sky2857:欸版主可以改版標吧>>[C++][普物][工圖]這樣吧 10/19 00:21
randysuen:維峻真神人 這是去年考古嗎?? 10/19 13:39
yangwen5301:1.第一題的答案是algorithm commands 10/19 20:25
yangwen5301:2.第二題的cin輸入數值取決於後面使用者所決定的值量 10/19 20:28
yangwen5301:3.Relational Expressions是數學的關係式 10/19 20:33
yangwen5301: 與condition"條件"較為相近 10/19 20:34
yangwen5301:brace可以確保包含在內的運算式指受其母指令控制 10/19 20:36
yangwen5301:也使得母指令可以控制道除了本身底下第一行以外的指令 10/19 20:36
yangwen5301:補充一下第一題,computer是拿來compute的 10/19 20:43
yangwen5301:所以是拿來算數學(algorithm)的機器 10/19 20:44
steve1012:叫freezing ice改..我不會弄== 10/19 21:36
sky2857:阿好我說的是文章種類不是版標~ 10/19 23:06
freezingice:DONE 10/19 23:09
sky2857:欸欸不只阿多加幾個~~((雖然可以自己調~ 10/19 23:59
freezingice:要哪幾個說一說阿= = 10/20 02:30
sky2857:哈哈來投票/你自己決定八你版主欸XD 10/20 17:21