Objective and Subjective Evaluation of Floor Impact Noise

Objective and Subjective Evaluation of Floor Impact Noise
Objective and Subjective Evaluation of Floor Impact Noise

Objective and Subjective Evaluation of Floor Impact Noise

Jin Yong Jeon and Jeong Ho Jeong

School of Architectural Engineering, Hanyang University, Seoul 133-791, Korea

Yoichi Ando

Graduate School of Science and Technology, Kobe University, Rokkodai, Nada, Kobe, 657-8501, Japan (Received 1 October 2001; accepted 25 February 2002)

Floor impact noise has been evaluated by investigating the temporal and spectral characteristics of the noise. The noises generated by different impactors were analyzed to find out whether there is any correlation with the factors of ACF/IACF (Autocorrelation Function/Inter-aural Cross-correlation Function) [1] and Zwicker parameters [2]. Experiments were undertaken to compare the objective and subjective parameters of the floor impact noises generated by a bang/tapping machine, a rubber ball [3], and a walker. As a result, it was found that Φ(0) and IACC extracted from ACF/IACF, and Loudness, Unbiased Annoyance from Zwicker parameters showed high correlation with subjective evaluations of loudness concerning floor impact noises. In addition, it was revealed that jumping is similar to the ball.

Keywords: floor impact noise, subjective evaluation, ACF/IACF, Zwicker parameteres

1. INTRODUCTION

Floor impact noise has been regarded as the most irritating among the noises in multi-story residential buildings. With increasing demands from residential groups, it is likely that new regulations to control the impact of noise will be established. However, the general problem in evaluating the impact noise is the standard noise source; both the tapping and the bang machine have been widely used, but using a soft impactor known as a ‘rubber ball’ has not been standardized in ISO. Psychoacoustical characteristics of the noise, such as ACF/IACF (auto-correlation/interaural cross-correlation function) factors and Zwicker’s parameters, have not been fully acknowledged.

In this paper, we analyzed the statistical sound pressure levels, the ACF/IACF factors and Zwicker’s parameters extracted from floor impact noise generated by operating the tapping machine and the bang machine, and dropping a rubber ball together with a child’s jumping. For the noise sources, auditory experiments were undertaken to evaluate people’s loudness perception of floor impact noise. The main purpose of the experiments is to find out the physical and psychoacoustical parameters which have a high correlation with subjective loudness. At the same time, selecting a floor impact noise source, which has the highest correlation with subjective reaction among three floor impact noise sources, is also pursued. Through the results of the experiments, we would like to choose a proper noise source, which is most similar to a children’s jumping in points of objective and subjective evaluations, and to utilize it as a standard method to evaluate the reduction ability of floor impact noise in multi-story residential buildings. Also, the results could set the direction for actualizing the residential environment, which make inhabitants realize the acoustical improvement of the floor impact noise and to make use of them as floor impact reduction evaluations by evaluating psychoacoustical factors.

In Germany, in 1932, Reiher developed the evaluating method of floor impact noise using a tapping machine. In 1953, Germany industrially standardized the method for measuring floor impact noise from laboratory and in-situ experimentation (DIN-52211) and for the first time established a structure construction guide (DIN 4109) for floated floors. With these results, many countries have established their measuring method since 1950.

In 1965, Watters [4] reported the experimental results about the characteristics of floor impact noise in terms of the floor impact spectrum of the tapping machine and women’s high-healed shoes. However, Olynyk and Northwood [5] reported that the noise evaluation using a tapping machine is difficult to replicate the real impact characteristics of a floor. In addition, they claimed that the FHA (U.S. Federal Housing Administration)’s evaluation curve is different from the results

as walking, running, jumping, a sand bag, a sand ball, a tire and a tapping machine. Stewart et al. [9] suggested SEA

(Statistical Energy Analysis) as a predicting method of floor impact noise. Recently, Warnock [10] of the NRC (National Research Council of Canada) confirmed that the loudness of real impact noise is similar to the loudness of lightweight impact (tapping) noise.

In Japan, in 1965, the “Law for Housing Construction Plan”was announced, and also in 1973, “the experimental method for measuring floor impact noise (JIS A 1418)” was established. After that, the measuring method for heavyweight impact noise was developed for Japanese residential situations, and the sound isolation material such as “Rock wool shock-absorbing material for floated structure (JIS A 9321)” was classified. The national standards for sound isolation and the design guides of buildings were then proposed. In the early 1970’s, the Japanese Housing Corporation regulated indoor noise criteria and noise control methods that stimulated the research (e.g., [11]) to prevent floor impact noise. In the mid 1980’s, the research for predicting floor impact noise using Finite Element Method (FEM), Modal Analysis and Impedance Method has been actively undertaken. Lately, Tachibana et al. [12] suggested Zwicker’s Loudness as an exact noise measure through auditory experiments on subjects who are exposed to low frequency noise, and they also proposed the arithmetic mean of sound pressure levels in octave bands as a single measure.

In Japanese standards, both lightweight (tapping machine) and heavyweight (bang machine ? ‘tire’) impact sources are utilized. Through the recent improvement of measuring and evaluating methods for floor impact noise, a ‘rubber ball’ was suggested as the second heavy impact source. Tachibana [3] found that a rubber ball has similar frequency characteristics to real impact noise for several floor structures. Very recently in Japan, the grade for floor impact noise was divided into five grades in the law for housing quality control [13].

2. EXPERIMENTAL METHOD

2.1 Noise Stimuli

Measuring and recording were performed in a four-bedroom apartment (140m2), which has a reinforced concrete structure. Ten suites of the apartment were selected for floor impact noise measurements. The measuring condition of the place was just before moving-in after completing construction. The floor structures of ten suites consist of one standard floor that was maintained as an original structure and nine other structures that were constructed under different conditions for reducing floor impact noise (see Table 1). The floor structure of a standard suite consists of floor finishing material (varnished paper) + mortar (50 mm) + lightweight concrete (80 mm) with heating pipe + reinforced concrete slab (150 mm) + air space (250 mm) + plaster board (10 mm) as shown in Fig. 1.

In measuring impact noise from the floors JIS A 1418 was applied. The newly regulated ‘Ball’ (JIS A 1418-2, 2000) was added to the present experiment. The floor impact was given at five points, and the noise was measured and recorded at the center point underneath.

Table 1. List of treatment of sound insulation for the original structure and nine other structures.

Fig. 1. A detailed section of an apartment floor.

A dummy head (B&K 4100) and DAT were used for binaural recording of the noise sources. For auditory experiments and psychoacoustical analysis, tapping machine (ISO 140-7:1998), bang machine (tire, JIS A 1418-2), rubber ball (JIS A 1418-2:2000) and jumping as real impact noise were recorded. Since jumping noise is the most frequently produced sound during an adult’s walking and a child’s playing in multi-story residential buildings, we reproduced the situation such that an adult (in 20s, 65?70kg) jumps on the spot.

Based on JIS A 1419, floor impact noise was analyzed from the ten floors. Figure 2 represents the comparison of average impact levels in each frequency obtained from the ten floors, which consists of real floor impact noise, a tapping machine, a bang machine and a rubber ball. As shown in Fig.2, the frequency characteristics of jumping in the maximum sound pressure level is similar to those of the bang machine and the ball. Especially, the rubber ball seems closer to the jumping. The ranks of the floor impact noise shown in Fig. 2were determined as Grade 4 in heavyweight and Grade 2 in lightweight according to the Japanese law for housing quality control [13].

2.2 Equipment for Auditory Perception Tests

