Soft junior programmer --- test subject (b)

1
in the CPU, used to perform arithmetic logic operations to provide data to ALU register and temporarily stores the calculation result is ().
Program counter
status register
general register
accumulator register
correct answer: D
Answer Analysis:
In the computing unit, the accumulation register is a specialized storage operands and results of arithmetic or logical operation of the register, and can add, subtract, read, shifted , complement cyclic shift and other operations, a major part of the operator.


3
Hamming code error detection using the parity and, k check bits by inserting between the n data bits, the encoded data symbols from the expansion. If n = 48, then k should be ().
. 4
. 5
6
. 7
correct answer: C
Answer Analysis:
n-and k satisfies the relationship:
2 + k ^ k-1≥n
problem of n = 48, k is 6 satisfy the above relation.


4
may generally be performed during an instruction fetch instructions into the computer system to analyze and execute instructions 3 steps. When the instruction fetch time 4Δt, analysis time is 2Δt. Execution time 3Δt, the time required from beginning to end in a sequential manner after executing instruction 600 as (please answer this Empty) [Delta] t; if performed in accordance with Article i, i + 1 analysis item, i + 2 read the first strip to overlap the instruction execution in a pipelined manner, from start to finish the time required to complete execution of instruction 600 () Δt.
2400
3000
3600
5400
The correct answer: D
Answer Analysis:
sequential manner need to perform a complete re-execute the next instruction after the execution, the execution time is required to perform a 4Δt + 2Δt + 3Δt = 9Δt, performing the required instruction 600 time 9Δt × 600 = 5400Δt.

5
is generally the process may be performed in a computer system is divided into instruction fetch, analyze and execute instructions 3 steps. When the instruction fetch time 4Δt, analysis time is 2Δt. Execution time 3Δt, the time required from beginning to end in a sequential manner after executing instruction 600 as () [Delta] t; if performed in accordance with the implementation of Article i, i + 1 analysis item, i + 2 read the first embodiment of the pipeline overlap instruction, from start to finish the time required to complete execution of instruction 600 (please answer this empty) Δt.
2400
2405
3000
3009
The correct answer: B
Answer Analysis:

If pipelining is used, the time 600 required for executing the execution of 4Δt × 600 + 2Δt + 3Δt = 2405Δt.


6
, if a 256K × 8bit memory chip, configured to address 40000000H 400FFFFFH and byte addressable memory area is required () sheet die.
. 4
. 8
16
32
correct Answer: A
Answer Analysis:
memory area from 40000000h to 400FFFFH, the number of bytes occupied for
400FFFFFH-100000H = 40000000h +. 1
= 0000 0000 0000 0000 0000B. 1 = 220 = 1024K
a 256K × 8 bit memory chip the storage capacity of 256KB, the number of chips required for the 1024divide256 = 4.


7
is assumed that the file management system uses inodes and inode has eight address entry iaddr [0] ~ iaddr [7 ], the size of each address entry 4B, iaddr [0] ~ iaddr [4] used in direct address index, IAddr [5] and iaddr [6] uses an indirect address index, iaddr [7] using two indirect address index. Suppose the disk index data block size and disk blocks are 1KB bytes, the file inode File1 shown below. If the user access files File1 logical block number information 261 and 5, the corresponding physical block number respectively (please answer this Empty); physical block number 101 is stored in ().
89 and 90
89 and 136
58 and 187
90 and 136
correct answer: C
Answer Analysis:
The meaning of the questions, the disk index block 1KB, the size of each address entry 4B, it can be stored for each disk block index 1024/4 = 256 physical block addresses. Inode file and because there are eight address, of which five index address item is a direct address, which means that the logical block number is a direct address index of 0 to 4; two address entries in the index is an indirect address, wherein a first physical block address is an item indicated an indirect address index table, which stores the logical block number from 5 to 260 corresponding to the physical block numbers, the physical block address of the second entry that is in one another is indirect address index table, which stores the logical block number 261 to 516 corresponding to the physical block number. The analysis was not difficult to see from the title figure, the logical block number of the information should be stored in 5 the physical block number 58, the logical block number 261 of the information should be stored in the physical block 187.


8
is assumed that the file management system uses inodes and inode has eight address entry iaddr [0] ~ iaddr [7 ], the size of each address entry 4B, iaddr [0] ~ iaddr [4] used in direct address index, IAddr [5] and iaddr [6] uses an indirect address index, iaddr [7] using two indirect address index. Suppose the disk index data block size and disk blocks are 1KB bytes, the file inode File1 shown below. If the user access files File1 logical block number information 261 and 5, the corresponding physical block number respectively (); 101 is stored in a physical block (please answer this empty).

