试题(选择题),十万火急,万望各位朋友拔刀相助!!

jiantian 2004-05-07 09:25:38

网络知识测试
You may answer the following questions in either English or Chinese.

1) The Ethernet Preamble uses which of the following Manchester encoding pattern?
A) 10101110
B) 10110110
C) 10101010
D) 10101011

2) What is the subnet mask for an address expressed as 175.38.0.0/26?
A) 255.255.255.0
B) 255.255.24.0
C) Depends on address class
D) 255.255.255.192
E) 255.255.255.26

3) Bridges build forwarding tables of information that includes which of the following (choose all that apply)?
A) BootP address
B) IP address
C) Socket
D) Segment
E) MAC Addresses

4) Look ate the following IP Subnet addresses: 140.120.4.0 140.120.8.0 140.120.12.0 140.120.16.0 What would be the subnet mask associated with the above subnets?
A) 255.255.248.0
B) 255.255.4.0
C) 255.252.0.0
D) 255.255.252.0

5) Routers use hardware addresses when making routing decisions?
A) TRUE
B) FALSE

6) Which OSI layer is responsible for providing mechanisms for building and tearing down virtual circuits?
A) Network Layer
B) Session Layer
C) Transport Layer
D) Presentation Layer
E) Application Layer


7) Name the 7 layers of network commutations.

8) Which of the following are examples of Bridged Protocols?
A) RIP
B) EIGRP
C) IP
D) SNA
E) DECnet

8) A protocol analyzer is a device that allows bit-level analysis of traffic across a network?
A) True
B) False

10) Approximately how many unique networks are possible with a Class B address?
A) 254
B) 16,000
C) 65,000
D) 2 million
E) 128,000

VB基本知识测试
VB Basic Knowledge
1. What is the main advantage of adding a reference to an object library?
a) The ability to reference objects of the object library
b) The ability to user the set method.
c) The ability to use early binding.
d) The ability to use late binding.

2. Which advantage does early binding have over late binding?
a) Better execution speed
b) Early bound objects can be passed to other objects, late bound objects can not.
c) Early bound objects can have events, late bound objects can not.
d) Early binding provides syntax checking before encountering an error at runtime, and late binding does not.

3. Form 1 has variable declared as follows Public ICount as Integer. The application starts with the Sub Main procedure and the first line executed is Form1.iCount = 5
Which Form1 event or events will be triggered by this statement?
a) Initialize only
b) Load only
c) Initialize and load
d) Activate and load

4. You are creating an application that has a form with required data fields. You have placed an "Ok" button on the form for the user to click when they have finished entering data on the form. If the user has failed to enter data in a required field, which statement should you use to stop the form from unloading so that you can prompt the user to enter the missing data?
a) Cancel = True ‘In QueryUnload
b) Cancel = False ‘In QueryUnload
c) Cancel = True ‘In Unload
d) Cancel = False ‘In Unload

5. Which three steps are required in order to create a reference to an Excel Chart object that is defined in a object library?
a) Establish a reference to the type library using a DLL
b) Assign an object reference to the variable by using the Implements keyword
c) Declare a variable of the object’s class like:
Dim xlChart as createobject(Excel.Chart)
d) Declare a variable of the object's class like:
Dim xlChart as createobject("Excel.Chart")

6. What is the purpose of the Friend keyword?
a) to make a procedure in a class available only within the class which it is defined.
b) to make a procedure in a class available to modules outside that class, including modules in other applications.
c) to make a procedure in a class available to modules outside that class, but within the same application.
d) to make a procedure in a class available to in-process components.

7. You are monitoring a global variable and want to suspend program execution when its value changes. Which debugging tool should you use?
a) Watch window
b) Suspend window
c) Variables window
d) Locals window and e) Immediate window

8. Examine the following code:
Sub Test()
Static X
If X > 3 then
Exit Sub
Else X = X + 1
Call Test
End If
End Sub

What happens when the Test procedure is called?
a) A stack overflow error occurs
b) It runs and completes execution without error
c) A General Protection fault occurs
d) It runs until you forcefully shutdown the application