There are two methods of presenting sound sources; an electrostatic headphone (Senheiser HD-600) was used for the binaural hearing experiment, and a loudspeaker (Bose-101)was used for the monaural hearing experiment. Both experiments were performed in a testing booth that has approximately 25 dBA of background noise. The size of the

booth is 2.1 m x 2.6 m x 2.0 m and it has approximately 0.2sec of reverberation time, and a window was installed in the booth. A desktop computer with MEDS (Musical Experiment Development System) was used to put the subjective reactions on record. A Korg 1212-I/O sound card with Crown CE-100power amplifier was used to present sound sources.2.3 Experimental Design

A 1:1 comparison (pair comparison) method was used to investigate the subjective evaluation on the difference between physical data and psychoacoustical parameters. The noise source from the fundamental structure as shown in Figure 1was used as standard stimulus (S), and nine comparison stimuli (C) were obtained from the floor impact noise sources recorded in different floor structures to reduce the floor impact noise.The presented impact noise levels to subjects were set up with the recorded sound pressure levels. The purpose of the comparison is to verify the auditory perception according to the small changes in the physical and psychoacoustical elements for the floor impact noise reduction. For the three noise sources (tapping, bang and ball), the standard floor was compared with the nine comparison floors by making the order as S-C, C-S to repeat twice each. The present auditory experiment provided a total of 108 comparisons. As shown in Figs. 3(a) and 3(b), there are two sound pairs in each comparison; the first pair is presented with 1.6 sec of stimuli having 0.5 sec of ISI (inter-stimulus interval) and, after 1 sec of interval, the second pair (0.8 sec each) was followed for subjects’ confirmation of judgments. As shown in Fig. 3(b),in the case of heavyweight impact noise, two repeated noises are presented in the first pair and a single noise is followed in the second pair.

Loudness evaluation in a pair comparison was set up to respond on a five scale score (-1, -0.5, 0, +0.5, +1). Subjects were asked whether the first stimulus is much bigger (>>) or

a little bit bigger (>), or both are equal (=), or the second

Fig. 2. Floor impact noise from different impact devices.

Fig. 3. Pair structures of noises for auditory experiments.

stimulus is a little bit bigger (<) or much bigger (<<). The order of sound stimuli varied in a pair and was presented randomly. If the loudness of comparison stimulus (C) from the modified floor structure is much smaller than the loudness of standard stimulus (S) from the basic floor structure, the scale score is -1. If vice versa, the scale score is +1. The evaluation task took approximately 15 min and the second experiment was undertaken for another 15 min after approximately five to ten min breaks. Before each test, subjects were trained to type their responses in keys for all kinds of sound sources and to respond to only the ‘loudness’ of given sound sources.

2.4 SUBJECT

Total numbers of subjects for the hearing experiments was 30 each for monaural and binaural signals. They were university students (both undergraduate and postgraduate) and researchers aged from 24 to 41 consisting of 27 males and 3 females. Almost half of the subjects had experienced similar auditory experiments previously and half from the total lived in a multi-story residential building.

3. PSYCHOACOUSTICAL EV AUATION

The impact noises were analyzed to find out whether there is any correlation with the ACF/IACF factors and Zwicker parameters. Ten concrete slabs with different acoustical

treatments were tested to find out whether there is any correlation between the psychoacoustical parameters.

3.1 ACF/IACF Factors

The ACF/IACF for identification and evaluation of environmental noise suggested by Ando [14] consist of 8 factors. The definition of each factor is shown in Fig. 4 and Table 2 [1].

In the previous analysis [15] on floor impact noise using ACF/IACF, it was found that the subjective evaluations of floor impact noise was related with Φ(0) and IACC. Based on the results, when the ACF/IACF factors for the three impact noise sources were analyzed as a function of time, supporting results were found as shown in Fig. 5. In Fig. 6(a), both impact noises from the bang machine and the ball produce similar variation in energy with time to jumping noise, whereas the bang machine produces more fluctuating values of IACC as shown in Fig. 5(b). The spatial effect of noise was discussed earlier [15] as an influential factor on loudness and noisiness perception. In this experiment, it was also revealed that, although the noises from the standard impactors show similar impact sound pressure level, neither bang noise nor tapping noise conforms to jumping noise in terms of spatial influence. In addition to the result of the experiment, the relationships Fig. 4. Definitions of ACF/IACF factors

Table 2. Descriptions of ACF/IACF factors.

Symbols Descriptions

Φ(0)Energy represented at the origin of the delay (dB)

τe Effective duration of the envelope of the normalized ACF (ms)

τ

1

Delay time of the first peak (ms)

φ

1

Amplitude of the first peak

IACC Magnitude the inter-aural cross-correlation

τ

IACC

Inter-aural delay time at which the IACC is defined (ms)

W

IACC Width of the IACC at theτ

IACC

between the impact noise sources and jumping in terms of Φ(0) and IACC are shown in Fig. 6. Figure 6 also shows the

Fig. 5. Measures of related parameters for different impactors:(a) Φ(0), (b) IACC.

similarity of both bang noise (Φ(0) r = 0.88, p < 0.01; IACC r = 0.82, p < 0.01) and ball dropping noise (Φ(0) r = 0.91,p < 0.01; IACC r = 0.943, p < 0.01) with jumping noise.Consequently, ball noise is most similar to real impact noise (jumping) among the three standard impact noise sources. For each of ten sound sources that were used for auditory experiments, ACF/IACF factors were analyzed. As a result, it was found that Φ(0) of lightweight impact noise has high correlation with φ1 as shown in Fig. 7(a) (r = 0.88, p < 0.05).In addition, it was revealed that Φ(0) of heavyweight impact noise generated by Bang Machine and Rubber Ball has high

Fig. 6. Relation of different impactors: (a) Φ

(0), (b) IACC.

Fig. 7. Relation of Φ

(0) and other ACF/IACF factors.

correlation with IACC as shown in Figs. 7(b) and 7(c),respectively (Bang Machine r = 0.96, p < 0.05, Rubber Ball =0.98, p < 0.05).

This result shows that, in case of lightweight impact noise,the change of sound energy accompanies the change of the pitch of tapping noise. On the other hand, in case of heavyweight impact noise, the change of the spatial factor of bang noise is followed by the change of sound energy.3.2 Zwicker Parameters

Zwicker parameters, which have been defined in order to take account of the subjective nature of human perception and judgment of sound quality, reflect both frequency and temporal masking with application of equal loudness contours. In this study, six parameters as shown in Table 3 were analyzed for the noise sources.

The parameters that have high correlation are shown in Table 4. After analyzing six Zwicker parameters for ten different slabs, the correlation coefficients between floor impact noises were calculated. As shown in Table 4, loudness and unbiased annoyance of floor impact noise generated by the bang machine and the ball are correlated with those of jumping noise.

4. OBJECTIVE AND SUBJECTIVE EV ALUATION By analyzing the correlation among the subjective responses to the floor impact noises, the physical data and the psychoacoustical factors, the floor impact noise that is highly correlated with subjective evaluation was chosen. Figure 8shows the scale values of loudness as a function of objective and subjective parameters that are highly correlated with subjective evaluations of floor impact noise. 9 plots for each impactors in Fig. 8 represent differences of loudness perception between the standard structure and nine other structures. The objective parameters out of ACF/IACF factors are calculated as the mean values for 1 sec of the noise. Fig. 8(a) shows the relation between subjective response and Φ(0). It reveals that the subjects’ evaluation of floor impact noise has high a correlation with Φ(0). The correlation coefficient of the scale values with tapping noise is 0.90(p < 0.01), bang noise 0.92 (p < 0.01) and ball noise 0.93(p < 0.01). Figure 8(b) shows the relation between subjective response and Leq. The correlation coefficient with tapping noise is 0.96 (p < 0.01), bang noise 0.98, ball noise 0.89(p<0.01). Figure 8(c) shows the relation between subjective response and Lmax. The correlation coefficient with tapping noise is 0.96 (p<0.01), bang noise 0.94 (p<0.01) and ball noise 0.94 (p<0.01). All of three factors Φ(0), Leq, Lmax- have high correlations with loudness perceptions of floor impact noise.

