軟件設計師當天每日一練試題地址:www.jazzmuze.com/exam/ExamDay.aspx?t1=4
往期軟件設計師每日一練試題匯總:www.jazzmuze.com/class/27/e4_1.html
軟件設計師每日一練試題(2021/10/6)在線測試:www.jazzmuze.com/exam/ExamDay.aspx?t1=4&day=2021/10/6
點擊查看:更多軟件設計師習題與指導
軟件設計師每日一練試題內容(2021/10/6)
試題
1:
在面向對象軟件開發(fā)過程中,采用設計模式( )。
A、允許在非面向對象程序設計語言中使用面向對象的概念
B、以復用成功的設計和體系結構
C、以減少設計過程創(chuàng)建的類的個數
D、以保證程序的運行速度達到最優(yōu)值
試題解析與討論:
www.jazzmuze.com/st/78472702.html試題參考答案:B
試題
2:
軟件的互操作性是指( )。
A、軟件的可移植性
B、人機界面的可交互性
C、連接一個系統(tǒng)和另一個系統(tǒng)所需的工作量
D、多用戶之間的可交互性
試題解析與討論:
www.jazzmuze.com/st/76312627.html試題參考答案:C
試題
3:
對于線性表(由n個同類元素構成的線性序列),采用單向循環(huán)鏈表存儲的特點之一是()。
A.從表中任意結點出發(fā)都能遍歷整個鏈表
B.對表中的任意結點可以進行隨機訪問
C.對于表中的任意一個結點,訪問其直接前驅和直接后繼結點所用時間相同
D.第一個結點必須是頭結點
試題解析與討論:
www.jazzmuze.com/st/2471625311.html試題參考答案:A
試題
4:
在支持多線程的操作系統(tǒng)中,假設進程P創(chuàng)建了若干個線程,那么( )是不能被這些線程共享的。
A.該進程中打開的文件
B.該進程的代碼段
C.該進程中某線程的棧指針
D.該進程的全局變量
試題解析與討論:
www.jazzmuze.com/st/2526720593.html試題參考答案:C
試題
5:
進程P1、P2、P3、P4和P5的前趨圖如下所示:

若用PV操作控制進程P1、P2、P3、P4和P5并發(fā)執(zhí)行的過程,則需要設置5個信號量SI SZ 53 54和S5,且信號量S1~S5的初值都等于零,下圖中a、b和c處應分別填寫( );d和e處應分別填寫( ),f和g處應分別填寫( )

1、A.V(S1) P(S1)和 V(S2) V(S3)
B.P(S1) V(Sl)和 V(S2) V(S3)
C.V[Sl) V(S2)和 P(S1) V(S3)
D.P(S1) V(S2)和 V(S1) V(S3)
2、A.V(S2)和 P(S4)
B.P(S2)和V(S4)
C.P(S2)和 P(S4)
D. V(S2)和 V(S4)
3、A. P(S3)和 V(S4)V(S5)
B. V(S3)和 P(S4)P(S5)
C. P(53)和 P(S4)P(S5)
D. V(53)和 V(S4)V(S5)
試題解析與討論:
www.jazzmuze.com/st/2547727625.html試題參考答案:A、B、C
試題
6:
對一待排序序列分別進行直接插入排序和簡單選擇排序,若待排序序列中有兩個元素的值相同,則()保證這兩個元素在排序前后的相對位置不變。
A.直接插入排序和簡單選擇排序都可以
B.直接插入排序和簡單選擇排序都不能
C.只有直接插入排序可以
D.只有簡單選擇排序可以
試題解析與討論:
www.jazzmuze.com/st/249669059.html試題參考答案:C
試題
7: The project workbook is not so much a separate document as it is a structure imposed on the documents that the project will be producing anyway.
All the documents of the project need to be part of this (?。? This includes objectives ,external specifications , interface specifications , technical standards , internal specifications and administrative memoranda(備忘錄).
Technical prose is almost immortal. If one examines the genealogy ( Ff ) of a customer manual for a piece of hardware or software , one can trace not only the ideas , but also many of the very sentences and paragraphs back to the first ( ) proposing the product or explaining the first design. For the technical writer, the paste-pot is as mighty as the pen.
Since this is so, and since tomorrow's product-quality manuals will grow from today’s memos, it is very important to get the structure of the documentation right. The early design of the project (?。?ensures that the documentation structure itself is crafted, not haphazard. Moreover, the establishment of a structure molds later writing into segments that fit into that structure.
The second reason for the project workbook is control of the distribution of (請作答此空). The problem is not to restrict information, but to ensure that relevant information gets to all the people who need it.
The first step is to number all memoranda, so that ordered lists of titles are available and h worker can see if he has what he wants. The organization of the workbook goes well beyond this to establish a tree-structure of memoranda. The ( ) allows distribution lists to be maintained by subtree, if that is desirable.
A.product
B.manual
C.document
D.information
試題解析與討論:
www.jazzmuze.com/st/4076428479.html試題參考答案:D
試題
8:
某程序運行時陷入死循環(huán),則可能的原因是程序中存在( )。
A.詞法錯誤
B.語法錯誤
C.動態(tài)的語義錯誤
D. 靜態(tài)的語義錯誤
試題解析與討論:
www.jazzmuze.com/st/2528112544.html試題參考答案:C
試題
9: 在高級語言源程序中,常需要用戶定義的標識符為程序中的對象命名,常見的命名對象有()
①關鍵字(或保留字)②變量③函數④數據類型⑤注釋
A.①②③
B.②③④
C.①③⑤
D.②④⑤
試題解析與討論:
www.jazzmuze.com/st/392873294.html試題參考答案:B
試題
10:
在白盒測試法中,(1)是最弱的覆蓋準則。圖2-5至少需要(2)個測試用例才可以完成路徑覆蓋,語句組2不對變量i進行操作。

(1) A.語句
B.條件
C.判定
D.路徑
(2) A.1
B.2
C.3
D.4
試題解析與討論:
www.jazzmuze.com/st/247616854.html試題參考答案:A、C