The hottest in April, 2005, national computer grad

2022-08-11
  • Detail

In April, 2005, the national computer grade examination level II VB written examination paper (including reference answers)

I. multiple choice questions ((1) ~ (35) 2 points per small question, a total of 70 points)

the following questions a, B, C, d), only one of the four options is correct. Please write the correct option on the corresponding position of the answer sheet, and answer on the test paper without score

(1) the storage structure of data refers to

a) the data stored in external memory B) the amount of storage space occupied by the data

c) the sequential storage mode of data in the computer d) the representation of the logical structure of data in the computer

(2) the error in the following description of the stack is

a) the stack is a first in last out linear table b) the stack can only be stored in sequence

c) the stack has memory function d) in the insertion and deletion operation of the stack, There is no need to change the pointer at the bottom of the stack

(3) for a linear table with length N, in the worst case, the correct comparison times corresponding to the following sorting methods are

in order to understand the characteristics and control costs of their own products. A) bubble sort is n/2b) bubble sort is n

c) quick sort is nd) quick sort is n (n-1)/2

(4) search the linear table with length N in sequence, In the worst case, the number of comparisons required is

a) log2nb) n/2c) nd) n+1

(5) the correct description of the linear linked list below is

A) the storage space is not necessarily continuous, and the storage order of each element is arbitrary

b) the storage space is not necessarily continuous, and the former element must be stored in front of the latter element

C) the storage space must be continuous, And the former element must be stored in front of the latter element

d) the storage space must be continuous, And the storage order of each element is arbitrary

(6) the correct one in the following description of software testing is

a) the purpose of software testing is to prove whether the program is correct

b) the purpose of software testing is to make the program run correctly

c) the purpose of software testing is to find as many errors in the program as possible

d) the purpose of software testing is to make the program conform to the structural principle

(7) in order to make the module as independent as possible, Requirements

a) the degree of cohesion of modules should be as high as possible, and the coupling degree between modules should be as strong as possible

b) the degree of cohesion of modules should be as high as possible, and the coupling degree between modules should be as weak as possible

c) the degree of cohesion of modules should be as low as possible, and the coupling degree between modules should be as weak as possible

d) the degree of cohesion of modules should be as low as possible, And the coupling degree between each module should be as strong as possible

(8) the correct one in the following description is

A) program is software

b) software development is not limited by computer system

C) software is both a logical entity and a physical entity

d) software is a collection of programs, data and related documents

(9) data independence is one of the important characteristics of database technology. The so-called data independence refers to

a) data and programs are stored independently

b) different data are stored in different files

c) different data can only be used by corresponding applications

d) the above three statements are incorrect

(10) the model of using tree structure to represent the relationship between entities is

a) relationship model B) shape model C) hierarchical model d) the above three are

11 Draw a text1 text box and a command1 command button on the form (named form1), and then write an event process. After the program runs, if you enter a character in the text box, set the title of the command button to "computer grade examination". The following event processes that can realize the above operations are:

a) private sub text1_ Change()

Command1. Output result caption= "computer grade examination"

end sub

b) private sub command1_ Click()

caption= "computer grade examination"

end sub

c) private sub form1_ Click()

option= "computer grade examination"

end sub

d) private sub command1_ Click()

xt= "computer grade examination"

end sub

(12) set a=5, b=4, c=3, d=2, the value of the following expression is

3 2*b or a=c and B C or C d

a) 1b) truec) false) 2

(13) set a= "microsoftvisualbasic", Then the following statement that makes the value of variable b "VisualBasic" is

a) b=left (a, 10)

b) b=mid (a, 10)

c) b=right (a, 10)

d) b=mid (a, 11,10)

(14) assume the following form event process:

private sub form_ Click()

a$= "Microsoft Visual Basic"

b$= right (a$, 5)

c = mid (a$, 1, 9)

msgbox now the spring testing machines on the market are mainly divided into three categories: a$, 34, b$, c$, 5

end sub

click the form after the program runs, and the information displayed in the title bar of the pop-up information box is:

a) Microsoft visual

b) Microsoft.

c) basic

d) 5

(15) set a= "a", b= "B", c= "C", D= "the normal protection of the spring testing machine cannot be loosened D", after executing the statement x=iif ((AD), "a", "B"), the value of X is:

a) "a"

b) "B"

c) "B"

d) "a"

(16) in order to move the command button (name is command1) 200 to the right, the statement that should be used is

a) ve -200

b) ve 200

c) ft= ft + 200.

d) command1

Copyright © 2011 JIN SHI