From Zwicker parameters, Loudness and Unbiased Annoyance of the floor impact noises are highly correlated with loudness perception. Figs. 8(d) and 8(e) show the relation among Loudness, Unbiased Annoyance and subjective evaluation. The correlation coefficient of the scale values with Loudness in tapping noise is 0.94 (p < 0.01); bang noise 0.74(p < 0.01) and ball noise 0.94 (p < 0.01). In addition, the correlation coefficient with Unbiased Annoyance in tapping noise is 0.92 (p < 0.01); bang noise 0.72 (p < 0.01) and ball noise 0.76 (p < 0.01). The results also show that Loudness

Table 3. Descriptions of Zwicker parameters.Table 4. Correlation coefficients for different noise impactors calculated from the results of measurements in Zwicker parameters (Bold >0.70).

Parameters

Descriptions

L oudness [sone]Measure of sound energy

S harpness [acum]

Description of the level of acuteness

F luctuation S trength [vacil]The sound models for frequencies fmod perceived to be less than 20 Hz

R oughness [asper]Criteria to identify the perturbing effect of mid-frequency (20~300 Hz) modulation T onality [tu]

Quantity of tonal components in a spectrum of a signal

U nbiased A nnoyance [au]

Combination of the parameters (Sharpness, Fluctuation Strength, and Loudness 10%)

Loudness Unbaiased Annoyance Jumping Bang Tapping Ball

Jumping Bang Tapping Ball

Jumping 1.00 1.00Bang 0.93 1.000.70 1.00Tapping 0.810.83 1.000.630.48 1.00Ball

0.84

0.81

0.86

1.00

0.74

0.46

0.85

1.00

and Unbiased Annoyance are highly correlated each other. From the result of the high correlation coefficients with tapping noise, it seems that Zwicker parameters are more consistent with lightweight impact noise that is continuous noise than heavyweight impact noise, which is intermittent noise. It was also found that loudness perception of tapping noise is highly correlated with Φ(0) (r = 0.90; p < 0.01), τe (r = 0.66; p < 0.01) and τ1 (r = 0.84; p < 0.01) among ACF factors, whereas, in the case of heavyweight impact noise (bang or ball noise) which is occasional, only Φ(0) affects on the perception of loudness.

To calculate the subjective loudness from each impact

Fig. 8. 10 Subjective evaluations of floor impact noises in relation to objective parameters.

source, multiple regression analyses were examined for six Zwicker parameters and the mean of the ACF/IACF factors except SPL (SPL was excluded due to multi-colinearity with Φ(0)). All possible combinations were examined to obtain an optimal model. The regression equations of subjective loudness for lightweight impact noise were shown as Eqs.(1-1) and (1-2);

(1-1)

(1-2) Using these tentative values for Eqs. (1-1) and (1-2), the total correlation coefficients 0.94 and 0.98, respectively, were obtained with the significance level p < 0.05. These results show that the change of sound pitch as well as sound energy is the important factor for subjective evaluation of loudness of lightweight impact noise.

The regression equations of subjective loudness for heavyweight impact noise caused by bang machine and rubber ball were shown as Eqs. (2) and (3), respectively;

(2-1)

(2-2)

(3-1)(3-2)

Using these tentative values for Eqs. (2-1), (2-2), (3-1)

and (3-2) the total correlation coefficients 0.96, 0.74, 0.98and 0.95, respectively, were obtained with the significance level p < 0.05. These results show that the change of spatial factors as well as sound energy is the important factor for subjective evaluation of loudness of heavyweight impact noise.

5. CONCLUSIONS

Floor impact noise with a tapping machine, a bang machine

and a rubber ball which are regulated by ISO and JIS were

analyzed by the method of JIS A 1419 and the psychoacoustical factors of the noises from ten slabs that have different structures and frequency characteristics were compared with loudness evaluations of subjects. As a result,real sound source implemented with jumping noise on upper floor has similar perceptual characteristics to heavyweight impact noise, especially the noise generated by the rubber ball.

After analyzing correlations of the ACF/IACF factors obtained from ten different floor structures as a function of time, it was found that the correlation between ACF factor Φ(0) and IACF factor IACC was high for heavyweight impact noise, especially ball noise. Lightweight impact noise has high correlation between Φ(0) and φ1. Therefore, it can be concluded that, in the case of heavyweight impact noise,loudness is related with IACC and, in the case of lightweight impact noise, it is related with φ1.

The relation between loudness perception and physical and psychoacoustical factors for the three noise sources were analyzed. Results showed that subjective evaluations are mostly affected by Φ(0), Leq, Lmax, and Zwicker Loudness and Unbiased Annoyance. Among these, especially Φ(0) and IACC had high correlation with heavyweight impact noise,and, therefore, loudness of heavy weight noise seems to be realized both with sound pressure level and spatial information of the noise. Zwicker Loudness was highly correlated with lightweight impact noise. It was revealed that loudness perception of constant noise generated by tapping machine is affected by Φ(0), τe and φ1. Through these results, we can find that the loudness of lightweight impact noise can be easily perceived by variation of sound pressure level with time. It can be concluded that loudness perception of heavyweight impact noise can be expressed by the loudness factors extracted from ACF/IACF and lightweight impact noise can be expressed by the ACF factors, Loudness and Unbiased Annoyance.

ACKNOWLEDGEMENT

The authors wish to acknowledge the financial support of the Korea Research Institute of Standards and Science made in the 2000 program year.REFERENCES

[1] Y. Ando, and S. Sato and H. Sakai 1999 in Fundamental Subjective

Attributes of Sound Fields Based on the Model of Auditory-Brain System( J. J. Sendra, editor), 63-99. Southampton: WIT https://www.360docs.net/doc/7b2115292.html,putational acoustics in Architecture.

SV Loudness Tapping

=?++?1776100650115114511

..()..ΦτφSV W Loudness Bang

IACC

=?+??3691014700251383..()..Φτe

SV 00.22L Loudness Bang

=?+.534

SV IACC Loudness Ball

IACC =?+??+475401210020211010992..()...Φττe

SV 5.7310.25L 2.23FS +1.16T-0.0076UA Loudness Tapping

=?++

SV 10.177L 0FS -0.0012UA Loudness Bang

=?++..43124

[2] E. Zwicker. and H. Fastel 1999 Psycho-acoustics: Facts and Models, ,

Berlin: Springer-Verlag.

[3] H. Tachibana, H. Tanaka, M. Yasuoka, and S. Kimura 1998 Inter-noise

98. Development of New Heavy and Soft Impact Source for the

Assessment of Floor Impact Sound of Building.

[4] B. G. Watters 1965 Journal of the Acoustical Society of America 37,

619-630. Impact-Noise Characteristics of Female Hard-Heeled Foot Traffic.

[5] D. Olynyk and T. D. Northwood 1965 Journal of the Acoustical Society

of. America 37, 1035-1039. Subjective Judgments of Footstep-Noise Transmission through Floors.

[6] V. E. Belmondo, T.B. Heebink and F. H. Grittain 1973 Journal of the