File1 information
directly address index table
an index table address
two address index table
correct answer: D
Answer Analysis:
apparent from the title, IAddr [7] using two indirect address index, and the physical block IAddr [7] stored in the No. 101.1 are two address entries indirect address index, which means that the physical block address stored in the entry indicated 256 is an indirect address index table, it is stored in a physical block number 101 is the second indirect address direction chart.


9
in database design requirements analysis phase should form (please answer this space), these documents can be used as the design basis () phase.
Program documentation, data dictionary and data flow diagrams
demand documentation, program documentation and data flow diagrams
demand documentation, data dictionary and data flow diagrams
demand documentation, data dictionary and documentation procedures
correct answer: C
Answer Analysis:
database design is divided into user needs analysis, concept, logic design and physical structure of four stages. Wherein, the user needs analysis phase, the database designers to use certain auxiliary tool scientific analysis function, performance, limits, etc. required for the application object and form documentation requirements, data dictionary and data flow diagram.


10
In database design requirements analysis phase should be formed (), these documents can be used as (please answer this empty) phase of the design basis.
Logical structure design
concept design
physical design
database operation and maintenance of
the correct answer: B
Answer Analysis:
Related Documents user needs analysis phase formed the basis for designing a conceptual structure design.


11
A, B two software companies on July 12, 2012 on its financial application software products were, "UF" and "with the" trademark registration. Two financial software similar to Hill Classic for the first time in July 2009, B is the first time in May 2009. In this case, () can be allowed to register.
, "UF"
, "UF" and "with the" all
"with the"
determined by the A, B ballot results
correct answer: C
Answer Analysis:
"" Article 19 of the "People's Republic of China Trademark embodiment two or Regulation or more applicants, on the same or similar goods were identical or similar trademark application for registration on the same day, the applicants shall receive notification of the trademark Office to submit its application for registration before 30 days prior evidence of use of the mark is used or not used the same day, the applicants from the receipt of the notification, the trademark Office within 30 days of consultations among themselves and submit a written agreement and trademark Office; unwilling to negotiate or the negotiation fails, trademark Bureau notify the applicants by drawing lots to determine the applicant, rejected the application for registration of others. trademark Office has notified the applicant did not participate in the lottery, as a waiver application, the trademark Office shall notify the applicant did not participate in the lottery. "


12
Product relational model of a mall commodity database P (commodity code, commodity name, supplier, Information, inventory), functional dependencies F = {article code → trade name, (product code, supplier) → inventory, → Contact supplier}. Product P reaches relational schema (please answer this Empty); after decomposed into the relationship between mode (), the connector has a characteristic non-destructive, and can maintain functional dependency.
1NF
2NF
3NF
BCNF
correct answer: A
Answer Analysis:
According to all the attributes P relationship of parts meaning of the questions, the parts P relations (commodity code, suppliers) can be determined, so the primary key P relationship of parts for the (commodity code, supplier ); and because, according to the meaning of the questions (item code, supplier) → product name, product name and product code →, there is some dependency does not meet the 2NF, so the relationship model belongs to 1NF.


13
Product relational model of a mall commodity database P (commodity code, commodity name, supplier, Information, inventory), functional dependencies F = {article code → trade name, (product code, supplier) → inventory, → Contact supplier}. Product P reaches relational schema (); after the pattern is decomposed into the relationship between (Please answer this blank), having a characteristic lossless join, and can maintain functional dependency.
P1 (commodity code, contact information), P2 (trade name, supplier, inventory)
P1 (trade name, contact information), P2 (commodity code, vendors, inventory)
P1 (product code, product name, contact details ), P2 (suppliers, inventory)
P1 (product code, product name), P2 (commodity code, vendors, inventory), P3 (supplier, contact details)
The correct answer: D
answer Analysis:
As the relational schema P belong 1NF, 1NF inconsistency there is a large degree of redundancy, modify operation, insert and remove abnormal abnormal four questions. It is necessary to break down mode, wherein the P1∩P2 Option A, Option B, and Option C = ?, lossy connector decomposed, and the decomposed relation functional dependency is lost, as in Option A, P1 (commodity code, contact) relationship with the original F in the "product code → product" does not match, i.e., does not rely on holding function.


14
The following account of middleware software, the error is ().
Middleware standard interface associated with the application, providing specific functionality and services
using middleware can increase the portability of applications
using middleware application software designed to increase the complexity of
middleware help improve development productivity
correct answer: C
answer Analysis:
middleware is an independent system software or service program, distributed applications using this software to share resources between different technologies, middleware, located on the client-server operating systems, management of computing resources and Telecommunication.
The role of middleware is to provide operational and development environment for application software in their own upper, to help users develop and integrate software applications. It is not only to achieve interconnection, but also to achieve interoperability between applications.


