1. 下列說(shuō)法正確的是 ( ) A. Java語(yǔ)言不區(qū)分大小寫(xiě) B. Java程序以類(lèi)為基本單位 C. JVM為Java虛擬機(jī)JVM的英文縮寫(xiě) D. 運(yùn)行Java程序需要先安裝JDK 2. 下列說(shuō)法中錯(cuò)誤的是 ( ) A. Java語(yǔ)言是編譯執(zhí)行的 B. Java中使用了多進(jìn)程技術(shù) C. Java的單行注視以//開(kāi)頭 D. Java語(yǔ)言具有很高的安全性 3. 下面不屬于Java語(yǔ)言特點(diǎn)的一項(xiàng)是( ) A. 安全性 B. 分布式 C. 移植性 D. 編譯執(zhí)行 4. 下列語(yǔ)句中,正確的項(xiàng)是 ( ) A . int $e,a,b=10 B. char c,d=’a’ C. float e=0.0d D. double c=0.0f
上傳時(shí)間: 2017-01-04
上傳用戶:netwolf
1.推動(dòng)教育學(xué)發(fā)展的內(nèi)在動(dòng)力是( D)的發(fā)展。A.教育規(guī)律 B.教育價(jià)值 C.教育現(xiàn)象 D.教育問(wèn)題 2.提出“泛智”教育思想,探討“把一切事物教給一切人類(lèi)的全部藝術(shù)”的教育家是( B)A.培根 B.夸美紐斯 C.赫爾巴特 D.贊可夫
上傳時(shí)間: 2017-01-06
上傳用戶:1427796291
針對(duì)目前使用的RS232接口數(shù)字化B超鍵盤(pán)存在PC主機(jī)啟動(dòng)時(shí)不能設(shè)置BIOS,提出一種PS2鍵盤(pán)的設(shè)計(jì)方法。基于W78E052D單片機(jī),采用8通道串行A/D轉(zhuǎn)換器設(shè)計(jì)了8個(gè)TGC電位器信息采集電路,電位器位置信息以鍵盤(pán)掃描碼序列形式發(fā)送,正交編碼器信號(hào)通過(guò)XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號(hào),軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開(kāi)機(jī)可設(shè)置BIOS同時(shí),又可實(shí)現(xiàn)超聲特有功能,不需要專(zhuān)門(mén)設(shè)計(jì)驅(qū)動(dòng)程序,接口簡(jiǎn)單,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
標(biāo)簽: 單片機(jī) B超 數(shù)字化 鍵盤(pán)設(shè)計(jì)
上傳時(shí)間: 2013-10-10
上傳用戶:asdfasdfd
問(wèn)題描述 序列Z=<B,C,D,B>是序列X=<A,B,C,B,D,A,B>的子序列,相應(yīng)的遞增下標(biāo)序列為<2,3,5,7>。 一般地,給定一個(gè)序列X=<x1,x2,…,xm>,則另一個(gè)序列Z=<z1,z2,…,zk>是X的子序列,是指存在一個(gè)嚴(yán)格遞增的下標(biāo)序列〈i1,i2,…,ik〉使得對(duì)于所有j=1,2,…,k使Z中第j個(gè)元素zj與X中第ij個(gè)元素相同。 給定2個(gè)序列X和Y,當(dāng)另一序列Z既是X的子序列又是Y的子序列時(shí),稱(chēng)Z是序列X和Y的公共子序列。 你的任務(wù)是:給定2個(gè)序列X、Y,求X和Y的最長(zhǎng)公共子序列Z。
上傳時(shí)間: 2014-01-25
上傳用戶:netwolf
1) A道和B道上均有車(chē)輛要求通過(guò)時(shí),A、B道輪流放行。A道放行5分鐘(調(diào)試時(shí)改為5秒鐘),B道放行4分鐘(調(diào)試時(shí)改為4秒鐘)。 2) 一道有車(chē)而另一道無(wú)車(chē)(實(shí)驗(yàn)時(shí)用開(kāi)關(guān)K0和K1控制),交通燈控制系統(tǒng)能立即讓有車(chē)道放行。 3) 有緊急車(chē)輛要求通過(guò)時(shí),系統(tǒng)要能禁止普通車(chē)輛通行,A、B道均為紅燈,緊急車(chē)由K2開(kāi)關(guān)模擬。 4) 綠燈轉(zhuǎn)換為紅燈時(shí)黃燈亮1秒鐘。
標(biāo)簽:
上傳時(shí)間: 2013-12-19
上傳用戶:daguda
A方向和B方向各設(shè)紅(R)、黃(Y)、綠(G)和左拐(L)4盞燈,4種燈按合理的順序亮滅,并將時(shí)間以倒計(jì)時(shí)的形式顯示出來(lái)。同時(shí)要設(shè)置兩個(gè)方向的緊急通道模式,當(dāng)某一方向有緊急事件發(fā)生時(shí),交警按下緊急通道按鈕,該方向綠燈亮,另外一個(gè)方向紅燈亮,等緊急事件解除后(假定計(jì)時(shí)10s),交通恢復(fù)原來(lái)的狀態(tài) 要求在數(shù)碼管上顯示兩個(gè)方向的燈種和計(jì)時(shí),實(shí)現(xiàn)緊急情況按鈕輸入功能 根據(jù)交通燈控制要實(shí)現(xiàn)的功能,可考慮用兩個(gè)并行執(zhí)行的always模塊(兩個(gè)進(jìn)程)來(lái)分別控制A和B兩個(gè)方向的4盞燈。這兩個(gè)always模塊使用同一個(gè)時(shí)鐘信號(hào),以進(jìn)行同步,也就是說(shuō),兩個(gè)進(jìn)程的敏感信號(hào)時(shí)同一個(gè) 每個(gè)always模塊控制一個(gè)方向的4種燈按如下順序點(diǎn)亮,并往復(fù)循環(huán):綠燈-黃燈-左拐燈-黃燈-紅燈,燈亮的時(shí)間由自己設(shè)定 由于板上資源有限,如覺(jué)得實(shí)現(xiàn)困難,可去掉左拐燈,即順序?yàn)榫G燈-黃燈-紅燈。
標(biāo)簽: 方向
上傳時(shí)間: 2016-10-07
上傳用戶:CHINA526
某幼兒園按如下方法依次給A,B,C,D,E五個(gè)小孩發(fā)糖果。將全部糖果的一半再加二分之一塊糖果發(fā)給第一個(gè)小孩;將剩下糖果的三分之一再加三分之一塊糖果發(fā)給第二個(gè)小孩;將剩下糖果的四分之一再加四分之一塊糖果發(fā)給第三個(gè)小孩;將剩下糖果的五分之一再加五分之一塊糖果發(fā)給第四個(gè)小孩;將最后剩下的11塊糖果發(fā)給第五個(gè)小孩。每個(gè)小孩得到的糖果數(shù)均為整數(shù)。試確定原來(lái)共有多少塊糖果?每個(gè)小孩各得到多少塊糖果? 要求結(jié)果的輸出格式為 sum=糖果總數(shù) xa=A得到的糖果數(shù) xb=B得到的糖果數(shù) xc=C得到的糖果數(shù) xd=D得到的糖果數(shù) xe=E得到的糖果數(shù)
標(biāo)簽:
上傳時(shí)間: 2015-06-02
上傳用戶:葉山豪
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
標(biāo)簽: government streamline important alphabet
上傳時(shí)間: 2015-06-09
上傳用戶:weixiao99
剖析Intel IA32 架構(gòu)下C 語(yǔ)言及CPU 浮點(diǎn)數(shù)機(jī)制 Version 0.01 哈爾濱工業(yè)大學(xué) 謝煜波 (email: xieyubo@126.com 網(wǎng)址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 這兩天翻看一本C 語(yǔ)言書(shū)的時(shí)候,發(fā)現(xiàn)上面有一段這樣寫(xiě)到 例:將同一實(shí)型數(shù)分別賦值給單精度實(shí)型和雙精度實(shí)型,然后打印輸出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 運(yùn)行結(jié)果如下:
標(biāo)簽: Version xieyubo Intel email
上傳時(shí)間: 2013-12-25
上傳用戶:徐孺
This section contains a brief introduction to the C language. It is intended as a tutorial on the language, and aims at getting a reader new to C started as quickly as possible. It is certainly not intended as a substitute for any of the numerous textbooks on C. 2. write a recursive function FIB (n) to find out the nth element in theFibanocci sequence number which is 1,1,2,3,5,8,13,21,34,55,…3. write the prefix and postfix form of the following infix expressiona + b – c / d + e * f – g * h / i ^ j4. write a function to count the number of nodes in a binary tr
標(biāo)簽: introduction the contains intended
上傳時(shí)間: 2013-12-23
上傳用戶:liansi
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1