Acoustical Society of America 54, 1433-1441. Ranking the Impact Transmission of Wood-Framed Floor-Ceiling Assemblies.

[7] L. V. Istvan 1971 Journal of the Acoustical Society of America 50, 1043-

1050. Impact Noise Isolation of Composite Floors.

[8] W, Shi, C. Johansson and U. Sundback 1997. Applied Acoustics 51, 85-

108. An Investigation of the Characteristics of Impact Sound Sources for Impact Insulation Measurement.

[9] M. A. Stewart and R. J. M. Craik 2000 Applied Acoustics 59, 353-372.

Impact Sound Transmission through Floating Floor on a Concrete Slab.

[10] A. Warnock 2000. Proceedings of Noise-Control Engineering Journal

2000, 2611. Low-Frequency Impact Sound Rating of Floor Systems.

[11] S. Yago, K. Inoue 1983 Journal of the Acoustical Society of Japan 332.

83-93. An Experimental Study on the Vibration Characteristics of Floor Impact Noise.

[12] H. Tachibana, H. Yano and Y. Sonoda 1990 Applied Acoustics 31. 173-

184. Subjective Assessment of Indoor Noises- Basic Experiments with Artificial Sounds.

[13] H. Fukushima, A. Hattori, J. Yosimura, K. Inoue and M. Yasuoka 2000

Proceeding of Journal of the Acoustical Society of Japan 753-754.

Introduction to Sound Insulation Regulations in the Japanese New Law Concerning the Labeling System and the System for Quality Securing about Newly-built House, -Part:2-.

[14] Y. Ando 2001 Journal of sound and Vibration 241, 3-18. A Theory of

Primary Sensations and Spatial Sensations Measuring Environmental Noise.

[15] J. Y. Jeon 2001 Journal of sound and Vibration 241, 147-155. Subjective

Evaluation of Floor Impact Noise Based on the Model of ACF/IACF.

法语最常用整理!!!精品!!两年时间积累的《新大学法语》教程语法!!~~~~~~~~~~

泛指代词 1 quelqu’un某人quelqu’une quelques-uns(unes)某些人某些物 (1) quelqu’un=someone 不分男女,都用阳性,表示虚指,“某人” (2) quel qu’une +de =one of …中的一个(阴性的人/物) quelques-uns(unes)+de= some of …中的几个(复数的人/物) (3) quelqu’un de (plus) adj(阳)/bien 2 personne 没有人,无人quelqu’un的否定形式。 (1) 跟ne一起使用,或在sans,sans que后面。=nobody/anybody (2)personne+de+adj(阳) 3 quelque chose某事,某物 (1)中性,虚指,只有单数,“某物”、“某事”或“什么”=sth (2) quelque chose+de+adj(阳)/ bien/ mal (3) =sth important eg. C’est ~ que ce projet. 4 rien没有……quelque chose的否定形式=nothing/anything (1)跟ne一起使用,或在sans,sans que后面,用法和personne相同。 (2) Rien+de+adj阳/pp. (3) 不能与pas/point连用能和plus/jamais连用 * Rien 作直宾,谓语为简单时态时,放谓语后,谓语复合时态,放 在助动词和pp之间 Je ne sais rien. *rien作不定式动词直宾时,放不定式动词前 :Il reste là sans rien dire. 5 chacun 只有单数 (1)~+de+ 复数n 每个人/每一个(物) (2)单独使用,仅用阳性,只指人=everyone 6.aucun(e)只有单数=none/any,chacun 否定 (1)一般+de+n(也可省略)跟ne一起使用,或在sans,sans que后 (2)不能与pas/point连用能和plus/jamais连用 7 Certains只有复数。 (1) 单独使用时,用阳性,只指人,虚指,“有些人” 知道但不明说 (2) certains de/ certaines de =some of 指人/物 8.plusieurs 只有复数,两性词形相同。 (1) 单独使用,只指人,“好几个人”“几个人”: (2)plusieurs +de 指人/物“几个”“好几个”: 9.Un(une) (1)un de+n,或与副代词en一同使用;性数一致,”一个人/事/东西”: (2) 如后面是关系从句,则起指示代词celui,celle作用,“……的人”:eg : Une dont je me méfie,c’est sa cousine. 否 1.tout..ne..pas不再2.ne...plus不再3.ne....jamais 4.ne...rien 什么也不 5.ne...personne 没人 泛指代词 tout(物,阳单,一切) tous(所有人,阳) toutes(人,阴) adj. tout(阳单), toute(阴单), tous,(阳复) toutes(阴复) adv. tout, toute(h开头阴单adj前), ,toutes (h开头阴复adj) 指示adj ce(cet.h/元)阳 cette阴 ces复 指代词 celui阳celle阴ce中ceux阳复 celles阴复 /ceci这cela=c,a那独立用法无需前面出现n,特指某类人,通常复数 ceux

简易计算器的设计与实现

沈阳航空航天大学 课程设计报告 课程设计名称:单片机系统综合课程设计课程设计题目:简易计算器的设计与实现 院(系): 专业: 班级: 学号: 姓名: 指导教师: 完成日期:

沈阳航空航天大学课程设计报告 目录 第1章总体设计方案 (1) 1.1设计内容 (1) 1.2设计原理 (1) 1.3设计思路 (2) 1.4实验环境 (2) 第2章详细设计方案 (3) 2.1硬件电路设计 (3) 2.2主程序设计 (7) 2.2功能模块的设计与实现 (8) 第3章结果测试及分析 (11) 3.1结果测试 (11) 3.2结果分析 (11) 参考文献 (12) 附录1 元件清单 (13) 附录2 总电路图 (14) 附录3 程序代码 (15)

第1章总体设计方案 1.1 设计内容 本设计是基于51系列的单片机进行的十进制计算器系统设计,可以完成计算器的键盘输入,进行加、减、乘、除1位无符号数字的简单四则运算,并在6位8段数码管上显示相应的结果。 设计过程在硬件与软件方面进行同步设计。硬件方面从功能考虑,首先选择内部存储资源丰富的8751单片机,输入采用4×4矩阵键盘。显示采用6位8段共阳极数码管动态显示。软件方面从分析计算器功能、流程图设计,再到程序的编写进行系统设计。编程语言方面从程序总体设计以及高效性和功能性对C语言和汇编语言进行比较分析,最终选用汇编语言进行编程,并用protel99se涉及硬件电路。 1.2 设计原理 在该课程设计中,主要用到一个8751芯片和串接的共阳数码管,和一组阵列式键盘。作为该设计的主要部分,下面将对它们的原理及功能做详细介绍和说明。 1)提出方案 以8751为核心,和数码管以及键盘用实验箱上已有的器件实现计算器的功能。 2) 总体方案实现 (1)要解决键值得读入。先向键盘的全部列线送低电平,在检测键盘的行线,如果有一行为低电平,说明可能有按键按下,则程序转入抖动检测---就是延时10ms再读键盘的行线,如读得的数据与第一次的相同,说明真的有按键按下,程序转入确认哪一键按下的程序,该程序是依次向键盘的列线送低电平,然后读键盘的行线,如果读的值与第一次相同就停止读,此时就会的到键盘的行码与列码

GUI设计的简易计算器附程序