9. You want to remember a form's state so that when it is opened again, it will appear the same. What function call would you use, and in which event procedure would you place it?
a) SaveRegSetting in the Form_Unload event
b) SaveRegSetting in the Form_Deactivate event
c) SaveSetting in the Form_QueryUnload even
d) SaveSetting in the Form_Unload event

10. How do you instantiate an instance of a VB class?

11. How would you run Excel from a VB app?

12. Briefly explain how you would go about error handling in a VB app.
13. For what purpose would you use a .RES file? What are the benefits?

14. Explain the use of the Let and Get keywords in a VB class?

15. What are 2 types of ActiveX servers? Explain.

16. What is the difference between a class and an object?

17. What are the main numeric types available in VB? What are the advantages and disadvantages of each?

VB编程

Write ONE program in VB (use the computer that you are working on, it has MS Visual Studio 2003 Chinese version installed) that can do all the following:
1. Collect a user’s input (text box) of a string (e.g., “123abc”).
2. Covert the user’s input from text into a picture (e.g., GIF, JPG, BMP or PNG format)
3. Save the picture file to the local disk
4. Output the picture onto the screen
5. Print the picture onto the default printer.
You may use any module in the Visual Studio (and /or .NET) suite. You may go to any web site for references, but you must list them when you are done. The final code must compile and run on the computer.

What to submit when you are done,
A zip file that contains the following:
1. The entire project directory, not just the main code file
2. Screen shots showing the results for requirement 3, 4 and 5

VC编程

Write ONE program in VC/C++ that can do all the following:
1. Generate an array of 100 random numbers between 1 and 99
2. Sort the array from smallest to biggest in the most efficient way
3. Output the sorted result on the screen
You may use class/or you may not use class definition in your answer. You may use any module in the Visual Studio (.NET) suite or the C++ compiler you are using. You may go to any web site for references, but you must list them when you are done. The final code must compile and run on the computer.

What to submit when you are done,
A zip file that contains the following:
1. The entire project directory, not just the main code file
2. Screen shots showing the results for requirement 3

自由发挥编程

Write the best program you can ever write in any language in 2 hours! You can make it do anything you want! Let you imagination go!

What to submit when you are done,
A zip file that contains the following:
1. The entire project directory, not just the main code file
2. A readme.txt file explaining exactly what your program does
3. Screen shots showing the results from your program


...全文
15 12 点赞 打赏 收藏 举报
写回复
12 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
cupidvenus 2004-05-09
gz
  • 打赏
  • 举报
回复
supergreenbean 2004-05-09
vb部分的题目前面有人问过了,你搜索一下看看
  • 打赏
  • 举报
回复
jiantian 2004-05-09
是啊,算了,不麻烦大家了
  • 打赏
  • 举报
回复
broown 2004-05-08
你是不是在学CCNP啊?
  • 打赏
  • 举报
回复
a11s 2004-05-07
英语水平实在欠佳,Sorry啦
  • 打赏
  • 举报
回复
BlueBeer 2004-05-07
同意楼上的楼上的观点~
  • 打赏
  • 举报
回复
victorycyz 2004-05-07

楼主把题目翻译成汉语再贴上来,或许有人愿意帮忙。
  • 打赏
  • 举报
回复
jiantian 2004-05-07
真是不好意思,我真的找不到人帮忙才问的,谢谢!
  • 打赏
  • 举报
回复
zhangzhijian 2004-05-07
晕了55555555
  • 打赏
  • 举报
回复
海牛 2004-05-07
网络知识测试
4.选C

VB基本知识测试
1.D???
2.A
3.C
``````不想做了,,晕了55555555
  • 打赏
  • 举报
回复
海牛 2004-05-07
我晕,,E文就算了,,看的我头大,,,-_-#
  • 打赏
  • 举报
回复
jiantian 2004-05-07
大家会多少就告诉我多少好了,我真的很急~~谢谢!!
  • 打赏
  • 举报
回复
相关推荐
发帖
VB基础类
加入

7545

社区成员

VB 基础类
申请成为版主
帖子事件
创建了帖子
2004-05-07 09:25
社区公告
暂无公告