1. For the written test:
The content of the test questions for the Level 2 VB exam is very detailed. There are no complex algorithm questions. At most, they are just some seemingly complex (actually very regular) cycle questions. . So, what we have to do is:
1: Read (understand) the content of the textbook according to the outline.
2: Do some exam questions from past years. According to the author’s experience, there will be some repeated or similar questions in the exam questions every year. Of course, the most important thing is that after completing several sets of test questions in recent years, you will have a "good idea" of the test content, and you will naturally know what is the key point and what should be reviewed, so that you can be targeted.
3: Solve questions based on special question types and key content.
2. For the computer-based test:
Two words, do the questions. You can take the test questions from the past two to four times. Of course, we have to have a correct attitude when doing the questions, because no one can guarantee that the questions you are taking in the future will definitely be on the questions you are doing now (of course, there are always half of the people who are so lucky, haha). The reason for doing the questions is because of a subject. There is too much content in the course, and doing the questions can help you understand. After all, the test questions are very flexible.
A brief analysis:
Basic operations (2 questions of 30 points): The focus of the assessment is generally on: creating and saving projects, and setting some basic properties of controls (such as names) , title, size, position, value, etc.), the use of basic methods (such as: Print, etc.)
Simple application (40 points, two questions): The assessment focus is generally on: simple algorithms (such as: find Maximum number, prime number, sorting, etc.), operating object properties through the code window, establishing control arrays and accessing through loops, etc.
Comprehensive application (30 points for one question): The assessment focus is generally on: reading and writing sequential files, and reading files generally uses loops or arrays.
1. About the purpose and content of the Level 2 Computer Examination
The content of the Level 2 Computer Examination includes C language, Q Basic, Foxbase, Visual FoxPro and Visual Basic. Candidates select one item as the test item. The exam is divided into two parts, the computer test and the written test. The written test covers some basic operating methods and programming methods, and the computer test involves programming in person. You can purchase review materials when registering, including: exam syllabus, second-level textbooks and mock exam CDs. It sounds mysterious, but in fact the test method and content are extremely simple - if you really read the review materials carefully.
2. Preparation process for the Level 2 computer exam
It can be said that with the CD-ROM of the mock exam, after you understand it and become proficient in it, the final computer exam will become A completely meaningless reflex movement. The key is to take some time to practice.
The registration time for the computer level exam is approximately January and June each year, corresponding to the exams in April and September respectively. I chose Visual Basic, which was the first time I entered the exam content. Because I have learned a little bit in computer classes before, I have some understanding of its content and interface. Before the summer vacation after my junior year, I made up my mind to break through the second level VB during this summer vacation. It wasn’t until the holiday that I realized that the ambition I had set before the holiday was really fragile. A few days after the summer vacation, I went to Chengdu to visit: there were so many things that attracted me: landscapes, snacks, and friends. Before leaving, I pretended to put a secondary textbook in my luggage, but that thing never played any role other than to hold a few photos of me.
After mid-August, I was able to settle down and prepare for the unlucky exam. I opened the book and read it page by page carefully, studying every chapter and lesson. I also thought about the following exercises. Half a month has passed, and there were actually a few days of laziness in between, but I finally finished reading a book and felt suddenly enlightened. So after school started, I put down my books and made a simulation CD. The questions in the computer programming part are not difficult at all, and the simulation questions are much simpler than the math exercises. But I always don’t get good results when scoring by software. After careful inspection, I realized that only if the program I wrote was exactly the same as the so-called "correct answer" could I get full marks. However, there are completely different ways to write a program to get the same result. Now I understand why the computer-based exam is so difficult. The only way to deal with it is to carefully analyze the answers given and understand some skills and regularities. There should be no problem in passing the exam. It can be said that with the CD-ROM of the mock exam, after you understand it and become proficient in it, the final computer exam will become a completely meaningless reflex exercise. The key is to take some time to practice.
3. Practical Examination
Let’s talk about the written test first. Including selection and filling in the blanks, they are some basic concepts and programming methods. As long as people read the book carefully, they will never fail the written test. Some people I know who have taken the exam also generally think that the written exam is very easy. I was very calm when I entered the examination room. After I saw the papers, I saw nouns and contents that I was very familiar with, and it was very easy to do them. You still have to be serious when doing it and don’t underestimate the enemy. There was silence in the examination room. Everyone was writing hard and working hard.
Less than half of the exam time passed and I had finished all the questions. I patiently sat in my seat and checked it from beginning to end. It was still too far away from the end of the exam and I couldn't wait any longer, so I handed in the paper and left the classroom. Two words - not difficult.
Let’s talk about the computer-based exam. Now get your exam seat number outside the exam room, listen to the teacher describing the exam rules, and then enter the exam room. Each person has a computer, and the questions are randomly selected from the question bank. The questions for each person are different, so the task of the invigilator is not heavy. But this also caused the atmosphere in the examination room to be relatively chaotic, with people around being whispering to each other. It is necessary to overcome this kind of confusing interference and concentrate on your own topic. When the exam started, I started to answer the questions more carefully, trying to follow the answers on the mock exam CD. However, the question types are extremely familiar, and they are no different from those on the CD. I finished the eight questions three times, five times and two times. The two-hour exam took me out of the exam room in forty minutes. One of the invigilators came out and stopped me. I was still thinking that I had not violated the exam rules, but he kindly came up and asked me about my review experience and so on. In fact, I don’t have much experience. I just read books and do questions.
2.
The content of the questions in the Level 2 VB exam is very detailed. There are no complex algorithm questions, at most they are just some that look complicated ( Actually very regular) cycle questions. So, what we have to do is:
1: Read (understand) the content of the textbook according to the outline.
2: Do some exam questions from past years. According to the author’s experience, there will be some repeated or similar questions in the exam questions every year. Of course, the most important thing is that after completing several sets of test questions in recent years, you will have a "good idea" of the test content, and you will naturally know what is the key point and what should be reviewed, so that you can be targeted.
3: Solve questions based on special question types and key content.
2. For the computer-based test:
Two words, do the questions. You can take the test questions from the past two to four times. Of course, we have to have a correct attitude when doing the questions, because no one can guarantee that the questions you are taking in the future will definitely be on the questions you are doing now (of course, there are always half of the people who are so lucky, haha). The reason for doing the questions is because of a subject. There is too much content in the course, and doing the questions can help you understand. After all, the test questions are very flexible.
A brief analysis:
Basic operations (30 points, two questions): The focus of the assessment is generally on: creating and saving projects, and setting some basic properties of controls (such as: Name, title, size, position, value, etc.), the use of basic methods (such as: Print, etc.)
Simple application (40 points, two questions): The assessment focus is generally on: simple algorithms (such as: Find the maximum number, prime number, sorting, etc.), operate object properties through the code window, establish control arrays and access through loops, etc.
Comprehensive application (30 points for one question): The assessment focus is generally on: reading and writing sequential files, and reading files generally uses loops or arrays.
3.
1. Before starting the exam, run vb and see if the input method is in line with your own habits. In addition, it is best to set the file display extension. During the exam, you can open the folder to see if the save is correct. Sometimes files will be generated, and you can also check if the file is generated correctly.
2. Remember to save a copy of all the files in the test directory to avoid making mistakes or not knowing what you have changed after removing the comments.
3. Pay attention to some algorithms: sorting, prime numbers, ninety-nine tables, pointer rotation, etc.
4. Pay attention to the new random files that appeared in the first half of the year.
5. Don’t forget to use msdn when you can’t do it. Online help is allowed. But if you haven't used it before, you may not be able to figure it out for a while, which may be a waste of time. Take charge of it yourself.
6. When debugging the program, you can set your own variables to display the intermediate value to see if it is correct. You can use print and msgbox. After it is normal, remember to remove the redundant statements.
7. If there is any abnormality, you should raise your hand and report it to the invigilator. They have various passwords, including passwords for drawing questions, passwords for redrawing and delay passwords.
4.
VB exam test situation: 1. When doing the questions, try to keep the sentences simple. If a sentence can be expressed, don’t add superfluous words. Now quote A certain lz in this version said: "The question asked me to move text1 to the far left, so it should be text1.left=o. As a result, I added an extra sentence of text1.top=0. Will I get points if I write this way?" Although the impact is not very big, it at least makes us feel psychologically worried. 2. When you are actually on the computer, if you suddenly are not very clear about a certain knowledge point, such as forgetting the expression of some methods in the text, don’t panic, we Most VB software has msdn, which will help you out of trouble (only suitable for comrades who suddenly have unclear memory of certain knowledge points)
3. If the computer program only requires you When modifying attributes, remember not to modify or add code, otherwise errors may occur, such as a netizen’s post (from this section) - "I encountered such a question when doing basic operation questions: Requirements Drag out a scroll bar with a maximum scale of 100 and a minimum scale of 1. Clicking outside the scroll box (excluding the buttons at both ends of the scroll bar) will increase the value of the scroll bar by 10 scales.
In the properties window, I set max=100 min=1 largechange=10, and then I was so nervous that I even wrote the code as follows:
private sub h1_click()
h1 .=h1.+10
end sub There is no error message during the operation, so I saved it! One thing to note is that there is no clear requirement in the question that "candidates are not allowed to write program code", so nothing is said. ? color=blue]How many points can I get in this case? ”
4. As for the announcement of the test results, it is generally the same every year, 1 and a half months to 2 after the test. It varies from one and a half months.
5. When saving, be sure to save both the form and the project, and exist in the required candidate files, otherwise there will be no points.
Question 4.06.4.1 Type summary:
(1) There are three variables a, b, and c, ranging from 1 to 60 respectively. Ask for a combination that satisfies the Pythagorean (a^2+b^2=c^2) theorem. How many kinds are there?
Answer: private sub form_click()
dim a as integer
dim b as integer
dim c as integer
dim n
for a = 1 to 60
for b = a to 60
for c = 1 to 60
< p>if a ^ 2 + b ^ 2 = c ^ 2 thenn = n + 1
end if
next
next
next
print n
end sub
(2) There is a time control, a horizontal scroll bar, and an image box. Flashes an image in an image box. The speed of flashing is determined by the value of the scroll bar. It is required to use hide and show.
Tip: Use unload to hide and show to display; the timer event should be active when enable is true or not when false.
(3) Write a name, phone number, and zip code on the topic. A structure is defined. The third record is randomly read from in5.txt and displayed in three texts. The process of writing and reading.
Usually it is a fill-in-the-blank question (because the netizen did not explain it clearly when posting, so I have to introduce the general situation to broaden your horizons)
(4) Simple application: 1. Write a palindrome number The process
2. A text box, delete and rearrange the array inside...use inputbox. If the input number is in the array, if it is not, a dialog box will pop up
3. The letter that appears most often among the characters selected in the text box is written in the text box...
(5) Click the window to print the following pattern
┌————————
├————————
│ *
│ ***
│ ***** < /p>
│ *******
│ *********
│ *******
│ *****
│ ***
│ *
└————————
private sub form_click()
dim i,j as integer
for i=1 to ?
for i=1 to 5
< p>'for j=1 to ?for j=1 to 6-i
print " ";
next
'for j=1 to ?
for j=1 to i*2-1
print "*";
next
next
for i=1 to 4
'for j=1 to ?
for j=1 to i
print " ";
next
'for j=1 to ?
for j=1 to 9-i*2
print "*";
next
next
end sub
< p>(6) Change the title of the window to "Rounded Rectangle", add a rounded rectangle shape1 in the form, and set the fill color to &hff00, height 1000, width 2000┌—— ——————
├————————
│
│ ┏————┓
│ │ │
│ │ │
│ ┕————┛
│
└—————— —
Attribute settings:
name │ attribute │ value
————┼————┼——————
form1 │caption │rounded rectangle
————┼————┼——————
│backstyle │1-opaque
shape1 │backcolor │&hff00
│width │2000
│height │1000
│shape │4-rounded rectangle
(7) All controls have been added to the window. Click the Start Call button to display the call time in text1 (the call time increases by 1 every second). Click the Stop Call button to stop the timing. Click the Calculate Call Charges button to call the sub1 process. ,Requirements: _]I0sUcv}D?Lc B-ow (1) Only one statement can be written for each event
(2) Variables cannot be used
Attribute settings: name │ attribute │ value
————┼————┼——————
timer1 │enabled │false
│interval │ 1000
Code:
'Start call button
private sub command1_click()
timer1.enabled = true
end sub < /p>
'Stop call button
private sub command2_click()
timer1.enabled = false
end sub
'Calculate call charges
private sub command3_click()
call sub1
end sub
'Timer
private sub timer1_timer()
text1.text = val(text1.text) + 1
end sub
(8)------- -------------------------------------------------- -----------------------
How to exchange the pictures in the two picture boxes without using variables?
Tips:
p1.picture = loadpicture("File name")
p2.picture = loadpicture("File name")'/