电子信息工程系实验报告 课程名称:MATLAB 应用 实验项目名称:GUI 计算器设计 实验时间:2012-11-22班级:测控081姓名:学号:810707132实验目的: 1.熟悉MATLAB 的菜单设计方法 2.熟悉MATLAB 的主要控件使用方法 3.熟悉MATLAB 的GUI 设计流程 4.运用MATLAB 的GUI 设计一个简单的计算器 实验环境: MATLAB7.8 实验内容: function varargout =jisuanqi1(varargin)%JISUANQI1M-file for jisuanqi1.fig %JISUANQI1,by itself,creates a new JISUANQI1or raises the existing %singleton*.%%H =JISUANQI1returns the handle to a new JISUANQI1or the handle to %the existing singleton*.%%JISUANQI1('CALLBACK',hObject,eventData,handles,...)calls the local %function named CALLBACK in JISUANQI1.M with the given input arguments.%%JISUANQI1('Property','Value',...)creates a new JISUANQI1or raises the %existing singleton*.Starting from the left,property value pairs are %applied to the GUI before jisuanqi1_OpeningFunction gets called.An %unrecognized property name or invalid value makes property application %stop.All inputs are passed to jisuanqi1_OpeningFcn via varargin.%%*See GUI Options on GUIDE's Tools menu.Choose "GUI allows only one %instance to run (singleton)".%%See also:GUIDE,GUIDATA,GUIHANDLES %Edit the above text to modify the response to help jisuanqi1 %Last Modified by GUIDE v2.505-Dec-201022:24:59 %Begin initialization code -DO NOT EDIT gui_Singleton =1;成 绩: 指导教师(签名):

新大学法语1·语法总结

新大学法语1·语法总结

[键入公司名称] [键入文档标题] [键入文档副标题] Administrator 2016/5/6

目录 一、名词 (1) (一)名词的阴阳性 (1) 1.名词的阴阳性 (1) 2阳性名词改为阴性名词: (1) (二)名词的单复数 (1) 1.名词的单复数 (1) 2.名词复数的构成: (1) (三)普通名词和专有名词 (2) 二、代词 (2) (一)人称代词 (2) 1.主语人称代词 (2) 2.重读人称代词 (2) 3.直接宾语人称代词 (2) 4.间接宾语人称代词 (3) (二)副代词“y”和“en” (3) 1.y (3) 2.en (3) (三)中性代词le (3) 1.作表语 (4) 2.作直接宾语 (4) (四)关系代词“qui” (4) 三、形容词 (4) (一)形容词的构成 (4) 1.阴性形容词的构成 (4) 2.复数形容词的构成 (4) (二)形容词的位置 (5) (三)疑问形容词和感叹形容词 (5) (三)主有形容词 (5) (四)指示形容词 (6) (五)泛指形容词 (6) 四、动词 (7) (一)及物动词与不及物动词 (7) (二)代词式动词 (7) 1.意义 (7) 2.代词式动词的命令式 (8) 3.代词式动词的复合过去时 (8) (三)无人称动词 (8) (四)动词变位 (8)

1.第一组规则动词的直陈式现在时动词变位 (8) 2.第二组动词的直陈式现在时动词变位 (9) 3.第三组不规则动词的直陈式现在时动词变位 (9) (五)过去分词 (9) 五、冠词 (10) (一)不定冠词和定冠词 (10) 1.形式 (10) 2.用法 (10) (二)缩合冠词 (10) (三)部分冠词 (11) 1.形式 (11) 2.用法 (11) (四)冠词的省略 (11) 六、介词 (11) (一)“à”和“de ” (11) (二)国名、洲名前所用的介词 (12) 1.en + 阴性国家名 (12) 2.au + 阳性国家名 (12) 3.aux + 复数国家名 (12) 七、命令式 (12) (一)命令式的形式与意义 (12) 1.形式与意义 (12) 2.特殊形式 (12) (二)宾语在命令式中的位置 (13) 1.名词宾语 (13) 2.代词宾语 (13) 八、疑问句 (13) (一)一般疑问句 (13) 1.结构 (13) 2.oui ,non ,si 的用法 (13) (二)特殊疑问句 (14) 九、强调表达法 (14) 十、复合句 (14) 1.平列句 (14) 2.并列句 (14) 3.主从复合句 (14) 十一、时间表达 (15) (一)年、季节、月、日、星期、钟点表达法 (15) 1.年 (15) 2.季节 (15) 3.月 (15) 4.日 (15)

简单计算器c++课程设计

简单计算器 1 基本功能描述 简单计算器包括双目运算符和单目运算符。双目运算符包含基本的四则运算及乘幂功能,单目运算符包含正余弦、阶乘、对数、开方、倒数等运算。可对输入任意操作数包含小数和整数及正数和负数进行以上的所有运算并能连续运算。出现错误会给出提示,同时包含清除、退格、退出功能以及有与所有按钮相对应的菜单项。 2 设计思路 如图1,是输入数据子函数的流程图。打开计算器程序,输入数据,判断此次输入之前是否有数字输入,如果有,则在之前输入的数字字符后加上现有的数字字符;如果没有,则直接使编辑框显示所输入的数字字符。判断是否继续键入数字,如果是,则继续进行前面的判断,如果否,则用UpdateData(FALSE)刷新显示。 如图2,是整个计算器的流程图。对于输入的算式,判断运算符是双目运算符还是单目运算符。如果是双目运算符,则把操作数存入数组a[z+2]中,把运算符存入b[z+1]中;如果是单目运算符,则把字符串转化为可计算的数字,再进行计算。下面判断运算符是否合法,如果合法,则将结果存入a[0],不合法,则弹出对话框,提示错误。结束程序。

输入一个数字 在之前输入的数字字符后面加上现在的数字字符。 Eg :m_str+=”9”。 直接使编辑框显示所输入的数字字符。 Eg :m_str=”9”。 pass3=1表示已有数字输入 开始 之前是否有数字输入? pass3==1? 继续键入数字? 用UpdateData(FALSE)刷新显示 图1 输入数据子函数流程图 Y N Y N

输入开始 双目运算符 是否每一个操作数都存入a[]数组? 把操作数存入a[z+2],把运算符存入b[z+1]。 单目运算符 将字符串转换 为可计算的数进行运算 运算是否合法? 将结果存入a[0] 弹出对话框提示错误 结束Y Y N N 图2 简单计算器总流程图

MFC做的一个简单的计算器

目录 一.设计题目。 (1) 二.设计目的和内容。 (1) 三.基本功能描述。 (2) 四.设计思路。 (2) 五.软件设计:设计步骤、界面设计、关键功能的实现。 (3) a)设计步骤。 (3) b)界面设计。 (4) c)关键功能的实现。 (5) 六.附录。 (8) 一.设计题目。 小型计算器程序的编写. 二.设计目的和内容。 【设计目的】 1学习Visual C++的MFC开发程序的步骤。 2综合运用所学的类、继承和多态的知识。 3进一步掌握程序的调试方法。 【设计内容】 1利用MFC的向导,创建基于对话框的应用程序,添加按钮、编辑框等控件; 第1页

2实现算术加、减、乘、除等运算; 3选做:三角函数的运算、对数运算、指数运算、进制转换等。 三.基本功能描述。 具备整型数据、浮点型数据的算术(加、减、乘、除)运算功能。依次输入第一个运算数、运算符(+,-,*,/)、第二个运算数,然后输出结果,按‘C E’键清屏。 四.设计思路。 a)首先考虑对所有按键分为两类,数字类和符号类。0,1,2,3,4,5,6,7,8,9为 数字类,+,-,*,/为符号类。数字在计算过程中最多需要保存两个,所以定义了两个double型变量num1和num2来进行存储,符号需要一个char型变量cal来存储。 b)为显示数字的编辑框设立一个double型的关联变量m_Num,为显示符号的编 辑框设立一个CString型的关联变量m_result,设立一个int型的小数点标志dotflag,设立一个int型的键入数字标志numflag,设立一个long型的小数部分权值quan,最后为了防止用户输入错误,设立一个判断输入是否为数字的int型标志mark。 c)然后考虑到在计算过程中num1和num2的储存状态有三种,num1==0和 num2==0,也就是程序开始运行还没有开始录入数字的状态;num1!=0和num2==0,也就是第一个数字已经录入,第二个数字还没有录入的状态这时候把m_Num的值赋给num1,m_Num归零;num1!=0和num2!=0,把m_Num的值赋给num2,m_Num归零,令m_Num等于num1和num2合并后的值。

