軟件設(shè)計(jì)師當(dāng)天每日一練試題地址:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4
往期軟件設(shè)計(jì)師每日一練試題匯總:m.xiexiliangjiufa.com/class/27/e4_1.html
軟件設(shè)計(jì)師每日一練試題(2024/11/9)在線測(cè)試:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
點(diǎn)擊查看:更多軟件設(shè)計(jì)師習(xí)題與指導(dǎo)
軟件設(shè)計(jì)師每日一練試題內(nèi)容(2024/11/9)
試題1
給定一組長(zhǎng)度為 n 的無序序列,將其存儲(chǔ)在一維數(shù)組 a[0..n-1]中。現(xiàn)采用如下方法找出其中的最大元素和最小元素:比較 a[0]和 a[n-1],若 a[0]較大,則將二者的值進(jìn)行交換;再比較 a[1]和 a[n-2],若 a[1]較大,則交換二者的值;然后依次比較 a[2]和 a[n-3]、a[3]和 a[n-4]、…,使得每一對(duì)元素中的較小者被交換到低下標(biāo)端。重復(fù)上述方法,在數(shù)組的前 n/2 個(gè)元素中查找最小元素,在后 n/2 個(gè)元素查找最大元素,從而得到整個(gè)序列的最小元素和最大元素。上述方法采用的算法設(shè)計(jì)策略是 ( ) 。
A、動(dòng)態(tài)規(guī)劃法
B、貪心法
C、分治法
D、回溯法
查看答案
試題參考答案:C
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題2
中央處理器CPU中的控制器是由些基本的硬件部件構(gòu)成的。( )不是構(gòu)成控制器的部件。
A、時(shí)序部件和微操作形成部件
B、程序計(jì)數(shù)器
C、外設(shè)接口部件
D、指令寄存器和指令譯碼器
查看答案
試題參考答案:C
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題3
在13個(gè)元素構(gòu)成的有序表A[1..13]中進(jìn)行折半查找(或稱為二分查找,向下取整)。那么以下敘述中,錯(cuò)誤的是( )。
A.無論要查找哪個(gè)元素,都是先與A[7]進(jìn)行比較
B.若要查找的元素等于A[9],則分別需與A[7]、A[11]、A[9]進(jìn)行比較
C.無論要查找的元素是否在A[]中,最多與表中的4個(gè)元素比較即可
D.若待查找的元素不在A[]中,最少需要與表中的3個(gè)元素進(jìn)行比較
查看答案
試題參考答案:B
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題4
設(shè)有關(guān)系模式R(A1,A2,A3,A4,A5,A6),其中:函數(shù)依賴集F={A1→A2,A1A3→A4,A5A6→A1,A2A5→A6,A3A5→A6},則(1 )是關(guān)系模式R的一個(gè)主鍵,R規(guī)范化成都最高達(dá)到(2 )。
(1)A.A1A4
B.A2A4
C.A3A5
D.A4A5
(2)A. 1NF
B. 2NF
C. 3NF
D. BCNF
查看答案
試題參考答案:C、B
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題5
提高程序執(zhí)行效率的方法一般不包括( )。查看答案
試題參考答案:D
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題6
某二叉樹的先序遍歷序列為c a b f e d g,中序遍歷序列為a b c d e f g,則該二叉樹是( )。
A.完全二叉樹
B.最優(yōu)二叉樹
C.平衡二叉樹
D.滿二叉樹
查看答案
試題參考答案:C
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題7
以下關(guān)于白盒測(cè)試原則的敘述中,不正確的是( )。查看答案
試題參考答案:D
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題8
在開發(fā)一個(gè)系統(tǒng)時(shí),如果用戶對(duì)系統(tǒng)的目標(biāo)是不很清楚,難以定義需求,這時(shí)最好使用( )。
A、原型法
B、瀑布模型
C、V-模型
D、螺旋模型
查看答案
試題參考答案:A
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題9
there is nothing in this world constant but inconstancy.-SWIFT
Project after project designs a set of algorithms and then plunges intoconstruction of customer-deliverable software on a schedule that demands delivery of the first thing built.
In most projects, the first system built is (1) usable. It may be too slow, too big , awkward to use, or all three. There is no (2 ) but to start again, smarting but smarter and build a redesigned version in which these problems are solved. The discard and (3) may be done in one lump, or it may be done piece-by-piece. But all large-system experience shows that it will be done. Where a new system concept or new technology is used, one has to build a syste m to throw away, for even the best
planning is not so omniscient (全知的) as to get it fight the first time.
the management question, therefore, is not whether to build a pilot system and throw it away. You will do that. The only question is whether to plan in advance to build a (4).or to promise to deliver the throwaway to customers. Seen this way, the answer is much clearer. Delivering that throwaway to customers buys time, but it does so only at the (5) of agony (極大痛苦) for the user, distraction for the builders while they do the redesign, and a bad..reputation for the product that the best redesign will find hard to live down.
Henceplanto throw one away; you will,anyhow.
The management question, therefore, is not whether to build a pilot system and throw it away. You will do that. The only question is whether to plan in advance to build a throwaway, or to promise to deliver the throwaway to customers. Seen this way, the answer is much clearer. Delivering that throwaway to customers buys time, but it does so only at the cost of agony for the user, distraction for the builders while they do the redesign, and a bad reputation for the product that the best redesign will find hard to live down.
(1)A.almost
B.often
C.usually
D.barely
(2)A.alternative
B.need
C.possibility
D.solution
(3)A.design
B.redesign
C.plan
D.build
(4) A.throwaway
B.system
C.software
D.product
(5) A.worth
B. value
C. cost
D. invaluable
查看答案
試題參考答案:D、A、B、A、C
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
試題10
某計(jì)算機(jī)系統(tǒng)頁面大小為4K,進(jìn)程的頁面變換表如下所示。若進(jìn)程的邏輯地址為2D16H。該地址經(jīng)過變換后,其物理地址應(yīng)為()查看答案
試題參考答案:C
試題解析與討論:m.xiexiliangjiufa.com/exam/ExamDay.aspx?t1=4&day=2024/11/9
信管網(wǎng)訂閱號(hào)
信管網(wǎng)視頻號(hào)
信管網(wǎng)抖音號(hào)
溫馨提示:因考試政策、內(nèi)容不斷變化與調(diào)整,信管網(wǎng)網(wǎng)站提供的以上信息僅供參考,如有異議,請(qǐng)以權(quán)威部門公布的內(nèi)容為準(zhǔn)!
信管網(wǎng)致力于為廣大信管從業(yè)人員、愛好者、大學(xué)生提供專業(yè)、高質(zhì)量的課程和服務(wù),解決其考試證書、技能提升和就業(yè)的需求。
信管網(wǎng)軟考課程由信管網(wǎng)依托10年專業(yè)軟考教研傾力打造,教材和資料參編作者和資深講師坐鎮(zhèn),通過深研歷年考試出題規(guī)律與考試大綱,深挖核心知識(shí)與高頻考點(diǎn),為學(xué)員考試保駕護(hù)航。面授、直播&錄播,多種班型靈活學(xué)習(xí),滿足不同學(xué)員考證需求,降低課程學(xué)習(xí)難度,使學(xué)習(xí)效果事半功倍。
發(fā)表評(píng)論 查看完整評(píng)論 | |