無論是身處學(xué)校還是步入社會,大家都嘗試過寫作吧,借助寫作也可以提高我們的語言組織能力。大家想知道怎么樣才能寫一篇比較優(yōu)質(zhì)的范文嗎?下面是小編幫大家整理的優(yōu)質(zhì)范文,僅供參考,大家一起來看看吧。
計算機(jī)技術(shù)員崗位職責(zé)篇一
be relaxed and vb as most computer first-selected the abc of programming language of beginner." visual" mean method to adopt visual user of development figure interface(gui, need and write a large number of code go and describe interface appearance and position of element seldom, tow and show controlling part that need corresponding position to get screen can help figure design interface, user of figure,;" basic" means basic language, because vb is developed on the basis of already existing baisc is a kind of programming language in common use of microsoft, it, including vba of the numerous windows application software use vb language in microsoft excel, microsoft acceed., for users to carry on the secondary development;make web page use more vbscript script language sub collection of vb too at e data of vb visit characteristic user can establish the data base to most data base forms including microsoft sql server and other enterprises data base with the application program of front, and adjustable service end e activex(tm technology, vb can use word proceor, electronic data list he windows function that application program offers extremely, excel of microsoft, word of microsoft, even can use by vb specialty edition or enterprise application program and target that edition establish procedure that users established finally is a file , can iue offer study edition, the specialty edition and enterprise edition, use to satisfied with different development edition make programming personnel develop windows and windows application program of nt very specialty edition has offered the developing instrument with complete function to programming personnel of the specialty, include studying all functions of edition in the specialty rise edition allow the profeional personnel to establish strong distributed
application program in the form of includes all characteristics of the specialty can choose different editions according to different n 2 integrated development environments integrated environment of vb call ide, made up of a lot of parts , include title board, menu fence, tool fence, controlling part case, and window body window, engineering management device window, attribute window, code window and window body overall arrangement window body overall arrangement, designing etc..have covered all functions, such as design which develops the application program, editting, compiling and debugging, etc..in vb, the application program calls the project start vb and open a new project for the first time, can see and pursue integrated development environment interface that basic integrated development environment vb come and organize development of application program through project, use project come and manage and form files of application project uses the environment to make up by several window bodies, standard module system manages project through the project menu, for instance add the window body, allow turn on and manage a lot of projects n 3 visual basic language brief introductions basic use and do the elementary high-level language that used often full name is beginner s all-purpose symbolic instruction code, abbreviate as its name suggests, basic one specially for language that beginner design, because it easy to learn easy to know, so the body is basic language to belong to and solve translating type, so can carry out line by line , so it can see the result carried out at once , this is a very convenient design for it have concept of structure either, one
that is in procedure maintain and management have as much as other language back-end basic correct shortcoming of the above(such as quick basic, make it may used for and develop the large-scaler procedure language is the basic composition, which forms vb has stipulated the form of sentences and r: the sentence defines incantations [sentence body] sentence define agree with and used in fixed function of sentence, sentence body appoint concrete content or want concrete operation that carry out of set of sentence vb language, carry on with vb sentence organic aociation finish a certain specific function the ace + procedure can solve a certain application application program code window write in" code editing machine" generally." editing machine of code" is like the word proceing software of a piece of height specialization, there are many easies function of writing vb code, pursue to show [example ex-hello ]in" code editing machine" code that window written.“editing machine of code” window
section 4 develop the application program with visual basic use vb programming, design appearance of application program first generally, write every target procedure code or other treatment procedure of incident respectively, work of programming should be light procedure of establishing the application program is as follows:
establish application program interface the interface is the mutual bridge of user and procedure, generally formed of window body and vision frame of the button, menu, text standard windows interface of application program that vb e according to function of procedure and user and need of information interchange of procedure, come to confirm that need those targets , plan the overall arrangement of the by each attributes of target in interface demand and set up each attribute of target such as appearance, name, size of ing to interface of attribute person who fetch can set up through the attribute window when design already, too can set up revising when operating in procedure through programming in procedure the targets respond programming by procedure code d procedure code of programming target interface determine appearance of procedure only, design window add codes through" code editing machine" soon after the interface, realize some make the tasks, such as responding, information proceing, accepting external meage, add code , realize some response, information proceing that make after accepting external information task, as editors window of code pursued shows add codes “code editing machine” wi ndow
project one vb procedure one project, at the time of designing a application program, system will set up one be expanded and t file of vbp, project file include all relevant information of file that project set up this, keep project keep aociated
documents of project this at the same example the window body produced when design interfaces is kept and being expanded and being the window body of the time of opening a project(file, this project relevant files load at the same e and debugged by procedure operate the procedure thoroughpin operate" selecting in the menu, when the mistake appears, vb system can offer information prompt can looked for and get rid of the mistake thoroughpin debug" within operate" menus produce by executive program for make procedure can break away from vb environment, order to become next life through" file"" producing project " of menu but executive program(eyeful, can carry out this file directly after produce, + executive program, and then through install guide bale all aociated documents, can run independently after installation under the environment of windows 9 x/2000 as a software computer systems any software, is by the every large or small each kind of software constituent constitution, defers to the specific algorithm to realize respectively, the algorithm quality direct decision realizes the software performance fit and unfit s the algorithm with any method, what resources designs the algorithm to need, requires how many running time, how many storage space, how to determine an algorithm the quality, when realizes a software, is must give to computer systems operating system, the language compiling system, the database management system as well as in various computer application systems software, must use each one concrete algorithm to ore, the algorithm design and the analysis are the computer science and a technical core algorithm is the problem-solving step, we may define the algorithm cheng jie a determination cla question the random one special the computer science, the algorithm needs to use the computer algorithmic language to describe, the algorithm represents with the computer solves a kind of question precisely, the effective algorithm construction of data = procedure, solves one to aign may calculate or the solvable question, the different person may compile the different procedure, solves the identical problem, here has two problems: first, with computational method close related algorithm question;second, programming technical n the algorithm and the procedure has the close algorithm is a group has the poor rule, they had stipulated solves some specific type question a series of operations, is to the problem solving plan accurate and the complete ates an algorithm, generally must pa through stages and so on design, confirmation, analysis, code, test, debugging, algorithm study including five aspect contents:① design algorithm design work is impoible completely the automation, should study the understanding already by the practice to prove that was the useful some basic algorithm design method, these basic design method was not only suitable for the computer science, moreover was suitable for domains and so on electrical engineering, operations research;②exprees the description algorithms method has many kinds of forms, for example the natural language and the algorithmic language, have the suitable environment and the characteristic respectively;③confirms the algorithm confirmed the goal is causes the people to believe firmly that this algorithm can work unmistakably correctly, namely this algorithm has the correct algorithm describes with the computer algorithmic language, constitutes the computer program, the computer program moves on the computer, obtains the algorithm operation result;④ parsing algorithmic analysis is requires how many computing time and the storage space to an algorithm makes the quota the parsing algorithm may forecast that what environment this algorithm does suit in moves effectively, to solves the identical question different algorithm validity to
make the comparison;⑤ confirmation machine language description algorithm whether can calculate effectively, reasonable, must carry on the test to the procedure, the test order work and makes the space and time distribution map by the debugging to be the algorithm has certain characteristic, it includes:thm each kind of operation must have the determination significance, this kind of operation should carry out what kind of movement should not to have the ambiguity, the goal is clear;ts the operation which in the algorithm waits for realizing is basic, each kind of operation can at least completes in the principle by the human with the paper and the pen in the limited time;③ algorithm has 0 or the many inputs, before the algorithm operation starts gives the algorithm to need the data the starting value, these inputs are from the specific object set; for the algorithm operation result, an algorithm has or many outputs, the output has some kind of specific relational quantity with the input;⑤ has algorithm always after carrying out had the poor step operation has terminated, namely this algorithm was may ies a first four characteristic group of rule not to be able to be called the algorithm, can only be called the computational proce, the operating system is a computational proce example, the operating system uses for to manage the computer resources, controls the manufacture industry movement, when has not made industry the movement, the computational proce does not stop, but is at the waiting algorithm complexity is the algorithm efficiency measure, when appraises the algorithm performance, the complexity is an important algorithm complex degree with moves computer resources how many which this algorithm needs related, needs the resources are more, indicated that this algorithm the complexity is higher;needs the resources are le, indicated that this algorithm the complexity is spatial resources, which computer’s resources, operate most importantly, needs the time which and the stored routine and the data need, the algorithm complexity has spanision time complexity and the spatial algorithm carries out the operation on the computer, needs the data which certain storage space depositing description algorithm the procedure and the algorithm need, the computer completes the operation task to require certain procedure which writes according to the different algorithm places when on the computer operates, needs the time and the space are different, the algorithm complexity is needs the time and the spatial one kind of measure to the algorithm different computer its operating speed difference is very big, is weighing an algorithm the complexity to note this ing question, which aigns willfully, a profitable target which designs, the complex low algorithm is as far as poible when designs algorithm er, when the question, which aigns already when has many kinds of algorithms, an important criterion which choice complexity low, is when selects algorithm should ore, the algorithm complex analysis or selects to the algorithm design has the important guiding sense and the use discuion algorithm complexity, two questions need to clarify:(1 an algorithms complexity exprees with what kind of quantity;(2 how to calculate one to aign the algorithm the finding solves a question the algorithm, is this algorithm realization, as for whether could find the method which realized, was decided in the algorithm circularity and the computation complexity, whether this question did have the solution algorithm, whether to provide the time resources which and the spatial resources the algorithm basic 語言與算法
1991年,美國微軟公司推出了visual basic(可簡稱vb,目前的最新版本是vb 2008 beta2(vb9中文版。
visual 意即可視的、可見的,指的是開發(fā)像windows操作系統(tǒng)的圖形用戶界面(graphic user interface,gui的方法,它不需要編寫大量代碼去描述界面元素的外觀和位置,只要把預(yù)先建立好的對象拖放到屏幕上相應(yīng)的位置即可。
basic 實際上是一個短語的縮寫,這個短語就是 beginners all_purpose symbolic instruction code ,其中文意思為“初始者通用符號指令代碼語言”。visual basic有學(xué)習(xí)版、專業(yè)版和企業(yè)版三種版本,以滿足不同的開發(fā)需要。學(xué)習(xí)版適用于普通學(xué)習(xí)者及大多數(shù)使用visual basic開發(fā)一般windows應(yīng)用程序的人員,但是;專業(yè)版適用于計算機(jī)專業(yè)開發(fā)人員,包括了學(xué)習(xí)版的全部內(nèi)容功能以及internet控件開發(fā)工具之類的高級特性;企業(yè)版除包含專業(yè)版全部的內(nèi)容外,還有自動化構(gòu)件管理器等工具,使得專業(yè)編程人員能夠開發(fā)功能強(qiáng)大的組骨子里分布式應(yīng)用程序。
visual basic 第1節(jié)visual basic的概述
microsoft visual basic(簡稱vb是在windows操作平臺下設(shè)計應(yīng)用程序的最速度、最簡捷的工具之一。不論是初學(xué)者還是專業(yè)開發(fā)人員,vb都為他們提供了一整套的工具,可以輕松方便的開發(fā)應(yīng)用程序。因此,vb一直被作為大多數(shù)電腦初學(xué)者的首選入門編程語言。
“visual”指的是采用可視化的開發(fā)圖形用戶界面(gui的方法,一般不需要編寫大量代碼去描述界面元素的外觀和位置,而只要把需要的控件拖放到屏幕上的相應(yīng)位置即可方便圖形設(shè)計圖形用戶界面;“basic”指的是 basic語言,因為vb是在原有的baisc語言的基礎(chǔ)上發(fā)展起來的。
vb是 microsoft的一種通用程序設(shè)計語言,它包括在 microsoft excel、microsoft acce等眾多windows應(yīng)用軟件中的vba都使用vb語言,以供用戶進(jìn)行二次開發(fā);目前制作網(wǎng)頁使用較多的vbscript腳本語言也是vb的子集。
利用vb的數(shù)據(jù)訪問特性用戶可以對包括 microsoft sql server和其他企業(yè)數(shù)據(jù)庫在內(nèi)的大部分?jǐn)?shù)據(jù)庫格式創(chuàng)建數(shù)據(jù)庫和前端應(yīng)用程序,以及可調(diào)整的服務(wù)端部件。利用activex(tm技術(shù),vb可使用 microsoft word字處理器、microsoft excel電子數(shù)據(jù)表極其他windows應(yīng)用程序提供的功能,甚至可直接
使用由vb專業(yè)版或企業(yè)版創(chuàng)建的應(yīng)用程序和對象。文件,可以自由發(fā)布。
vb提供了學(xué)習(xí)版,專業(yè)版和企業(yè)版,用以滿足不同的開發(fā)需求。學(xué)習(xí)版使編程人員很容易地開發(fā)windows和windows nt的應(yīng)用程序。專業(yè)版為專業(yè)編程人員提供了功能完備的開發(fā)工具,專業(yè)版中包含了學(xué)習(xí)版的所有功能。企業(yè)版允許專業(yè)人員以小組的形式來創(chuàng)建強(qiáng)大的分布式應(yīng)用程序。它包括專業(yè)版的所有的特性。所以可以根據(jù)不同的需要來選擇不同的版本。
第2節(jié)集成開發(fā)環(huán)境
vb的集成環(huán)境或稱ide,由多個部分組成,包含了標(biāo)題欄、菜單欄、工具欄、控件箱,以及窗體設(shè)計器窗口、工程管理器窗口、屬性窗口、代碼窗口和窗體布局窗體布局等。覆蓋了開發(fā)應(yīng)用程序的設(shè)計、編輯、編譯和調(diào)試等所有功能。
在vb中,應(yīng)用程序也稱工程。當(dāng)?shù)谝淮螁觱b并打開一個新工程時,可以看到如圖所示的集成開發(fā)環(huán)境界面。
visual basic 集成開發(fā)環(huán)境
vb通過工程來組織應(yīng)用程序的開發(fā),使用工程來管理構(gòu)成應(yīng)用程序的所有文件。一個工程一般由若干個窗體、標(biāo)準(zhǔn)模塊以及應(yīng)用環(huán)境組成。系統(tǒng)通過工程菜單來對工程進(jìn)行管理,如添加窗體、引用等。系統(tǒng)允許同時打開和管理多個工程。
第3節(jié)visual basic語言簡介
basic是最常被用來做入門使用的高級語言。它的全名是 beginner’s all-purpose sumbolic instruction code,簡稱為 basic。顧名思義,basic 就是一種專為初學(xué)者設(shè)計的語言,因其易學(xué)易懂,所以身受歡迎。早期的basic 語言都是屬于解譯式的,因此可以一行一行地執(zhí)行,所以它可以立刻看到執(zhí)行的結(jié)果,對初學(xué)者來說這是很方便的設(shè)計。不過它也因此沒有結(jié)構(gòu)化的概念,在程序的維護(hù)及管理上比起其他語言困難許多。不過在后期的basic則改正了以上的缺點(如quick basic,使得它也可以用來開發(fā)較大型的程序。
語言是構(gòu)成vb程序的基本成分。vb規(guī)定了語句格式和功能。語法: 語句定義符[語句體] 語句定義符用于規(guī)定語句的功能,語句體指定語句的具體內(nèi)容或要執(zhí)行的具體操作。所有語句的集合就是vb語言,用vb語句進(jìn)行有機(jī)組合完成某個特定功能就是程序。界面+程序就能解決某個應(yīng)用問題。
vb應(yīng)用程序代碼一般在“代碼編輯器”窗口編寫。“代碼編輯器”像是一個高度專門化的字處理軟件,有很多便于編寫vb代碼的功能,圖所示為[例ex-hello]在“代碼編輯器”窗口編寫的代碼。
“代碼編輯器”窗口
第4節(jié)用visual basic開發(fā)應(yīng)用程序
使用vb編程,一般先設(shè)計應(yīng)用程序的外觀,然后再分別編寫各對象事件的程序代碼或其他處理程序,編程的工作要輕松多。
創(chuàng)建應(yīng)用程序的步驟如下: 1.創(chuàng)建應(yīng)用程序界面
界面是用戶和程序交互的橋梁,用vb創(chuàng)建的標(biāo)準(zhǔn)的windows應(yīng)用程序的界面一般由窗體和按鈕、菜單、文本框的圖象框等構(gòu)成。根據(jù)程序的功能要求和用戶與程序之間的信息交流的需要,來確定需要那些對象,規(guī)劃界面的布局。
2.設(shè)計界面上各個對象的屬性
根據(jù)規(guī)劃的界面要求設(shè)置各個對象的屬性,比如對象的外貌、名稱、顏色、大小等。
大多數(shù)屬性取值既可以在設(shè)計時通過屬性窗口來設(shè)置,也可以在程序代碼中通過編程在程序運(yùn)行時設(shè)置修改。
3.編程對象響應(yīng)的程序代碼
界面僅僅決定了程序的外觀,設(shè)計完界面后就要通過“代碼編輯器”
窗口來添加代碼,實現(xiàn)一些在接受外界信息后作出響應(yīng)、信息處理等任務(wù),添加代碼,實現(xiàn)一些在接受外界信息后作出的響應(yīng)、信息處理等任務(wù),添加代碼如圖的代碼編輯窗口所示
“代碼編輯器”窗口 4.保存工程
一個vb程序就是一個工程,在設(shè)計一個應(yīng)用程序時,的工程文件,工程文件包含了該工程所建立的所有文件的相關(guān)信息,保存工程就同時保存了該工程的所有相關(guān)文件。的窗體文件中。在打開一個工程(文件時,該工程有關(guān)的所有文件同時被裝載。
5.行和調(diào)試程序
通過“運(yùn)行”菜單中的選項來運(yùn)行程序,當(dāng)出現(xiàn)錯誤時, vb系統(tǒng)可以提供信息提示也可通過“調(diào)試”和“運(yùn)行”菜單來查找和排除錯誤。
6.生成可執(zhí)行程序
為了使程序可以脫離vb環(huán)境,通過“文件”菜單中的“”命令來生成可執(zhí)行程序(.exe文件,此后即可直接執(zhí)行該文件。在生成可+執(zhí)行程序后,再通過安裝向?qū)⑺邢嚓P(guān)文件打包,就可以作為一個軟件產(chǎn)品在windows 9x/2000 環(huán)境下安裝后獨立運(yùn)行
vb的數(shù)據(jù)庫編程方面按其難易程度可分為三類(由易到難;●使用數(shù)據(jù)庫控制項和綁定控制項 ●使用數(shù)據(jù)庫對象變量進(jìn)行編程 ●直接調(diào)用odbc2.0api 在使用vb進(jìn)行數(shù)據(jù)庫編程時,通常,會首先選擇三種基本方法之一來進(jìn)行數(shù)據(jù)庫應(yīng)用程序的方案設(shè)計, 現(xiàn)在就將以上三種設(shè)計方法的適應(yīng)范圍及其優(yōu)缺點進(jìn)行一個比較。
1 使用數(shù)據(jù)庫控制項和綁定控制項 1.1優(yōu)點
它是三種方法中編碼量最小的 不必了解cdbc2.0api的細(xì)節(jié)
允許使用標(biāo)準(zhǔn)的和第三方廠商制訂的控制項 簡化了錯誤處理
支持所有的動態(tài)集方法及屬性
1.2缺點
不能存取快照對象(snapshop對象或表格對象(都屬于記錄集對象 不能存取數(shù)據(jù)庫集合,比如表定義(tabledefs字段(fieds,索引(indexes及查詢定義(querydefs 只能存取部分odbc2.0管理函數(shù) 不能進(jìn)行真正的事務(wù)處理 有限的錯誤診斷功能 1.3應(yīng)用
對中小規(guī)模的數(shù)據(jù)庫表(通常少于一千條記錄只進(jìn)行簡章的瀏覽操作 基本sql查詢所對應(yīng)的結(jié)果集長度有限(通常結(jié)果集的記錄數(shù)小于一百, 這些記錄從一個或兩個長度有限的表中檢索出來
應(yīng)用程序的數(shù)據(jù)輸入/輸出項較少(通常只涉及一個或兩個長度有限的表、并且表中的字段數(shù)在10個左右且不具有關(guān)系完整性限制 2 使用數(shù)據(jù)庫對象變量進(jìn)行編程 2.1 優(yōu)點
可以在程序中存取odbc2.0的管理函數(shù)
可以控制多種記錄集類型:dynaset、snapshop及table記錄集合對象 可以存取存儲過程和查詢動作
可以存取數(shù)據(jù)庫集合對象,例如tabledefs、fields、indexes及querydefs 具有真正的事務(wù)處理能力 , 包括啟動事務(wù)(begintrans、提交事務(wù)(committrans及回滾事務(wù)(rollback 2.2 缺點
比使用數(shù)據(jù)控制項的方法編碼量較大 只能進(jìn)行間接的錯誤處理和錯誤恢復(fù) 對每個數(shù)據(jù)庫操作沒有細(xì)粒度的控制
對結(jié)果集和包含結(jié)果集的內(nèi)豐資源的操作受到限制 同直接使用odbc2.0api函數(shù)的方法相比性能較低 2.3 應(yīng)用
應(yīng)用程序需要在執(zhí)行期間動態(tài)地建立表、字段及索引.應(yīng)用程序涉及同步更新幾張表(但在邏輯上保持一致性的復(fù)雜事務(wù)
應(yīng)用程序使用結(jié)果集而不是dynaset的窗體(forms,例如snapshots或tables,這里是設(shè)計要考慮的關(guān)鍵
應(yīng)用程序的表非常大,多于1000條記錄
應(yīng)用程序具有復(fù)雜的數(shù)據(jù)輸入/輸出項,它涉及許多內(nèi)部相關(guān)的字段并且包括數(shù)據(jù)庫參照完整性或一致性規(guī)則
應(yīng)用程序需要執(zhí)行一些額外的操作和對結(jié)果集的查詢后處理, 尤其是需要 很高的數(shù)據(jù)格式化顯示
應(yīng)用程序需要利用復(fù)雜的odbc管理功能以選擇、配置、校驗及建立各種數(shù)據(jù)源
應(yīng)用程序需要在執(zhí)行期間“顯示”數(shù)據(jù)庫的基本結(jié)構(gòu) 應(yīng)用程序需要使用復(fù)雜的多碼索引方式來檢索或更新記錄 3 直接調(diào)用odbc2.0api 3.1 優(yōu)點
可以直接參與結(jié)果集的開發(fā)、管理及規(guī)范化
對結(jié)果集游標(biāo)提供了更多的控制,并且提供了更多的游標(biāo)類型和執(zhí)行動作 能夠確定odbc驅(qū)動程序及sql的一致性級別 可以更好地控制windows的執(zhí)行調(diào)度及資源利用
其他方面同其他方法差不多,因此這種方法很可能具有最好的性能 3.2 缺點
較其他兩種方法需要大量的代碼
代碼復(fù)雜并且要求程序員具有編制api調(diào)用的經(jīng)驗
在網(wǎng)絡(luò)上visual basic運(yùn)行期間庫的錯誤處理缺乏安全性,因此代碼運(yùn)行期間出現(xiàn)的錯誤所造成的后果會非常嚴(yán)重
3.3 應(yīng)用
如果系統(tǒng)環(huán)境為客戶機(jī)/服務(wù)器模式下的大規(guī)模多用戶環(huán)境,那么應(yīng)用程序必須都能夠準(zhǔn)確地解決可能出現(xiàn)的系統(tǒng)錯誤和失敗
應(yīng)用程序強(qiáng)調(diào)資源使用,這里如何對內(nèi)存、網(wǎng)絡(luò)服務(wù)器資源進(jìn)行直接控制是首要的考慮因素
應(yīng)用程序使用超大規(guī)模數(shù)據(jù)庫,例如數(shù)據(jù)庫表可能包含幾萬或幾十萬條記錄計算機(jī)系統(tǒng)中的任何軟件,都是由大大小小的各種軟件組成部分構(gòu)成,各自按照特定的算法來實現(xiàn),算法的好壞直接決定所實現(xiàn)軟件性能的優(yōu)劣。用什么方法來設(shè)計算法,所設(shè)計算法需要什么樣的資源,需要多少運(yùn)行時間、多少存儲空間,如何判定一個算法的好壞,在實現(xiàn)一個軟件時,都是必須予以解決的。計算機(jī)系統(tǒng)中的操作系統(tǒng)、語言編譯系統(tǒng)、數(shù)據(jù)庫管理系統(tǒng)以及各種各樣的計算機(jī)應(yīng)用系統(tǒng)中的軟件,都必須用一個個具體的算法來實現(xiàn)。因此,算法設(shè)計與分析是計算機(jī)科學(xué)與技術(shù)的一個核心問題。
算法是解題的步驟,我們可以把算法定義成解一確定類問題的任意一種特殊的方法。在計算機(jī)科學(xué)中,算法要用計算機(jī)算法語言描述,算法代表用計算機(jī)解一類問題的精確、有效的方法。算法+數(shù)據(jù)結(jié)構(gòu)=程序,求解一個給定的可計算或可解的問題,不同的人可以編寫出不同的程序,來解決同一個問題,這里存在兩個問題:一是與計算方法密切相關(guān)的算法問題;二是程序設(shè)計的技術(shù)問題。算法和程序之間存在密切的關(guān)系。算法是一組有窮的規(guī)則,它們規(guī)定了解決某一特定類型問題的一系列運(yùn)算,是對解題方案的準(zhǔn)確與完整的描述。制定一個算法,一般要經(jīng)過設(shè)計、確認(rèn)、分析、編碼、測試、調(diào)試、計時等階段。對算法的學(xué)習(xí)包括五個方面的內(nèi)容:①設(shè)計算法。算法設(shè)計工作是不可能完全自動化的,應(yīng)學(xué)習(xí)了解已經(jīng)被實踐證明是有用的一些基本的算法設(shè)計方法,這些基本的設(shè)計方法不僅適用于計算機(jī)科學(xué),而且適用于電氣工程、運(yùn)籌學(xué)等領(lǐng)域;②表示算法。描述算法的方法有多種形式,例如自然語言和算法語言,各自有適用的環(huán)境和特點;③確認(rèn)算法。算法確認(rèn)的目的是使人們確信這一算法能夠正確無誤地工作,即該算法具有可計算性。正確的算法用計算機(jī)算法語言描述,構(gòu)成計算機(jī)程序, 計算機(jī)程序在計算機(jī)上運(yùn)行,得到算法運(yùn)算的結(jié)果;④ 分析算法。算法分析是 對一個算法需要多少計算時間和存儲空間作定量的分析。分析算法可以預(yù)測這一 算法適合在什么樣的環(huán)境中有效地運(yùn)行,對解決同一問題的不同算法的有效性
作 出比較;⑤ 驗證算法。用計算機(jī)語言描述的算法是否可計算、有效合理,須對 程序進(jìn)行測試,測試程序的工作由調(diào)試和作時空分布圖組成。而算法具有一定的特性,它包括:① 確定性。算法的每一種運(yùn)算必須有確 定的意義,該種運(yùn)算應(yīng)執(zhí)行何種動作應(yīng)無二義性,目的明確;② 能行性。要求 算法中有待實現(xiàn)的運(yùn)算都是基本的,每種運(yùn)算至少在原理上能由人用紙和筆在有 限的時間內(nèi)完成;③ 輸入。一個算法有 0 個或多個輸入,在算法運(yùn)算開始之前 給出算法所需數(shù)據(jù)的初值,這些輸入取自特定的對象集合;④ 輸出。作為算法 運(yùn)算的結(jié)果,一個算法產(chǎn)生一個或多個輸出,輸出是同輸入有某種特定關(guān)系的量; ⑤ 有窮性。一個算法總是在執(zhí)行了有窮步的運(yùn)算后終止,即該算法是可達(dá)的。滿足前四個特性的一組規(guī)則不能稱為算法,只能稱為計算過程,操作系統(tǒng)是計算 過程的一個例子,操作系統(tǒng)用來管理計算機(jī)資源,控制作業(yè)的運(yùn)行,沒有作業(yè)運(yùn) 行時,計算過程并不停止,而是處于等待狀態(tài)。算法的復(fù)雜性是算法效率的度量,在評價算法性能時,復(fù)雜性是一個重要的 依據(jù)。算法的復(fù)雜性的程度與運(yùn)行該算法所需要的計算機(jī)資源的多少有關(guān),所需 要的資源越多,表明該算法的復(fù)雜性越高;所需要的資源越少,表明該算法的復(fù) 雜性越低。計算機(jī)的資源,最重要的是運(yùn)算所需的時間和存儲程序和數(shù)據(jù)所需的空間資 源,算法的復(fù)雜性有時間復(fù)雜性和空間復(fù)雜性之分。算法在計算機(jī)上執(zhí)行運(yùn)算,需要一定的存儲空間存放描述算法的程序和算法 所需的數(shù)據(jù),計算機(jī)完成運(yùn)算任務(wù)需要一定的時間。根據(jù)不同的算法寫出的程序 放在計算機(jī)上運(yùn)算時,所需要的時間和空間是不同的,算法的復(fù)雜性是對算法運(yùn) 算所需時間和空間的一種度量。不同的計算機(jī)其運(yùn)算速度相差很大,在衡量一個 算法的復(fù)雜性要注意到這一點。對于任意給定的問題,設(shè)計出復(fù)雜性盡可能低的算法是在設(shè)計算法時考慮的 一個重要目標(biāo)。另外,當(dāng)給定的問題已有多種算法時,選擇其中復(fù)雜性最低者,是在選用算法時應(yīng)遵循的一個重要準(zhǔn)則。因此,算法的復(fù)雜性分析對算法的設(shè)計 或選用有著重要的指導(dǎo)意義和實用價值。
計算機(jī)技術(shù)員崗位職責(zé)篇二
專業(yè)技術(shù)人員崗位職責(zé)
根據(jù)上級文件精神,結(jié)合我校實際情況,按照經(jīng)過上級職改部門已核定過的所設(shè)專業(yè)技術(shù)崗位,結(jié)合專業(yè)技術(shù)職務(wù)任職條件和年度考核結(jié)論,對我校經(jīng)職稱評審或考試所確定具有相關(guān)技術(shù)職務(wù)任職資格的專業(yè)技術(shù)人員實行聘任制。
聘任分續(xù)聘、不聘和解聘。續(xù)聘分為資格職務(wù)同級聘用和低職聘用,聘期為一年。聘用期間的工資待遇按所聘職務(wù)執(zhí)行。
所聘專業(yè)技術(shù)人員,必須努力提高自己的政治思想覺悟、道德水準(zhǔn)、文化業(yè)務(wù)水平和履行職責(zé)的能力,發(fā)揮為社會主義教育事業(yè)服務(wù)的積極性和創(chuàng)造性,努力完成好本職工作。為此,特明確專業(yè)技術(shù)人員崗位及職責(zé)如下: 一、崗位
設(shè)中學(xué)教師系列、財務(wù)系列、衛(wèi)生系列、圖文博系列,機(jī)關(guān)職務(wù)崗位按上級定編控制數(shù)確定各系列崗位職數(shù)。二、總則
(一)中學(xué)教師系列
本系列設(shè)中學(xué)高級教師、中學(xué)一級教師、中學(xué)二級教師職務(wù)。[中學(xué)高級教師職責(zé)總則] 1、承擔(dān)學(xué)校安排的教育教學(xué)任務(wù)、指導(dǎo)教育教學(xué)研究工作。2、承擔(dān)教育科學(xué)研究任務(wù)。
3、指導(dǎo)一、二級或未定級教師的教育教學(xué)工作,承擔(dān)培養(yǎng)教師的任務(wù)。 [中學(xué)一級教師職責(zé)總則] 1、承擔(dān)教學(xué)任務(wù)。
2、在課內(nèi)外對學(xué)生進(jìn)行思想品德教育,擔(dān)任班主任或組織輔導(dǎo)學(xué)生課外活動。 3、承擔(dān)和組織教育教學(xué)研究工作。
4、指導(dǎo)二級或未定級教師的教育教學(xué)工作或承擔(dān)培養(yǎng)教師的任務(wù) [中學(xué)二級教師職責(zé)總則] 1、承擔(dān)教學(xué)任務(wù)。
2、在課內(nèi)外對學(xué)生進(jìn)行思想品德教育,擔(dān)任班主任或組織、輔導(dǎo)學(xué)生課外活動。 3、參加教學(xué)研究工作。
4、認(rèn)真鉆研業(yè)務(wù),虛心學(xué)習(xí)和請教,接受老教師的指導(dǎo)和培養(yǎng)。(二)財會系列:
本系列設(shè)會計師、助理會計師、會計員職務(wù)。崗位職責(zé)見分崗職責(zé)相關(guān)崗位要求。(三)衛(wèi)生系列:
本系列設(shè)主治醫(yī)師、主管護(hù)師、助理醫(yī)師、助理護(hù)士職務(wù)。崗位職責(zé)見分崗職責(zé)相關(guān)崗位要求。(四)圖文博系列:
本系列設(shè)館員、助理館員、圖書管理員職務(wù)。崗位職責(zé)見分崗職責(zé)相關(guān)崗位要求。
三、
分崗位職責(zé)如下教 師
崗位主要職責(zé)
(一)認(rèn)真貫徹執(zhí)行國家的教育方針,努力更新教育觀念,提高業(yè)務(wù)水平,面向全體學(xué)生,面向?qū)W生的每一個方面,寓德育教育于學(xué)科教學(xué)之中,為人師表,積極主動協(xié)助班主任做好學(xué)生的思想政治工作。
(二)認(rèn)真參加學(xué)校組織的政治、業(yè)務(wù)學(xué)習(xí)及各項社會活動,積極參與學(xué)校民主管理,參與協(xié)調(diào)學(xué)校與家庭、社會的配合教育。(三)努力學(xué)習(xí)教育理論和本學(xué)科的專業(yè)知識及相關(guān)知識,理解、掌握教學(xué)大綱和德育大綱,1
制訂本學(xué)科學(xué)期、學(xué)年教學(xué)工作計劃,鉆研教材,了解、研究學(xué)生,積極參加教育、教學(xué)研究和集體備課,認(rèn)真寫好教案。
(四)上好每一節(jié)課。教學(xué)目的明確,恰當(dāng)處理教材的重、難點,講解、示范準(zhǔn)確,講究教學(xué)方法,充分調(diào)動學(xué)生學(xué)習(xí)的積極性,完成預(yù)定的教學(xué)計劃和任務(wù),注重培養(yǎng)學(xué)生的素質(zhì),發(fā)展學(xué)生的潛能。
(五)及時認(rèn)真批改作業(yè),指導(dǎo)學(xué)生的學(xué)習(xí)方法。注意因材施教,培養(yǎng)和愛護(hù)學(xué)生的特長。(六)根據(jù)學(xué)科、年級特點,開展補(bǔ)差與輔導(dǎo)工作,熱忱幫助后進(jìn)學(xué)生,組織課外興趣小組活動,培訓(xùn)學(xué)科競賽隊伍,提高全體學(xué)生的學(xué)習(xí)與能力素質(zhì)。
(七)搞好教學(xué)質(zhì)量考查工作。按照教學(xué)質(zhì)量要求和考試規(guī)定,認(rèn)真做好命題、監(jiān)考和閱卷評分工作,實事求是地分析講評試卷的方法。
(八)關(guān)心、了解國內(nèi)外本學(xué)科的教改信息和科研動態(tài),積極參加教研活動和教改試驗,不斷提高教學(xué)與研究水平。
(九)執(zhí)行教學(xué)工作衛(wèi)生要求,關(guān)心學(xué)生健康,減輕學(xué)生作業(yè)負(fù)擔(dān),增強(qiáng)學(xué)生體質(zhì)。(十)積極參與全校學(xué)生科技節(jié)、體育節(jié)、藝術(shù)節(jié)等重大活動的組織、指導(dǎo)工作。以上是各個學(xué)科教師的共同基本職責(zé),由于學(xué)科性質(zhì)關(guān)系到教師職責(zé),所以不同學(xué)科的教師其職責(zé)還有一些不同的要求: [政治教師] 認(rèn)真學(xué)習(xí)時事政治,掌握黨和國家的重大方針政策,有針對性地對學(xué)生進(jìn)行形勢教育、政策教育、法制教育。
充分發(fā)揮政治課作為學(xué)生思想政治工作主要渠道的作用,啟發(fā)引導(dǎo)學(xué)生用馬克思主義的立場、觀點和方法分析、處理問題,逐步使學(xué)生樹立科學(xué)的世界觀、人生觀和方法論。指導(dǎo)學(xué)生社會調(diào)查和社會實踐活動。[語文教師] 在傳授語文知識的同時,抓好思維能力和思維方法的訓(xùn)練。注意培養(yǎng)學(xué)生的語言知識、語言表達(dá)能力及閱讀能力、鑒賞能力。
認(rèn)真上好選修課,積極開設(shè)古詩欣賞、文學(xué)欣賞等講座;指導(dǎo)學(xué)生搞好社會調(diào)查和社會實踐活動;發(fā)揮自身的專長,不斷寫出有質(zhì)量的教學(xué)
總結(jié)
和論文。[數(shù)學(xué)教師] 懂得高等數(shù)學(xué)的基礎(chǔ)知識,掌握數(shù)學(xué)基本思想方法,能居高臨下把握中學(xué)數(shù)學(xué)教學(xué)大綱和教材,激發(fā)學(xué)生學(xué)習(xí)興趣,通過數(shù)學(xué)教學(xué),培養(yǎng)學(xué)生邏輯思維和推理能力。教學(xué)語言簡練,推理論證嚴(yán)謹(jǐn),解題規(guī)范,繪圖準(zhǔn)確。根據(jù)教學(xué)需要自行設(shè)計、制作數(shù)學(xué)教具,模型,以利學(xué)生學(xué)習(xí)。[物理教師] 物理教師應(yīng)重視實驗課,要盡量設(shè)法讓學(xué)生多做實驗。提前兩天準(zhǔn)備好上課所需的儀器、掛圖、電化教學(xué)設(shè)備,課堂演示實驗的操作要起示范作用,引導(dǎo)學(xué)生觀察現(xiàn)象、分析問題,得出正確結(jié)論。
認(rèn)真指導(dǎo)學(xué)生實驗,教育學(xué)生遵守實驗室規(guī)則和儀器操作規(guī)則,實驗結(jié)束后,教育學(xué)生整理好實驗器材,培養(yǎng)學(xué)生嚴(yán)謹(jǐn)?shù)目茖W(xué)態(tài)度。
設(shè)計和改進(jìn)實驗儀器和裝置,努力提高實驗教學(xué)的質(zhì)量。[化學(xué)教師] 重視實驗課,提前一天準(zhǔn)備好上課所需的儀器、藥品、掛圖、教具,用過后及時歸還實驗室。應(yīng)于一周前將學(xué)生實驗所需儀器、藥品通知管理員,實驗前一天應(yīng)仔細(xì)檢查準(zhǔn)備情況,避免臨時缺儀少藥現(xiàn)象的出現(xiàn)。
實驗課上教師對學(xué)生應(yīng)有嚴(yán)格要求,要教育學(xué)生遵守操作規(guī)程,愛護(hù)儀器,節(jié)省藥品,嚴(yán)防意外事故,實驗完畢后,應(yīng)要求學(xué)生將儀器洗凈,整理收拾好。
在化學(xué)教學(xué)中培養(yǎng)學(xué)生觀察、分析、解決問題的能力和嚴(yán)謹(jǐn)?shù)目茖W(xué)態(tài)度。[生物教師] 重視實驗教學(xué),做好實驗前的一切準(zhǔn)備工作,并做到實驗前教師預(yù)先操作成功。
重視課外活動,注意通過課外活動激發(fā)學(xué)生的學(xué)習(xí)興趣,培養(yǎng)學(xué)生觀察、分析、解釋生物現(xiàn)象的能力及解剖動物,制作植物、動物標(biāo)本等基本技能。[外語教師]
教師在課堂教學(xué)中盡可能地使用外語教學(xué),做到密度容量適中,語言、語法、語匯處理恰當(dāng),力求提高課堂效率。以培養(yǎng)學(xué)生的聽、說、讀、寫能力為目標(biāo),不斷改革教法,考試內(nèi)容要加入口試或聽力測驗,以全面考核學(xué)生學(xué)習(xí)外語的情況。充分運(yùn)用現(xiàn)代化教學(xué)手段和設(shè)施,積極開展外語課外活動,有計劃、有組織地安排英語講座、教學(xué)錄像、競賽輔導(dǎo)等活動。[史地教師] 要運(yùn)用史地課的有關(guān)教材內(nèi)容對學(xué)生進(jìn)行愛國主義教育、理想前途教育、道德品質(zhì)教育、國情教育、國土知識教育。
要改進(jìn)教學(xué)方法,運(yùn)用教具進(jìn)行直觀教學(xué),充分使用電教手段,使史地教學(xué)逐漸現(xiàn)代化。史地課運(yùn)用史料必須真實,觀點必須正確。[音美教師] 備課要做到先查找、收集有關(guān)資料進(jìn)行初備,課前結(jié)合有關(guān)圖片、幻燈片或音像資料,詳細(xì)、認(rèn)真地進(jìn)行復(fù)備。
課前必須認(rèn)真檢查所需教學(xué)設(shè)備使用的可靠性,所需掛圖、磁帶等是否完備;凡需上課演奏(或畫)的作品必須在課前準(zhǔn)備好。
做好課外的選優(yōu)、補(bǔ)差工作,對班級中具有藝術(shù)特長的尖子生要心中有數(shù),重點培養(yǎng)。課外活動內(nèi)容的選擇,既要注意學(xué)生的年齡特征,興趣愛好,又要注意思想性與藝術(shù)性的結(jié)合。注意培養(yǎng)學(xué)生的藝術(shù)興趣、藝術(shù)表現(xiàn)能力和審美、鑒賞美的水平。注意對學(xué)校中各項文藝活動和藝術(shù)比賽進(jìn)行指導(dǎo)和訓(xùn)練;組織安排學(xué)校的內(nèi)、外賓接待工作中的藝術(shù)活動,并準(zhǔn)備相當(dāng)?shù)墓?jié)目或作品進(jìn)行交流;對本組藝術(shù)設(shè)備、器材及演出樂器、服裝等正確使用,妥善保管,并定期清點。[勞技教師] 突出勞技各學(xué)科以實踐為主的原則,認(rèn)真指導(dǎo)學(xué)生的實踐,教育學(xué)生遵守操作規(guī)程。根據(jù)學(xué)科特點,培養(yǎng)學(xué)生的勞動觀點、勞動習(xí)慣、勞動技能和熱愛勞動人民的思想感情。根據(jù)教學(xué)需要,自制教具,改進(jìn)教學(xué)。[體育教師] 充分做好課前準(zhǔn)備,提前15分鐘到場做好自己精神、身體、服裝的準(zhǔn)備;做好場地、器材的準(zhǔn)備;課后清點器材并及時歸還。
課堂教學(xué)做到器材搭配合理,既注意三基傳授,又重視增強(qiáng)體質(zhì),課的強(qiáng)度和密度能符合學(xué)生的生理心理特點。
組織好課外體育活動,負(fù)責(zé)做好班級課外體育的內(nèi)容安排、場地器材準(zhǔn)備和組織輔導(dǎo),積極開展所教年級小型多樣的競賽活動。
積極推行國家體育鍛煉標(biāo)準(zhǔn),進(jìn)一步提高達(dá)標(biāo)率和優(yōu)秀率,把好達(dá)標(biāo)測驗的質(zhì)量關(guān)。加強(qiáng)對學(xué)校代表隊的訓(xùn)練。做到經(jīng)?;⒅贫然?,并注意運(yùn)動員的全面發(fā)展。
加強(qiáng)對學(xué)生身體機(jī)能、形態(tài)和素質(zhì)的測定工作,配合衛(wèi)生室做好一年一次的學(xué)生健康檢查。加強(qiáng)安全教育,器械項目要交代保護(hù)方法,投擲項目一定要教師親自掌握,如有傷害事故發(fā)生,教師一定要親自認(rèn)真處理,并及時向校長和班主任報告。
計算機(jī)技術(shù)員崗位職責(zé)篇三
通用技術(shù)實踐室管理員崗位職責(zé)
1、樹立為教學(xué)服務(wù)的思想,嚴(yán)格遵守通用技術(shù)實踐室管理制度,認(rèn)真研究教材和技術(shù)實踐內(nèi)容,掌握本學(xué)科各種儀器設(shè)備的規(guī)格、性能和用途,能熟練操作,同時具有一定的維修儀器技能,會修理一般儀器及設(shè)備。
2、按規(guī)定領(lǐng)取和添置教學(xué)儀器、設(shè)備,建好儀器設(shè)備賬細(xì)目表。每學(xué)期末核對賬物,并向主管領(lǐng)導(dǎo)匯報儀器、設(shè)備的損耗情況,編報下學(xué)期添置儀器、設(shè)備、耗材計劃。
3、堅守工作崗位。課前按照任課教師提交的實踐通知單準(zhǔn)備好所需要的儀器設(shè)備,協(xié)助教師完成通用技術(shù)實踐教學(xué)。
4、積極配合任課教師安全、規(guī)范地組織學(xué)生進(jìn)行教學(xué)實踐,引導(dǎo)學(xué)生按照設(shè)備的安全說明書進(jìn)行實踐活動,杜絕一切不安全的事件發(fā)生。
5、操作完畢,與任課教師共同清點和整理好儀器、設(shè)備、模型,特別是實踐工具和學(xué)生實踐器材,如有損壞,要填表登記,及時查明原因。
6、根據(jù)儀器不同特性,定期做好儀器的保養(yǎng)、維修、校驗和安全存放工作。貴重儀器,必須按要求妥善保管。
7、儀器設(shè)備工具和模型要按照管理制度要求進(jìn)行分類和編號,定位入柜,陳列整齊,經(jīng)常保持實踐室和準(zhǔn)備室通風(fēng)、干燥和清潔衛(wèi)生。
8、專職管理人員如因工作調(diào)動或其它原因離開實踐室,必須認(rèn)真辦好儀器設(shè)備、賬目等的移交手續(xù)。
9、認(rèn)真做好實踐室的安全管理工作,定期檢查消防設(shè)施,禁止超負(fù)荷用電,防止電氣火災(zāi)。離開教室前,必須對門、窗、水源、電源等進(jìn)行全面檢查。
10、協(xié)助教師維修和自制教具,支持學(xué)生開展科技活動、綜合實踐活動。
計算機(jī)技術(shù)員崗位職責(zé)篇四
visual basic language and arithmetic the united states launched the microsoft visual basic(may be referred to vb, is the latest version of the current vb 2008 beta2(vb9 chinese meaning the visual, visible, referring to the development of operating systems like windows graphical user interface(graphic user interface, gui method, it does not need to prepare a large number code to describe the appearance of the interface elements and location, as long as the pre-the establishment of good drag and drop objects on the screen corresponding to the is actually an abbreviation of the phrase;this phrase is beginners all-purpose symbolic instruction code, the chinese meaning "to the initial directive gm symbol code language." visual basic learning, profeional edition and enterprise edition versions to meet the different needs of the and apply to the ordinary version of the majority of learners and the use of visual basic development of the general staff of windows applications, but;profeional version for computer profeional development of staff, including the study of functional version of the full content control and internet development tools such as advanced features ,enterprise contain not only all the profeional version of the content, there are automated tools such as component manager, profeional programmers to make the development of a powerful group eence of distributed basic section 1 the summary of visual basic microsoft visual basic,(abbreviate vb as tool the most of application program one of under windows operating matter beginner or profeional developer, vb has all offered a whole set of tools to them, development application program that it can
1 / 19 be relaxed and vb as most computer first-selected the abc of programming language of beginner." visual" mean method to adopt visual user of development figure interface(gui, need and write a large number of code go and describe interface appearance and position of element seldom, tow and show controlling part that need corresponding position to get screen can help figure design interface, user of figure,;" basic" means basic language, because vb is developed on the basis of already existing baisc is a kind of programming language in common use of microsoft, it, including vba of the numerous windows application software use vb language in microsoft excel, microsoft acceed., for users to carry on the secondary development;make web page use more vbscript script language sub collection of vb too at e data of vb visit characteristic user can establish the data base to most data base forms including microsoft sql server and other enterprises data base with the application program of front, and adjustable service end e activex(tm technology, vb can use word proceor, electronic data list he windows function that application program offers extremely, excel of microsoft, word of microsoft, even can use by vb specialty edition or enterprise application program and target that edition establish procedure that users established finally is a file , can iue offer study edition, the specialty edition and enterprise edition, use to satisfied with different development edition make programming personnel develop windows and windows application program of nt very specialty edition has offered the developing instrument with complete function to programming personnel of the specialty, include studying all functions of edition in the specialty rise edition allow the profeional personnel to establish strong distributed
2 / 19 application program in the form of includes all characteristics of the specialty can choose different editions according to different n 2 integrated development environments integrated environment of vb call ide, made up of a lot of parts , include title board, menu fence, tool fence, controlling part case, and window body window, engineering management device window, attribute window, code window and window body overall arrangement window body overall arrangement, designing etc..have covered all functions, such as design which develops the application program, editting, compiling and debugging, etc..in vb, the application program calls the project start vb and open a new project for the first time, can see and pursue integrated development environment interface that basic integrated development environment vb come and organize development of application program through project, use project come and manage and form files of application project uses the environment to make up by several window bodies, standard module system manages project through the project menu, for instance add the window body, allow turn on and manage a lot of projects n 3 visual basic language brief introductions basic use and do the elementary high-level language that used often full name is beginner s all-purpose symbolic instruction code, abbreviate as its name suggests, basic one specially for language that beginner design, because it easy to learn easy to know, so the body is basic language to belong to and solve translating type, so can carry out line by line , so it can see the result carried out at once , this is a very convenient design for it have concept of structure either, one
3 / 19 that is in procedure maintain and management have as much as other language back-end basic correct shortcoming of the above(such as quick basic, make it may used for and develop the large-scaler procedure language is the basic composition, which forms vb has stipulated the form of sentences and r: the sentence defines incantations [sentence body] sentence define agree with and used in fixed function of sentence, sentence body appoint concrete content or want concrete operation that carry out of set of sentence vb language, carry on with vb sentence organic aociation finish a certain specific function the ace + procedure can solve a certain application application program code window write in" code editing machine" generally." editing machine of code" is like the word proceing software of a piece of height specialization, there are many easies function of writing vb code, pursue to show [example ex-hello ]in" code editing machine" code that window written.“editing machine of code” window
section 4 develop the application program with visual basic use vb programming, design appearance of application program first generally, write every target procedure code or other treatment procedure of incident respectively, work of programming should be light procedure of establishing the application program is as follows:
4 / 19 establish application program interface the interface is the mutual bridge of user and procedure, generally formed of window body and vision frame of the button, menu, text standard windows interface of application program that vb e according to function of procedure and user and need of information interchange of procedure, come to confirm that need those targets , plan the overall arrangement of the by each attributes of target in interface demand and set up each attribute of target such as appearance, name, size of ing to interface of attribute person who fetch can set up through the attribute window when design already, too can set up revising when operating in procedure through programming in procedure the targets respond programming by procedure code d procedure code of programming target interface determine appearance of procedure only, design window add codes through" code editing machine" soon after the interface, realize some make the tasks, such as responding, information proceing, accepting external meage, add code , realize some response, information proceing that make after accepting external information task, as editors window of code pursued shows add codes “code editing machine” wi ndow
project one vb procedure one project, at the time of designing a application program, system will set up one be expanded and t vbp, project all relevant information of project set up this, keep project keep aociated documents of project this
5 / 19 at the same example the window body produced when design interfaces is kept and being expanded and being the window body of the time of opening a project(file, this project relevant files load at the same e and debugged by procedure operate the procedure thoroughpin operate" selecting in the menu, when the mistake appears, vb system can offer information prompt can looked for and get rid of the mistake thoroughpin debug" within operate" menus produce by executive program for make procedure can break away from vb environment, order to become next life through" file"" producing project " of menu but executive program(eyeful, can carry out this after produce, + executive program, and then through install guide bale all aociated documents, can run independently after installation under the environment of windows 9 x/2000 as a software computer systems any software, is by the every large or small each kind of software constituent constitution, defers to the specific algorithm to realize respectively, the algorithm quality direct decision realizes the software performance fit and unfit s the algorithm with any method, what resources designs the algorithm to need, requires how many running time, how many storage space, how to determine an algorithm the quality, when realizes a software, is must give to computer systems operating system, the language compiling system, the database management system as well as in various computer application systems software, must use each one concrete algorithm to ore, the algorithm design and the analysis are the computer science and a technical core algorithm is the problem-solving step, we may define the algorithm cheng jie a determination cla question the random one special the computer science, the
6 / 19 algorithm needs to use the computer algorithmic language to describe, the algorithm represents with the computer solves a kind of question precisely, the effective algorithm construction of data = procedure, solves one to aign may calculate or the solvable question, the different person may compile the different procedure, solves the identical problem, here has two problems: first, with computational method close related algorithm question;second, programming technical n the algorithm and the procedure has the close algorithm is a group has the poor rule, they had stipulated solves some specific type question a series of operations, is to the problem solving plan accurate and the complete ates an algorithm, generally must pa through stages and so on design, confirmation, analysis, code, test, debugging, algorithm study including five aspect contents:① design algorithm design work is impoible completely the automation, should study the understanding already by the practice to prove that was the useful some basic algorithm design method, these basic design method was not only suitable for the computer science, moreover was suitable for domains and so on electrical engineering, operations research;②exprees the description algorithms method has many kinds of forms, for example the natural language and the algorithmic language, have the suitable environment and the characteristic respectively;③confirms the algorithm confirmed the goal is causes the people to believe firmly that this algorithm can work unmistakably correctly, namely this algorithm has the correct algorithm describes with the computer algorithmic language, constitutes the computer program, the computer program moves on the computer, obtains the algorithm operation result;④ parsing algorithmic analysis is requires how many computing time and the storage space to an algorithm makes the quota the parsing algorithm may forecast that what environment this algorithm does suit in moves effectively, to solves the identical question different algorithm validity to make the comparison;⑤ confirmation machine language description algorithm whether can calculate effectively, reasonable, must carry on the test to the
7 / 19 procedure, the test order work and makes the space and time distribution map by the debugging to be the algorithm has certain characteristic, it includes:thm each kind of operation must have the determination significance, this kind of operation should carry out what kind of movement should not to have the ambiguity, the goal is clear;ts the operation which in the algorithm waits for realizing is basic, each kind of operation can at least completes in the principle by the human with the paper and the pen in the limited time;③ algorithm has 0 or the many inputs, before the algorithm operation starts gives the algorithm to need the data the starting value, these inputs are from the specific object set; for the algorithm operation result, an algorithm has or many outputs, the output has some kind of specific relational quantity with the input;⑤ has algorithm always after carrying out had the poor step operation has terminated, namely this algorithm was may ies a first four characteristic group of rule not to be able to be called the algorithm, can only be called the computational proce, the operating system is a computational proce example, the operating system uses for to manage the computer resources, controls the manufacture industry movement, when has not made industry the movement, the computational proce does not stop, but is at the waiting algorithm complexity is the algorithm efficiency measure, when appraises the algorithm performance, the complexity is an important algorithm complex degree with moves computer resources how many which this algorithm needs related, needs the resources are more, indicated that this algorithm the complexity is higher;needs the resources are le, indicated that this algorithm the complexity is spatial resources, which computer’s resources, operate most importantly, needs the time which and the stored routine and the data need, the algorithm complexity has spanision time complexity and the spatial complexity.8 / 19 the algorithm carries out the operation on the computer, needs the data which certain storage space depositing description algorithm the procedure and the algorithm need, the computer completes the operation task to require certain procedure which writes according to the different algorithm places when on the computer operates, needs the time and the space are different, the algorithm complexity is needs the time and the spatial one kind of measure to the algorithm different computer its operating speed difference is very big, is weighing an algorithm the complexity to note this ing question, which aigns willfully, a profitable target which designs, the complex low algorithm is as far as poible when designs algorithm er, when the question, which aigns already when has many kinds of algorithms, an important criterion which choice complexity low, is when selects algorithm should ore, the algorithm complex analysis or selects to the algorithm design has the important guiding sense and the use discuion algorithm complexity, two questions need to clarify:(1 an algorithms complexity exprees with what kind of quantity;(2 how to calculate one to aign the algorithm the finding solves a question the algorithm, is this algorithm realization, as for whether could find the method which realized, was decided in the algorithm circularity and the computation complexity, whether this question did have the solution algorithm, whether to provide the time resources which and the spatial resources the algorithm basic 語言與算法
1991年,美國微軟公司推出了visual basic(可簡稱vb,目前的最新版本是vb 2008 beta2(vb9中文版。
9 / 19 visual 意即可視的、可見的,指的是開發(fā)像windows操作系統(tǒng)的圖形用戶界面(graphic user interface,gui的方法,它不需要編寫大量代碼去描述界面元素的外觀和位置,只要把預(yù)先建立好的對象拖放到屏幕上相應(yīng)的位置即可。
basic 實際上是一個短語的縮寫,這個短語就是 beginners all_purpose symbolic instruction code ,其中文意思為“初始者通用符號指令代碼語言”。visual basic有學(xué)習(xí)版、專業(yè)版和企業(yè)版三種版本,以滿足不同的開發(fā)需要。學(xué)習(xí)版適用于普通學(xué)習(xí)者及大多數(shù)使用visual basic開發(fā)一般windows應(yīng)用程序的人員,但是;專業(yè)版適用于計算機(jī)專業(yè)開發(fā)人員,包括了學(xué)習(xí)版的全部內(nèi)容功能以及internet控件開發(fā)工具之類的高級特性;企業(yè)版除包含專業(yè)版全部的內(nèi)容外,還有自動化構(gòu)件管理器等工具,使得專業(yè)編程人員能夠開發(fā)功能強(qiáng)大的組骨子里分布式應(yīng)用程序。
visual basic 第1節(jié)visual basic的概述
microsoft visual basic(簡稱vb是在windows操作平臺下設(shè)計應(yīng)用程序的最速度、最簡捷的工具之一。不論是初學(xué)者還是專業(yè)開發(fā)人員,vb都為他們提供了一整套的工具,可以輕松方便的開發(fā)應(yīng)用程序。因此,vb一直被作為大多數(shù)電腦初學(xué)者的首選入門編程語言。
“visual”指的是采用可視化的開發(fā)圖形用戶界面(gui的方法,一般不需要編寫大量代碼去描述界面元素的外觀和位置,而只要把需要的控件拖放到屏幕上的相應(yīng)位置即可方便圖形設(shè)計圖形用戶界面;“basic”指的是 basic語言,因為vb是在原有的baisc語言的基礎(chǔ)上發(fā)展起來的。
vb是 microsoft的一種通用程序設(shè)計語言,它包括在 microsoft excel、microsoft acce等眾多windows應(yīng)用軟件中的vba都使用vb語言,以供用戶進(jìn)行二次開發(fā);目前制作網(wǎng)頁使用較多的vbscript腳本語言也是vb的子集。
利用vb的數(shù)據(jù)訪問特性用戶可以對包括 microsoft sql server和其他企業(yè)數(shù)據(jù)庫在內(nèi)的大部分?jǐn)?shù)據(jù)庫格式創(chuàng)建數(shù)據(jù)庫和前端應(yīng)用程序,以及可調(diào)整的服務(wù)端部
10 / 19 件。利用activex(tm技術(shù),vb可使用 microsoft word字處理器、microsoft excel電子數(shù)據(jù)表極其他windows應(yīng)用程序提供的功能,甚至可直接
使用由vb專業(yè)版或企業(yè)版創(chuàng)建的應(yīng)用程序和對象。文件,可以自由發(fā)布。
vb提供了學(xué)習(xí)版,專業(yè)版和企業(yè)版,用以滿足不同的開發(fā)需求。學(xué)習(xí)版使編程人員很容易地開發(fā)windows和windows nt的應(yīng)用程序。專業(yè)版為專業(yè)編程人員提供了功能完備的開發(fā)工具,專業(yè)版中包含了學(xué)習(xí)版的所有功能。企業(yè)版允許專業(yè)人員以小組的形式來創(chuàng)建強(qiáng)大的分布式應(yīng)用程序。它包括專業(yè)版的所有的特性。所以可以根據(jù)不同的需要來選擇不同的版本。
第2節(jié)集成開發(fā)環(huán)境
vb的集成環(huán)境或稱ide,由多個部分組成,包含了標(biāo)題欄、菜單欄、工具欄、控件箱,以及窗體設(shè)計器窗口、工程管理器窗口、屬性窗口、代碼窗口和窗體布局窗體布局等。覆蓋了開發(fā)應(yīng)用程序的設(shè)計、編輯、編譯和調(diào)試等所有功能。
在vb中,應(yīng)用程序也稱工程。當(dāng)?shù)谝淮螁觱b并打開一個新工程時,可以看到如圖所示的集成開發(fā)環(huán)境界面。
visual basic 集成開發(fā)環(huán)境
vb通過工程來組織應(yīng)用程序的開發(fā),使用工程來管理構(gòu)成應(yīng)用程序的所有文件。一個工程一般由若干個窗體、標(biāo)準(zhǔn)模塊以及應(yīng)用環(huán)境組成。系統(tǒng)通過工程菜單來對工程進(jìn)行管理,如添加窗體、引用等。系統(tǒng)允許同時打開和管理多個工程。
第3節(jié)visual basic語言簡介
basic是最常被用來做入門使用的高級語言。它的全名是 beginner’s all-purpose sumbolic instruction code,簡稱為 basic。顧名思義,basic 就是一種專為初學(xué)者設(shè)計的語言,因其易學(xué)易懂,所以身受歡迎。早期的basic 語言都是屬于解譯式
11 / 19 的,因此可以一行一行地執(zhí)行,所以它可以立刻看到執(zhí)行的結(jié)果,對初學(xué)者來說這是很方便的設(shè)計。不過它也因此沒有結(jié)構(gòu)化的概念,在程序的維護(hù)及管理上比起其他語言困難許多。不過在后期的basic則改正了以上的缺點(如quick basic,使得它也可以用來開發(fā)較大型的程序。
語言是構(gòu)成vb程序的基本成分。vb規(guī)定了語句格式和功能。語法: 語句定義符[語句體] 語句定義符用于規(guī)定語句的功能,語句體指定語句的具體內(nèi)容或要執(zhí)行的具體操作。所有語句的集合就是vb語言,用vb語句進(jìn)行有機(jī)組合完成某個特定功能就是程序。界面+程序就能解決某個應(yīng)用問題。
vb應(yīng)用程序代碼一般在“代碼編輯器”窗口編寫?!按a編輯器”像是一個高度專門化的字處理軟件,有很多便于編寫vb代碼的功能,圖所示為[例ex-hello]在“代碼編輯器”窗口編寫的代碼。
“代碼編輯器”窗口
第4節(jié)用visual basic開發(fā)應(yīng)用程序
使用vb編程,一般先設(shè)計應(yīng)用程序的外觀,然后再分別編寫各對象事件的程序代碼或其他處理程序,編程的工作要輕松多。
創(chuàng)建應(yīng)用程序的步驟如下: 1.創(chuàng)建應(yīng)用程序界面
界面是用戶和程序交互的橋梁,用vb創(chuàng)建的標(biāo)準(zhǔn)的windows應(yīng)用程序的界面一般由窗體和按鈕、菜單、文本框的圖象框等構(gòu)成。根據(jù)程序的功能要求和用戶與程序之間的信息交流的需要,來確定需要那些對象,規(guī)劃界面的布局。
12 / 19 2.設(shè)計界面上各個對象的屬性
根據(jù)規(guī)劃的界面要求設(shè)置各個對象的屬性,比如對象的外貌、名稱、顏色、大小等。
大多數(shù)屬性取值既可以在設(shè)計時通過屬性窗口來設(shè)置,也可以在程序代碼中通過編程在程序運(yùn)行時設(shè)置修改。
3.編程對象響應(yīng)的程序代碼
界面僅僅決定了程序的外觀,設(shè)計完界面后就要通過“代碼編輯器”
窗口來添加代碼,實現(xiàn)一些在接受外界信息后作出響應(yīng)、信息處理等任務(wù),添加代碼,實現(xiàn)一些在接受外界信息后作出的響應(yīng)、信息處理等任務(wù),添加代碼如圖的代碼編輯窗口所示
“代碼編輯器”窗口 4.保存工程
一個vb程序就是一個工程,在設(shè)計一個應(yīng)用程序時,的工程文件,工程文件包含了該工程所建立的所有文件的相關(guān)信息,保存工程就同時保存了該工程的所有相關(guān)文件。的窗體文件中。在打開一個工程(文件時,該工程有關(guān)的所有文件同時被裝載。
5.行和調(diào)試程序
通過“運(yùn)行”菜單中的選項來運(yùn)行程序,當(dāng)出現(xiàn)錯誤時, vb系統(tǒng)可以提供信息提示也可通過“調(diào)試”和“運(yùn)行”菜單來查找和排除錯誤。
6.生成可執(zhí)行程序
13 / 19 為了使程序可以脫離vb環(huán)境,通過“文件”菜單中的“”命令來生成可執(zhí)行程序(.exe文件,此后即可直接執(zhí)行該文件。在生成可+執(zhí)行程序后,再通過安裝向?qū)⑺邢嚓P(guān)文件打包,就可以作為一個軟件產(chǎn)品在windows 9x/2000 環(huán)境下安裝后獨立運(yùn)行
vb的數(shù)據(jù)庫編程方面按其難易程度可分為三類(由易到難;●使用數(shù)據(jù)庫控制項和綁定控制項 ●使用數(shù)據(jù)庫對象變量進(jìn)行編程 ●直接調(diào)用odbc2.0api 在使用vb進(jìn)行數(shù)據(jù)庫編程時,通常,會首先選擇三種基本方法之一來進(jìn)行數(shù)據(jù)庫應(yīng)用程序的方案設(shè)計, 現(xiàn)在就將以上三種設(shè)計方法的適應(yīng)范圍及其優(yōu)缺點進(jìn)行一個比較。
1 使用數(shù)據(jù)庫控制項和綁定控制項 1.1優(yōu)點
它是三種方法中編碼量最小的 不必了解cdbc2.0api的細(xì)節(jié)
允許使用標(biāo)準(zhǔn)的和第三方廠商制訂的控制項 簡化了錯誤處理
支持所有的動態(tài)集方法及屬性 1.2缺點
不能存取快照對象(snapshop對象或表格對象(都屬于記錄集對象
14 / 19 不能存取數(shù)據(jù)庫集合,比如表定義(tabledefs字段(fieds,索引(indexes及查詢定義(querydefs 只能存取部分odbc2.0管理函數(shù) 不能進(jìn)行真正的事務(wù)處理 有限的錯誤診斷功能 1.3應(yīng)用
對中小規(guī)模的數(shù)據(jù)庫表(通常少于一千條記錄只進(jìn)行簡章的瀏覽操作 基本sql查詢所對應(yīng)的結(jié)果集長度有限(通常結(jié)果集的記錄數(shù)小于一百, 這些記錄從一個或兩個長度有限的表中檢索出來
應(yīng)用程序的數(shù)據(jù)輸入/輸出項較少(通常只涉及一個或兩個長度有限的表、并且表中的字段數(shù)在10個左右且不具有關(guān)系完整性限制 2 使用數(shù)據(jù)庫對象變量進(jìn)行編程 2.1 優(yōu)點
可以在程序中存取odbc2.0的管理函數(shù)
可以控制多種記錄集類型:dynaset、snapshop及table記錄集合對象 可以存取存儲過程和查詢動作
可以存取數(shù)據(jù)庫集合對象,例如tabledefs、fields、indexes及querydefs 具有真正的事務(wù)處理能力 , 包括啟動事務(wù)(begintrans、提交事務(wù)(committrans及回滾事務(wù)(rollback 2.2 缺點
15 / 19 比使用數(shù)據(jù)控制項的方法編碼量較大 只能進(jìn)行間接的錯誤處理和錯誤恢復(fù) 對每個數(shù)據(jù)庫操作沒有細(xì)粒度的控制
對結(jié)果集和包含結(jié)果集的內(nèi)豐資源的操作受到限制 同直接使用odbc2.0api函數(shù)的方法相比性能較低 2.3 應(yīng)用
應(yīng)用程序需要在執(zhí)行期間動態(tài)地建立表、字段及索引.應(yīng)用程序涉及同步更新幾張表(但在邏輯上保持一致性的復(fù)雜事務(wù)
應(yīng)用程序使用結(jié)果集而不是dynaset的窗體(forms,例如snapshots或tables,這里是設(shè)計要考慮的關(guān)鍵
應(yīng)用程序的表非常大,多于1000條記錄
應(yīng)用程序具有復(fù)雜的數(shù)據(jù)輸入/輸出項,它涉及許多內(nèi)部相關(guān)的字段并且包括數(shù)據(jù)庫參照完整性或一致性規(guī)則
應(yīng)用程序需要執(zhí)行一些額外的操作和對結(jié)果集的查詢后處理, 尤其是需要 很高的數(shù)據(jù)格式化顯示
應(yīng)用程序需要利用復(fù)雜的odbc管理功能以選擇、配置、校驗及建立各種數(shù)據(jù)源
應(yīng)用程序需要在執(zhí)行期間“顯示”數(shù)據(jù)庫的基本結(jié)構(gòu) 應(yīng)用程序需要使用復(fù)雜的多碼索引方式來檢索或更新記錄 3 直接調(diào)用odbc2.0api
16 / 19 3.1 優(yōu)點
可以直接參與結(jié)果集的開發(fā)、管理及規(guī)范化
對結(jié)果集游標(biāo)提供了更多的控制,并且提供了更多的游標(biāo)類型和執(zhí)行動作 能夠確定odbc驅(qū)動程序及sql的一致性級別 可以更好地控制windows的執(zhí)行調(diào)度及資源利用
其他方面同其他方法差不多,因此這種方法很可能具有最好的性能 3.2 缺點
較其他兩種方法需要大量的代碼
代碼復(fù)雜并且要求程序員具有編制api調(diào)用的經(jīng)驗
在網(wǎng)絡(luò)上visual basic運(yùn)行期間庫的錯誤處理缺乏安全性,因此代碼運(yùn)行期間出現(xiàn)的錯誤所造成的后果會非常嚴(yán)重
3.3 應(yīng)用
如果系統(tǒng)環(huán)境為客戶機(jī)/服務(wù)器模式下的大規(guī)模多用戶環(huán)境,那么應(yīng)用程序必須都能夠準(zhǔn)確地解決可能出現(xiàn)的系統(tǒng)錯誤和失敗
應(yīng)用程序強(qiáng)調(diào)資源使用,這里如何對內(nèi)存、網(wǎng)絡(luò)服務(wù)器資源進(jìn)行直接控制是首要的考慮因素
應(yīng)用程序使用超大規(guī)模數(shù)據(jù)庫,例如數(shù)據(jù)庫表可能包含幾萬或幾十萬條記錄計算機(jī)系統(tǒng)中的任何軟件,都是由大大小小的各種軟件組成部分構(gòu)成,各自按照特定的算法來實現(xiàn),算法的好壞直接決定所實現(xiàn)軟件性能的優(yōu)劣。用什么方法來設(shè)計算法,所設(shè)計算法需要什么樣的資源,需要多少運(yùn)行時間、多少存儲空間,如何判定一個算法的好壞,在實現(xiàn)一個軟件時,都是必須予以解決的。計算機(jī)系統(tǒng)中的操作系統(tǒng)、語
17 / 19 言編譯系統(tǒng)、數(shù)據(jù)庫管理系統(tǒng)以及各種各樣的計算機(jī)應(yīng)用系統(tǒng)中的軟件,都必須用一個個具體的算法來實現(xiàn)。因此,算法設(shè)計與分析是計算機(jī)科學(xué)與技術(shù)的一個核心問題。
算法是解題的步驟,我們可以把算法定義成解一確定類問題的任意一種特殊的方法。在計算機(jī)科學(xué)中,算法要用計算機(jī)算法語言描述,算法代表用計算機(jī)解一類問題的精確、有效的方法。算法+數(shù)據(jù)結(jié)構(gòu)=程序,求解一個給定的可計算或可解的問題,不同的人可以編寫出不同的程序,來解決同一個問題,這里存在兩個問題:一是與計算方法密切相關(guān)的算法問題;二是程序設(shè)計的技術(shù)問題。算法和程序之間存在密切的關(guān)系。算法是一組有窮的規(guī)則,它們規(guī)定了解決某一特定類型問題的一系列運(yùn)算,是對解題方案的準(zhǔn)確與完整的描述。制定一個算法,一般要經(jīng)過設(shè)計、確認(rèn)、分析、編碼、測試、調(diào)試、計時等階段。對算法的學(xué)習(xí)包括五個方面的內(nèi)容:①設(shè)計算法。算法設(shè)計工作是不可能完全自動化的,應(yīng)學(xué)習(xí)了解已經(jīng)被實踐證明是有用的一些基本的算法設(shè)計方法,這些基本的設(shè)計方法不僅適用于計算機(jī)科學(xué),而且適用于電氣工程、運(yùn)籌學(xué)等領(lǐng)域;②表示算法。描述算法的方法有多種形式,例如自然語言和算法語言,各自有適用的環(huán)境和特點;③確認(rèn)算法。算法確認(rèn)的目的是使人們確信這一算法能夠正確無誤地工作,即該算法具有可計算性。正確的算法用計算機(jī)算法語言描述,構(gòu)成計算機(jī)程序, 計算機(jī)程序在計算機(jī)上運(yùn)行,得到算法運(yùn)算的結(jié)果;④ 分析算法。算法分析是 對一個算法需要多少計算時間和存儲空間作定量的分析。分析算法可以預(yù)測這一 算法適合在什么樣的環(huán)境中有效地運(yùn)行,對解決同一問題的不同算法的有效性作 出比較;⑤ 驗證算法。用計算機(jī)語言描述的算法是否可計算、有效合理,須對 程序進(jìn)行測試,測試程序的工作由調(diào)試和作時空分布圖組成。而算法具有一定的特性,它包括:① 確定性。算法的每一種運(yùn)算必須有確 定的意義,該種運(yùn)算應(yīng)執(zhí)行何種動作應(yīng)無二義性,目的明確;② 能行性。要求 算法中有待實現(xiàn)的運(yùn)算都是基本的,每種運(yùn)算至少在原理上能由人用紙和筆在有 限的時間內(nèi)完成;③ 輸入。一個算法有 0 個或多個輸入,在算法運(yùn)算開始之前 給出算法所需數(shù)據(jù)的初值,這些輸入取自特定的對象集合;④ 輸出。作為算法 運(yùn)算的結(jié)果,一個算法產(chǎn)生一個
18 / 19 或多個輸出,輸出是同輸入有某種特定關(guān)系的量; ⑤ 有窮性。一個算法總是在執(zhí)行了有窮步的運(yùn)算后終止,即該算法是可達(dá)的。滿足前四個特性的一組規(guī)則不能稱為算法,只能稱為計算過程,操作系統(tǒng)是計算 過程的一個例子,操作系統(tǒng)用來管理計算機(jī)資源,控制作業(yè)的運(yùn)行,沒有作業(yè)運(yùn) 行時,計算過程并不停止,而是處于等待狀態(tài)。算法的復(fù)雜性是算法效率的度量,在評價算法性能時,復(fù)雜性是一個重要的 依據(jù)。算法的復(fù)雜性的程度與運(yùn)行該算法所需要的計算機(jī)資源的多少有關(guān),所需 要的資源越多,表明該算法的復(fù)雜性越高;所需要的資源越少,表明該算法的復(fù) 雜性越低。計算機(jī)的資源,最重要的是運(yùn)算所需的時間和存儲程序和數(shù)據(jù)所需的空間資 源,算法的復(fù)雜性有時間復(fù)雜性和空間復(fù)雜性之分。算法在計算機(jī)上執(zhí)行運(yùn)算,需要一定的存儲空間存放描述算法的程序和算法 所需的數(shù)據(jù),計算機(jī)完成運(yùn)算任務(wù)需要一定的時間。根據(jù)不同的算法寫出的程序 放在計算機(jī)上運(yùn)算時,所需要的時間和空間是不同的,算法的復(fù)雜性是對算法運(yùn) 算所需時間和空間的一種度量。不同的計算機(jī)其運(yùn)算速度相差很大,在衡量一個 算法的復(fù)雜性要注意到這一點。對于任意給定的問題,設(shè)計出復(fù)雜性盡可能低的算法是在設(shè)計算法時考慮的 一個重要目標(biāo)。另外,當(dāng)給定的問題已有多種算法時,選擇其中復(fù)雜性最低者,是在選用算法時應(yīng)遵循的一個重要準(zhǔn)則。因此,算法的復(fù)雜性分析對算法的設(shè)計 或選用有著重要的指導(dǎo)意義和實用價值。
19 / 19
第4篇:技術(shù)助理崗位職責(zé)(養(yǎng)殖類)1.公司水產(chǎn)類產(chǎn)品推廣過程中的技術(shù)支持及售后服務(wù)工作。2.公司水產(chǎn)類產(chǎn)品使用說明及養(yǎng)殖手冊的編輯工作。3.養(yǎng)殖用戶技術(shù)問題的解答。計算機(jī)技術(shù)員崗位職責(zé)篇五
通用技術(shù)實驗室管理員崗位職責(zé)
1、樹立為
教學(xué)
服務(wù)的思想,嚴(yán)格遵守通用技術(shù)實驗室管理制度,認(rèn)真研究教材和技術(shù)實踐內(nèi)容,掌握本學(xué)科各種儀器設(shè)備的規(guī)格、性能和用途,能熟練操作,同時具有一定的維修儀器技能,會修理一般儀器及設(shè)備。2、按規(guī)定領(lǐng)取和添置教學(xué)儀器、設(shè)備,建好儀器設(shè)備賬細(xì)目表。每學(xué)期末核對賬物,并向主管領(lǐng)導(dǎo)匯報儀器、設(shè)備的損耗情況,編報下學(xué)期添置儀器、設(shè)備、耗材計劃。
3、堅守工作崗位。課前按照任課教師提交的實踐通知單準(zhǔn)備好所需要的儀器設(shè)備,協(xié)助教師完成通用技術(shù)實踐教學(xué)。
4、積極配合任課教師安全、規(guī)范地組織學(xué)生進(jìn)行教學(xué)實踐,引導(dǎo)學(xué)生按照設(shè)備的安全說明書進(jìn)行實踐活動,杜絕一切不安全的事件發(fā)生。
5、操作完畢,與任課教師共同清點和整理好儀器、設(shè)備、模型,特別是實踐工具和學(xué)生實踐器材,如有損壞,要填表登記,及時查明原因。
6、根據(jù)儀器不同特性,定期做好儀器的保養(yǎng)、維修、校驗和安全存放工作。貴重儀器,必須按要求妥善保管。
7、儀器設(shè)備工具和模型要按照管理制度要求進(jìn)行分類和編號,定位入柜,陳列整齊,經(jīng)常保持實踐室和準(zhǔn)備室通風(fēng)、干燥和清潔衛(wèi)生。
8、專職管理人員如因工作調(diào)動或其它原因離開實踐室,必須認(rèn)真辦好儀器設(shè)備、賬目等的移交手續(xù)。
9、認(rèn)真做好實驗室的安全管理工作,定期檢查消防設(shè)施,禁止超負(fù)荷用電,防止電氣火災(zāi)。離開教室前,必須對門、窗、水源、電源等進(jìn)行全面檢查。
10、協(xié)助教師維修和自制教具,支持學(xué)生開展科技活動、綜合實踐活動。
【本文地址:http://mlvmservice.com/zuowen/1062312.html】