新大学法语第一册U1-9语法知识点整理

新大学法语第一册U1-9语法知识点整理新大学法语第一册UNITE1-9语法知识点整理Unité 2---Texte A 名词见名词知识点整理 Unité 2---Texte B 法语的钟点表达法: 1、表示钟点用无人称短语il est... Il est neuf heures, 现在九点钟。 Il est midi. 中午 Il est minuit. 午夜十二点。 2、表示―半‖ Il est neuf heures et demie. 九点半。注意这里的―demie‖用的 是阴性形式,因为heure是阴性名词。 3、表示―刻‖ Il est une heure et quart. 一点一刻 Il est sept heures trois quarts. 九点三刻=十点差一刻4、表示―分‖ Il est huit heures une (minute). 八点零一分 Il est trois heures vingt-cinq. 三点二十五分5、表示―差‖ Il est cinq heures moins quatre. 五点差四分 - 1 - 新大学法语第一册UNITE1-9语法知识点整理 Il est sept heures moins le quart. 七点差一刻。注意这里的 ―le‖,千万不能少。 6、欧洲大陆日常生活中使用二十四小时制。如果一个法国 人说sept / huit / neuf / dix / onze heures, 他通常说的是早晨

7/8/9/10/11点。有时也会用12小时制,为了避免混淆,在钟 点后加上du matin, de l'après-midi, du soir。写小时时,法国人 用字母 "h"来代替。如: 9:00 = 9h, 10:30 = 10h30. 介词à 和de的用法 A通常引出时间、地点或愿望: A demain ! 明天见A votre santé !为健康干杯Nous habitons à Jinhua我们住在金华 Je vais aller à Shanghai我要去上海 De通常表示起点、来源或从属,即―来自……‖、―从……‖。 Il est originaire de Shanghai.他是上海人。C’est l’étudiante de professeur Wang这是汪老师的学生 否定式 常见的形式是:ne + 动词 + pas (ne 碰到以元音字母或哑音 h开头的动词时变成 n' EX:Aujourd'hui je n'ai pas faim. Je ne déjeunerai pas. Je n'aime pas le vin blanc. Pierre n'habite pas chez ses parents. - 2 - 新大学法语第一册UNITE1-9语法知识点整理 Unité 3---Texte A 法语疑问句 法语的疑问句有多种形式,主要为两大类:一般疑问句和特殊疑问句。 一般疑问句:

第02讲 简易计算器的设计

第02讲计算器 2.1 计算器简介 大家都知道,计算器是日常生活中不可缺少的一个工具,在Microsoft的Windows操作系统中,附带了一个计算器程序,有标准型和科学型两种模式。Windows XP下的标准型和科学型计算器程序分别如图2-1和图2-2所示。 图2-1 Windows XP下的标准型计算器 图2-2 Windows XP下的科学型计算器 Windows操作系统下附带的计算器程序功能相当的强大,本课我们将模仿Windows的计算器,使用Visual C# 2005开发平台开发一个功能相对简单的计算器应用程序,它能完成加、减、乘、除运算。 接下来详细的介绍简易计算器的设计方法和步骤。

2.2 界面设计及属性设置 用户界面设计是软件开发中非常重要的一个部分,用户界面的好坏直接影响软件的质量,本节将介绍如何设计简易计算器的用户界面以及界面上各控件的属性设置。 2.2.1 界面设计 打开Visual Studio 2005开发工具,新建一个Windows应用程序,然后在窗体上依次放置1个TextBox和17个Button控件,如图2-1所示(设置好属性后)。 图2-1 计算器用户界面 2.2.2 属性设置 窗体和各控件的属性设置如表2-1所示。 表2-1 窗体和各控件的属性

2.3 编写代码 本程序需要用到一些公共变量,例如用来接收操作数、运算结果,判断输入的是否为小数等,因此首先在代码的通用段声明以下变量: //****************************************************************** double num1, num2, result; // 操作数及运算结果 bool decimalFlag = false; // 判断输入的是否为小数 string myOperator; // 操作类型 //******************************************************************

简易计算器

单片机十进制加法计算器设计 摘要 本设计是基于51系列的单片机进行的十进制计算器系统设计,可以完成计 算器的键盘输入,进行加、减、乘、除3位无符号数字的简单四则运算,并在LED上相应的显示结果。 设计过程在硬件与软件方面进行同步设计。硬件方面从功能考虑,首先选择内部存储资源丰富的AT89C51单片机,输入采用4×4矩阵键盘。显示采用3位7段共阴极LED动态显示。软件方面从分析计算器功能、流程图设计,再到程序的编写进行系统设计。编程语言方面从程序总体设计以及高效性和功能性对C 语言和汇编语言进行比较分析,针对计算器四则运算算法特别是乘法和除法运算的实现,最终选用全球编译效率最高的KEIL公司的μVision3软件,采用汇编语言进行编程,并用proteus仿真。 引言 十进制加法计算器的原理与设计是单片机课程设计课题中的一个。在完成理论学习和必要的实验后,我们掌握了单片机的基本原理以及编程和各种基本功能的应用,但对单片机的硬件实际应用设计和单片机完整的用户程序设计还不清楚,实际动手能力不够,因此对该课程进行一次课程设计是有必要的。 单片机课程设计既要让学生巩固课本学到的理论,还要让学生学习单片机硬件电路设计和用户程序设计,使所学的知识更深一层的理解,十进制加法计算器原理与硬软件的课程设计主要是通过学生独立设计方案并自己动手用计算机电路设计软件,编写和调试,最后仿真用户程序,来加深对单片机的认识,充分发挥学生的个人创新能力,并提高学生对单片机的兴趣,同时学习查阅资料、参考资料的方法。 关键词:单片机、计算器、AT89C51芯片、汇编语言、数码管、加减乘除

目录 摘要 (01) 引言 (01) 一、设计任务和要求............................. 1、1 设计要求 1、2 性能指标 1、3 设计方案的确定 二、单片机简要原理............................. 2、1 AT89C51的介绍 2、2 单片机最小系统 2、3 七段共阳极数码管 三、硬件设计................................... 3、1 键盘电路的设计 3、2 显示电路的设计 四、软件设计................................... 4、1 系统设计 4、2 显示电路的设计 五、调试与仿真................................. 5、1 Keil C51单片机软件开发系统 5、2 proteus的操作 六、心得体会.................................... 参考文献......................................... 附录1 系统硬件电路图............................ 附录2 程序清单..................................

简单计算器设计报告

简单计算器设计报告 045 一、基本功能描述 通过文本编辑框实现基本整数的加减乘除运算 二、设计思路 如下图是整个程序进行的流程图,基本方法是在ItemText文本编辑框输入字符,程序对字符进行判断,若输入不是数字则提示错误。输入正常时,通过下拉框ComboBox_InsertString 选择相应运算符。点击等号IDC_OK,即可得出运算结果。操作简便,算法简单。 三、软件设计 1、设计步骤 打开Microsoft Visual C++ 6.0,在文件中点击新建,在弹出框内选择MFC AppWizard[exe]工程,输入工程名zhoutong及其所在位置,点击确定 1