15
the following statements about the structured development methodology, is not correct ().
Mapping the data streams for the software modules of the system architecture
in general, a converted stream including data stream type and transactional flow patterns
of different types of data streams with a different method of mapping
a software system only one type of data stream
correct answer: D
answer analysis :
structured analysis and design method is a method developed for the data stream, which data stream for the analysis and design models central building software. The structural design is the structured analysis (data flow graph) is mapped to the software architecture (FIG configuration).
According to the characteristics of the information flow, data flow graph may be converted into a data flow graph type and transactional data flow diagram, which maps are referred to the corresponding transformation analysis, transaction analysis.
In larger scale the actual system, the data flow graph is often converted transaction type and a mixed type structure, can now be analyzed and converting the transaction part of the same analysis used in the data flow graph.


16
module A provides a course grade to a class B module, module B calculates the average score, the highest and lowest points, the calculation result is returned to the modules A, B belonging to the module () module in the software structure of FIG.
Incoming
Outgoing
transform
coordinate
correct answer: C
Answer Analysis:
module type block configuration diagram as follows:
① incoming modules: the data acquisition module from subordinates, after some processing, and apply the result to the higher level module.
② outgoing module: obtaining data from a higher level module, after some processing, then its results to the subordinate modules.
③ transform module: also called processing module. It is made from the upper module data, for specific processing, conversion into other forms, before returning the upper module. It is referred to as processed data streams converted data stream.
④ coordination module: coordination and management modules for all subordinate modules. Such a module can be found in the data input and output section or the processing part of the system. In a good modular structure diagram, coordination module should appear at a higher level.


17
() software cost estimation model is a static single-variable model for estimating the entire software system.
Putnam
basic COCOMO
Intermediate COCOMO
detailed COCOMO
correct answer: B
Answer Analysis:
COCOMO with three different levels of the model to reflect the complexity of the different degrees, they are:
the basic model (Basic Model): is a static single-variable model, it uses the number of source lines of code have been estimated from a (LOC) as a function of independent variables to calculate the software development effort, in line with the content of this question.
Intermediate Model (Intermediate Model): in calculating basic software development effort as a function of the independent variables with the LOC, then the factors involved in terms of product, hardware, personnel, and other attributes of the project to adjust the estimated workload.
Detailed model (Detailed Model): includes all the features intermediate COCOMO type. But when adjusting these various factors workload estimates, the impact of each step of the software engineering process analysis, design, etc. should also be considered.


18
The following statements about progress management tool Gantt chart, is not correct ().
Can articulate the start time of each task, end time and duration of the
parallel relationship between tasks can clearly express
not clearly determine dependencies between tasks
can clearly identify the key tasks affect the progress of
the correct answer: D
answers Analysis:
Gantt chart (Gantt chart) the intrinsic idea is simple, that is by way of illustration shows the sequence of activities of any specific project duration through the active list and timescale vividly.
Basic is a line graph, the horizontal axis represents time and the vertical axis represents the activity (project), said it plans to line the entire period and the actual completion of activities.
It visually indicate when to plan tasks, and compare actual progress with the program requirements.
Managers thus can conveniently understand the task (project) which is left to be done, and to assess the progress of work.
Advantages: can clearly describe each task when to start, when to end, and the parallelism between the various tasks.
Disadvantages: can not clearly reflect the dependencies between tasks, it is difficult to determine the key to the whole project, it does not reflect the plan has the potential part.


19
project complexity, uncertainty of the size and structure of belonging () risk.
Project
Technical
Economic
Commercial
correct answer: A
Answer Analysis:
Project risk is the risk that could lead to a loss of uncertainty, Project Management guru Max Wideman would likely have an adverse impact to project objectives which is defined as the occurrence of a certain event sex.


20
The following programming languages () is more suitable for processing dynamic page.
HTML
LISP
PHP
the Java / C ++
correct answer: C
Answer Analysis:
HTML for handling static pages,
LISP is a λ calculus based functional programming language.
PHP is an open source general-purpose scripting language. Syntax absorbed the C language, Java, and Perl features conducive to learning, widely used, mainly for Web development. It can perform dynamic than the CGI or Perl pages more quickly. Compared with dynamic PHP pages made with other programming languages, PHP is embedded into HTML program (an application under the Standard Generalized Markup Language) document to execute, execute efficient than completely CGI generated HTML markup is much higher; PHP can also be performed after the compiled code, the compiler can optimize the code to achieve encryption and run, make the code run faster.
Java is an object-oriented can write cross-platform programming language application software. Java technology has excellent versatility, efficiency, platform portability, and security, widely used in personal PC, data center, game consoles, scientific supercomputers, cell phones and the Internet.
C ++ is a close to the bottom of the system integrated, and supports object-oriented programming paradigm programming language, suitable for the development of high efficiency requirements of the program, such as a large game, large-scale enterprise applications, systems applications.

Published 85 original articles · won praise 37 · views 40000 +

Guess you like

Origin blog.csdn.net/qq_39021393/article/details/92636172