将弹出MFC AppWizard-step 1对话框,选择基本对话框,点击完成 MFC AppWizard就建立了一个基于对话窗口的程序框架

四、主要程序分析 1、字符判定函数 BOOL IsInt(TCHAR*str) { int i=atoi(str); TCHAR strtemp[256]; wsprintf(strtemp,"%i",i); if(strcmp(str,strtemp)!=0) { return FALSE; } Else { return TRUE; } } 该函数通过atoi把文本编辑框读取的字符转换为数字,再通过wsprintf把转换数字转换为字符,通过strcmp比较原字符和转换得来的字符。如相同返回true,不通则返回false. 3、运算符选择程序 BOOL Main_OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam) { HWND hwndComboOP=GetDlgItem(hwnd,IDC_COMBOOP); ComboBox_InsertString(hwndComboOP,-1,TEXT("+")); ComboBox_InsertString(hwndComboOP,-1,TEXT("-")); ComboBox_InsertString(hwndComboOP,-1,TEXT("*")); ComboBox_InsertString(hwndComboOP,-1,TEXT("/")); return TRUE; } 3

新大学法语第二学期语法

第一册:Unité 9 ●强调句型:c’est ... qui / c’est ... que 1. 强调主语用c’est ... qui, 如果主语是代词,必须用其重读形式 2. 强调主语以外的成分用c’est ... que 3. 强调复数,用ce sont ... qui / ce sont ... que 4. 强调部分前有介词,将介词一起放在强调短语之间 5. 被强调成分是间接宾语代词时,强调短语中换为“à+重读人称代词” Mon oncle m’a aidé à obtenir cet empl oi---c’est mon oncle qui m’a aidé à obtenir cet emploi. Mon frère a acheté une voiture---c’est une voiture que mon frère a acheté. Il part pour Paris aujourd’hui---c’est aujourd’hui qu’il part pour Paris. J’ai envie d’une crème glacée àla framboise---c’est d’une crème glacée à la framboise que j’ai envie. Attention !: Elle parle de Frédéric---C’est de Frédéric qu’elle parle. Elle parle à Frédéric---C’est àFrédéric qu’elle parle. Je suis arrivée en retard à cause de Frédéric.---C’est à cause de Frédéric que Je suis arrivée en retard. ●中性代词le,无性数变化 作直宾,代替一个不定式动词Partons, il le faut.我们走吧,必须走。 作表语,代替一个表示身份或职业的名词Ta mère est médecin, je crois que tu le seras un jour 作表语,代替一个形容词V ous voyez ces deux jumeaux, quand l’un est content, l’autre le ser a aussi. 代替一个句子Tu n’as pas bien écrit, je le sais, dit le petit Paul。 Unité 10 ●最近过去时 意义:表示刚刚发生或刚刚完成的动作 构成:venir(直陈式现在时)+de+inf. 例句:Je viens de finir mon travail. - Il vient d’être dix heures. - Nous venons d’entrer dans la classe. ●最近将来时 意义:表示立即要发生的动作 构成:aller(直陈式现在时)+inf. 例句:Je vais partir à dix heures. - Il va être dix heures. - Nous allons apprendre la grammaire de l’ unité 10.

简易计算器课程设计

评阅教师评语:课程设计成绩 考勤成绩 实做成绩 报告成绩 总评成绩指导教师签名: 课程设计报告 论文题目基于ARM的简易计算器设计 学院(系):电子信息与自动化学院 班级:测控技术与仪器 学生姓名:同组同学: 学号:学号: 指导教师:杨泽林王先全杨继森鲁进时间:从2013年 6 月10 日到2013年 6 月28 日 1

目录 1、封面—————————————————————P1 2、目录—————————————————————P2 3、前言—————————————————————P3 4、关键字————————————————————P3 5、原理与总体方案————————————————P3 6、硬件设计———————————————————P6 7、调试—————————————————————P10 8、测试与分析——————————————————P11 9、总结—————————————————————P13

10、附件—————————————————————P14 前言 近几年,随着大规模集成电路的发展,各种便携式嵌入式设备,具有十分广阔的市场前景。嵌入式系统是一种专用的计算机系统,作为装置或设备的一部分。通常,嵌入式系统是一个控制程序存储在ROM中的嵌入式处理器控制板。事实上,所有带有数字接口的设备,如手表、微波炉、录像机、汽车等,都使用嵌入式系统,有些嵌入式系统还包含操作系统,但大多数嵌入式系统都是是由单个程序实现整个控制逻辑。在嵌入式系统中,数据和命令通过网络接口或串行口经过ARM程序处理后,或显示在LCD上,或传输到远端PC上。 本文通过周立功的LPC2106芯片完成的简易计算器,正是对嵌入式应用的学习和探索。 一、摘要: 计算器一般是指“电子计算器”,是能进行数学运算的手持机器,拥有集成电路芯片。对于嵌入式系统,以其占用资源少、专用性强,在汽车电子、航空和工控领域得到了广泛地应用。本设计就是先通过C语言进行相应程序的编写然后在ADS中进行运行最后导入PROTUES进行仿真。最后利用ARM中的LPC2106芯片来控制液晶显示器和4X4矩阵式键盘,从而实现简单的加、减、乘、除等四则运算功能。 关键字:中断,扫描,仿真,计算 二、原理与总体方案: 主程序在初始化后调用键盘程序,再判断返回的值。若为数字0—9,则根据按键的次数进行保存和显示处理。若为功能键,则先判断上次的功能键,根据代号执行不同功能,并将按键次数清零。程序中键盘部分使用行列式扫描原理,若无键按下则调用动态显示程序,并继续检测键盘;若有键按下则得其键值,并通过查表转换为数字0—9和功能键与清零键的代号。最后将计算结果拆分成个、十、百位,再返回主程序继续检测键盘并显示;若为清零键,则返回主程序的最开始。 电路设计与原理:通过LPC2106芯片进行相应的设置来控制LCD显示器。 而通过对键盘上的值进行扫描,把相应的键值通过MM74C922芯片进行运算从而

简单计算器设计

计算机程序训练任务书简单计算器设计 学院:材料科学与工程学院 专业:材料成型及控制工程 班级:07050103 学号:0705010318 姓名:郭炯

目录 一.训练目的 二.设计内容和要求 三.设计思路 四.该程序功能分析 五.系统用到的数据类型及函数六.基本算法 七.程序流程图及屏幕运行截图八.参考文献 九.设计心得 十.源程序代码

计算机程序训练设计报告 一.训练目的: 计算机程序设计训练是学习完《计算机程序设计》课程后进行的一次全面的综合性上机实验。其目的在于为学生提供了一个既动手又动脑,独立实践的机会,将课本上的理论知识和实际有机的结合起来,锻炼学生的分析解决实际问题的能力。提高学生适应实际,实践编程的能力。 二.设计内容和要求: 用C语言作为工具制作一个简单的windows计算器,根据课程设计1周时间的安排选择适当大小的设计课题,根据题目的基本需求,画出流程图,编写程序,并写出详细的设计说明书。最后上机调试通过,并进行验收,交上机报告和程序的原代码。 设计题目设计一个简单计算器 具体内容在功能上功能尽量模拟windows操作系统中的计算器,系统界面 不做强制要求。 三.设计思路 大体框架是用两个while语句来实现相应的计算,用goto 语句来实现多次进入while语句进行相应的计算,第一个while语句用于新的两个数来进行计算,第二个while语句是用上一次储存的计算结果来与另外的数进行相应的运算。 每个while语句嵌套switch语句来实现加减乘除以及三角函数等运算。 每种运算都是调用自定义的函数来实现相应运算的。 四.该程序功能分析: 该程序主要功能是计算简单运算,以及简单的三角函数的计算,优点是一次运算结束后会提醒是否将运算的结果储存下来,如果储存则与另外的数继续进行下一次运算,如果不储存,则会执行新的运算,如果不计算了即可跳出界面。同时计算开方。 五.系统用到的数据类型及其函数: 1.整型变量num 用于判断需要进行什么运算。 整型变量l 用于决定进入哪个while循环语句。 实型变量a,b,x,t a,b,x用于放置需要计算的数,t用于放置每次运算的结果。

新大学法语-第二册时态总结

(一)被动态P6 1.构成:être + (及物动词)过去分词+ par 2.常以par引出施动者 3.表示状态或情感的被动态动词后,以de引出施动者 être aimé/respecté de être couverte(couvrir) de 4.性数配合 5.被动态的时态以être 的时态为准 (二)简单将来时P29 1.第一组&第二组动词,在inf. 后依次加词尾e.g. habiter;finir -ai -ons -as -ez -a -ont 2.以-re结尾的第三组动词,去掉e加词尾e.g. prendre; construire; lire 3.大多数第三组动词简单将来时变位时,词根有变化

4.用法:简单将来时表示将来发生的动作或出现的状态 (三)先将来时P48 avoir(简单将来时)+p.p 【及物动词】e.g. j’aurai fini être (简单将来时)+p.p 【不及物动词】e.g. je serai sorti(e) (四)动词不定式的时态P67 1.动词不定式现在时表示与主要动词同时发生的动作 e.g. Je veux lire. 2.动词不定式过去时 avoir(不定式)+ p.p 【所有及物动词&小部分不及物动词】e.g. avoir lu être (不定式)+p.p 【大部分不及物动词&代动词】e.g. être parti 表示在主要动词之前已发生或完成的动作 (五)未完成过去时P86 1.构成:动词现在时第一人称复数(nous)形式去掉词尾-ons,再按人称顺序加

2.être的未完成过去时 3.下列动词未完成过去时的变化 未完成过去时与复合过去时的比较P87 (六)简单过去时P112 1.第一组动词(包括aller)用第一种词尾 去掉er,加词尾

实体、对象与类的概念

1、实体、对象与类的概念 2、类的定义 3、对象声明与引用 4、私有、公有与保护 5、日期类的设计 6、两种程序设计思想 7、汽车类的设计 8、几何图形圆类的设计 9、构造函数的定义10、重载构造函数11、析构函数的定义12、整数翻译函数13、实际意义的析构函数14、Person类的设计15、对象与指针16、this指针

?实体:指客观世界存在的某个事物?一所大学,例如:西安交通大学 ?某动物,例如:一只羊 ?一本图书,例如:《C++程序设计教程》?一篇文章,例如:“羊年趣赏羊联” ?一个专业班级,例如:材料21班 ?一名学生,例如:材料21班的蒋贵川?……

?可以拍摄视频描述实体 ?也可以写一篇文章描述实体 ?我们设计的程序都是为了求解某个(些)问题 ?如果求解的问题中涉及到某个实体,那么在程序中如何描述实体呢? ?通过对实体进行抽象,来描述实体

?每个实体都有其特征和功能,特征和功能通称为属性?实体与实体的不同在于属性的不同 ?所谓抽象描述实体是指: ?从实体中抽取出若干特征和功能,来表示实体 ?特征指实体的静态属性,功能指实体的动态属性 ?对实体加以抽象要注意下面两点: ?移出细节看主干 ?不是借助具体形象反映现实,而是以抽象表达科学的真实

毕加索画《牛》 1945年12月5日 1946年1月17日 ?形体逐渐概括 ?线条逐步简练 ?别人认为的终点,他 作为起点 ?每幅画不重复 ?精炼地表现了公牛的

?电视机的特征:?型号?尺寸?液晶?价格? ……?电视机的功能: ?播放影视?选频道?调颜色?调音量?……

新大学法语第二册1-5单元复习整理

新大学法语第二学期复习整理 一.语法: 1. Ce professeur est aiméde ses élèves. 2. Sa voiture a été réparée. https://www.360docs.net/doc/7b2115292.html, Chine est plus grande que la France 4.En été, il fait aussi chaud à Beijing qu’à Tianjin 5. Il est plus riche qu’avant . 6. Mon école est meilleure que ton école. 7. Paris est la plus grande ville de la France. 8. La grammaire du fran?ais est la plus difficile. 9. C’est la plus belle femme de cette ville. 10.C’est la ville la plus belle de son pays. 11.Marie, c’est une de mes amies les plus aimables. 12. Il marche plus vite qu’avant 13.Je vais au cinéma moins souvent que Marie. 14. Il va mieux aujourd’hui. 15.Je travaille peu, tu travailles autant, lui, il travaille plus. 16. Marie court le plus vite de notre classe. 17.Dès que je serai rentréà Beijing, je vous téléphonerai. 18.Je ferai une promenade quand j’aurai fini mon travai . 19.Ce qui m’intéresse, c’est le prix. 20.Ce qu’il veut lire, ce sont des romans fran?ais 21.Ce qui est important, c’est d’avoir une villa et une voiture. 22. Dire et faire sont deux choses. 23. Crier n’est pas chanter. 24. Après avoir dit au revoir, il est monté dans le train. 25. Après être arrivéà Beijing , je vous enverrai une lettre 26. Ce dictionnaire est utileà consulter. 27. Je suis obligéde vous donner ces exercices. 28.Hier, il faisait beau, je suis allé en ville. 29. Pendant les vacances, je me couchais à dix heures et je me levais à sept heures. 30.Je voudrais rester à Guanzhou. 31.Dites-moi ce qui vous intéresse.

类与对象答案

类与对象 知识要点 1.掌握类与对象的概念和定义方法,掌握类成员的访问属性。 2.掌握构造函数的概念、定义方法和使用方法。 3.掌握析构函数的概念、定义方法和使用方法。 4.掌握拷贝构造函数的概念、定义方法和使用方法。 5.掌握包含对象成员的类构造函数的定义方法。 6.掌握静态成员的概念、定义方法、作用和特点。 7.掌握友元的概念、定义方法、作用和特点。 8.掌握类模板的定义格式与使用方法。 典型例题分析与解答 例题1:下列有关类的说法不正确的是()。 A.对象是类的一个实例 B.任何一个对象只能属于一个具体的类 C.一个类只能有一个对象 D.类与对象的关系和数据类型与变量的关系相似 答案:C 分析:对象是类的一个实例,类与对象的关系和数据与变量的关系相似,所以一个类可以有多个对象。 例题2:下面()项是对构造函数和析构函数的正确定义。 A.void X::X(), void X::~X() B.X::X(参数), X::~X() C.X::X(参数), X::~X(参数) D.void X::X(参数), void X::~X(参数) 答案:B 分析构造函数无返回类型、可带参数、可重载;析构函数无返回类型、不可带参数、不可重载。 例题3:()的功能是对象进行初始化。 A.析构函数 B. 数据成员 C.构造函数 D.静态成员函数 答案:C 分析:当一个对象定义时,C++编译系统自动调用构造函数建立该对象并进行初始化;当一个对象的生命周期结束时,C++编译系统自动调用析构函数注销该对象并进行善后工作; 例题4:下列表达方式正确的是()。 A.class P{ B. class P{ public: public: int x=15; int x; void show(){cout<

相关文档
最新文档