informatika angol nyelven -...

12
Informatika angol nyelven emelt szint — gyakorlati vizsga 1711 EMBERI ERŐFORRÁSOK MINISZTÉRIUMA Azonosító jel: INFORMATIKA ANGOL NYELVEN EMELT SZINTŰ GYAKORLATI VIZSGA 2019. május 13. 8:00 Időtartam: 300 perc Beadott dokumentumok Piszkozati pótlapok száma Beadott fájlok száma A beadott fájlok neve ÉRETTSÉGI VIZSGA • 2019. május 13.

Upload: others

Post on 22-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint — gyakorlati vizsga 1711

EMBERI ERŐFORRÁSOK MINISZTÉRIUMA

Azonosító jel:

INFORMATIKA ANGOL NYELVEN

EMELT SZINTŰ GYAKORLATI VIZSGA

2019. május 13. 8:00

Időtartam: 300 perc

Beadott dokumentumok Piszkozati pótlapok száma Beadott fájlok száma

A beadott fájlok neve

ÉR

ET

TS

ÉG

I V

IZS

GA

• 2

01

9.

jus

13

.

Page 2: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 2 / 12 2019. május 13.

Azonosító jel:

Page 3: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 3 / 12 2019. május 13.

Azonosító jel:

Important information You have 300 minutes to solve the practical exercises. Devices allowed for the exam: computer assigned to the candidate, paper, pen, pencil, ruler, sealed notepaper. You can take notes on the internal sides of the exercise sheet and the notepaper, these should be submitted at the end of the exam but their content will not be evaluated. The exercises can be solved in any order. Please pay attention to frequent saving (every 10 minutes); it is suggested that you save your work every time you start a new exercise. You should save your exam work in the exam directory that corresponds to your identifier. Check that the directory that corresponds to the code on the exercise sheet is accessible; if it is not accessible, notify the supervising teacher at the beginning of the exam. Save your works in the exam directory and at the end of the exam check that every solution is in the given directory because only those solutions can be evaluated. Check that the files to be submitted are readable because files that cannot be opened cannot be evaluated. If you solve the database management exercise with LibreOffice Base, then you should submit the SQL commands describing update queries either as part of the LibreOffice Base database file or as a separate text file. If you submit them as a text file, the name of the text file should refer to its contents clearly (e.g. SQL_commands.txt) and the required query name should be displayed next to the command in the file. The submitted program can be evaluated only if the candidate created the source file(s) that correspond to the chosen programming environment in the exam directory and it/they contain(s) the source codes that belong to the solution of the exercise parts. The source files can be found in the exam directory. It is suggested that you read through the exercises first then solve the individual exercise parts one by one. If your computer has technical problems, indicate it to the supervising teacher. The fact of indication and the observed problem will be recorded. The lost time will be added to the duration of the exam. If the problem is not of computer nature, the correcting teacher should take the description of the case in the record into consideration. (The system administrator cannot help the candidate with the solution of the exercises.) At the end of the exam on the first page of the exam document you should indicate the number and name of files created and submitted by you and located in the exam directory and its subdirectories. When finishing the exam, do not leave the room until you have done so and have shown it to the supervising teacher. Please indicate the operating system and the programming environment you work with. Operating system: Windows Linux Programming environment:

FreePascal GCC Visual Studio Lazarus Perl 5 JAVA SE Python

Page 4: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 4 / 12 2019. május 13.

Azonosító jel:

1. Chlorine and bromine Chlorine and bromine are two poisonous substances in the halogen group. You have to create

a word document about these two elements and their characteristics. You have to use files substances.txt, bromine.jpg and chlorine.jpg to create the document.

1. Create a three-page document using a word processor according to the example and the description. Save the created file as substances in the default format of the program. The text of the document can be found in file substances.txt, which is UTF-8 encoded.

2. In the document the page size is A4 and the orientation is portrait. The top and bottom margins are 2.5 cm, the left margin is 2.7 cm and the right margin is 2.3 cm. Use single line spacing in the document unless specified else in the exercise. The document should not contain empty paragraphs.

3. The definition of terms and the description of the two substances should be aligned justified.

4. The font type of the text is Arial (Nimbus Sans) except for the names of the terms (“Atomic number”; “Molar mass”; “Melting point”; “Boiling point”; “Electronegativity”). The names of the terms should be formatted with a sans-serif font type different from the one given above. Use font sizes 14 points and 36 points according to the example in the creation of the document.

5. Use the following settings for the table that contains the properties of chlorine (Cl) and bromine (Br) and type in the missing data.

a. The table has 2 rows and 6 columns, its width is 16 cm and has thin borders. b. The height of the rows is 1 cm. The cells containing numbers have a width of

2 cm, and the cells containing the symbols Cl and Br have a width of 4 cm. c. Merge the cells containing the symbols according to the example. d. Align the contents of the table according to the example. e. The properties of the two elements should be separated by a thick vertical line

in the middle. 6. Set a spacing of 7 points before and 0 points after the terms. Display the names of the

terms using small capital characters. The definition of the terms should start at 1 cm from the left margin.

7. Place the description of the substances on the second page using a two-column layout. Divide the text between the columns according to the example. Set a spacing of 0 points before and 8 points after each paragraph of the description of the substances. The empirical formula of the molecule is displayed in the first paragraph of both descriptions. Pay attention to formatting the number 2 properly in the formulas.

8. The left column should start with picture chlorine.jpg and the right column should start with picture bromine.jpg. Set the height of both pictures to 5 cm keeping the aspect ratio and align them centred within the column.

9. Ensure that the description of the experiment starts on a new page. The title of the experiment should be aligned centred.

10. Set a grey background stretching from margin to margin for the paragraph in all three subtitles. Set a spacing of 24 points before all three subtitles.

Page 5: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 5 / 12 2019. május 13.

Azonosító jel:

11. Convert the text of the required materials and equipment into a list. The symbol of the bulleted list should be at 1 cm, the text lines should start at 2 cm. The steps part should be converted into a numbered list according to the example. The number should be at 1 cm, each line of the text should start at 2 cm.

12. Format the equation in the description of the explanation according to the example. Both paragraphs of the worded description should be justified. Set the line spacing of the whole contents under subtitle “Explanation” to 1.5 lines.

Example:

30 marks

Page 6: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 6 / 12 2019. május 13.

Azonosító jel:

2. Tennis Tennis is called the king of sports, its rules were elaborated in England. In tennis, players

must win sets and within them games. For women’s tennis matches the winner must win two sets. The data of the final of a women’s tournament are available in file finaldata.txt, which is UTF-8 encoded.

Your task is to analyse and display the data using a spreadsheet program. During the solution take the followings into consideration.

• You can perform auxiliary calculations from column O. • Whenever possible, use a formula, function or reference in the solution to receive the required

results even if the base data are changed. • There are exercise parts that use the results of a previous exercise. If you cannot solve a

previous exercise part completely, use its solution as it is or enter a reasonable value and work on with it. This way you can receive marks for that exercise part as well.

1. Import text file finaldata.txt, which is UTF-8 encoded and tagged by tabs into the worksheet of the spreadsheet program starting from cell A1. Save your work in the default format of the spreadsheet processor as tennis.

The table contains the following data: The set number, the game number, the points scored by the two players (Player1 and

Player2) in the game and the player serving in the given game. Column Double fault contains 1 if the serving player made a double fault. Column Ace contains 1 if the opponent of the serving player could not hit the ball after serving. Rules:

• In tennis, at least 4 balls must be won, that is, at least 4 points must be scored and a point difference of at least two is required to win a game. In a game the consecutive points are given values 15, 30 and 40. After 40 word “Game” appears under the player winning the game. If the standing is 40:40, the players play until one of them achieves a 2-point advantage. In this case the point values do not change, but word “AD” is displayed in the table under the player gaining advantage. If the player who gains advantage loses the next ball, then the result will be 40:40 again.

• To win a set, at least 6 games must be won and a difference of two won games is required. As only such sets and games appear among the data of the match to be processed, further rules are not explained here.

• To win a match, two sets must be won. The player who reaches this first wins the match. 2. In cell K10 determine the total number of aces scored by the players in the match. 3. In cells K6 and L6 determine the number of aces scored by the individual players in the

match using a formula that can be copied flawlessly. 4. In cells K7 and L7 determine the number of double faults made by the individual players.

A double fault means that the serving player made two consecutive faulty serves. 5. In cell K11 determine the number of games in the longest set. 6. In the cells of range K2:L4 determine the number of games won by the individual players

in the individual sets.

Page 7: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 7 / 12 2019. május 13.

Azonosító jel:

7. Set the width of the column so that every data is visible. In columns A:L of the table, align the contents of the cells containing data centred horizontally.

8. Border cell ranges J1:L7 and J10:K11 according to the example. The outer border of the two ranges should be thicker.

Example:

15 marks

Page 8: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 8 / 12 2019. május 13.

Azonosító jel:

3. Markets Besides shopping centres, traditional markets, market halls and fairs are also popular

shopping places. Some data of the markets, market halls and fairs in the counties of Southern Transdanubia can be found in files salespoints.txt and openinghours.txt.

1. Create a new database with name market_db. Import the data tables into the database with names salespoints and openinghours. These are UTF-8 encoded text files tagged by tabs, their first line contains the field names.

2. Set the appropriate data formats and keys in the tables. 3. Create a new data table with name days with the structure and key given in the description.

Fill the table with 7 records, the names of the days of the week from Monday to Sunday.

Tables:

salespoints (id, sname, type, county, settlement, pcode, address) id The identifier of the sales point (number), this is the key sname The name of the sales point (text) type The type of the sales point (text) county The name of the county where the settlement of the sales point is (text) settlement The settlement where the sales point is located (text) pcode The postal code of the address (number) address The address of the sales point (text), blank if not given

openinghours (placeid, dayid) placeid The identifier of the sales point (number), key dayid The identifier of the days of the week the sales point is open (number),

key days (id, dname)

id The ordinal number of the days of the week starting with 1 (autonumber), this is the key

dname The name of the day of the week (text), its values are: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday

Create the solution of the following exercises. Pay attention to displaying exactly the

required fields and expressions in the solution, do not display unnecessary fields. Save your solutions with the names given in brackets.

Page 9: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 9 / 12 2019. május 13.

Azonosító jel:

4. Create a query that lists the sales points in Tolna county whose type does not contain the word segment “market” together with the name of the settlement they are located in. The list should be ordered alphabetically by the settlement name, within that by the name of the sales point according to the example. (4notmarket)

5. Create a query that gives the number of sales point per county. The list should contain the names of the counties and the number of sales points and be in decreasing order according to the latter. (5number)

6. Using a query, list the names of the settlements and the sales points where the name of the settlement appears in the name of the sales point. (6nameinname)

7. There are only a few settlements where there is a sales point that is open on each day of the week. List these settlements using a query. The list should contain the name of each settlement once. (7always)

8. Using a query, determine the number of sales points per county where the opening hours are not known. (8missing)

9. Fadd and Paks are two close settlements in Tolna county. Create a query that gives the days when there is an open sales point whose type is “market” in the database in both settlements. The list should contain the name of each such day exactly once. (9common)

10. Create a report that gives the number of sales points open for each day of the week based on the data of the database. The list should contain the names of the days and the number of open sales points and should be in decreasing order according to the latter. Prepare for the creation of the report with a query or a temporary table. Upon the creation of the report take the order of the fields, the title and the contents of the header shown in the example into account. The formatting of the report may be different from the example. (10open)

30 marks

Page 10: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 10 / 12 2019. május 13.

Azonosító jel:

4. Lessons The assignment of lessons is a fundamental document of the planning of the academic year.

The assignment of lessons contains the forms where teachers teach their subjects and the number of lessons. In this exercise you have to analyse the data of the assignment of lessons of a secondary school with four grades.

You receive the assignment of lessons in a text file created in a database management program, whose structure is simple as shown in the example below (Each entry is stored in four lines.):

Albatrosz Aladin biology 9.a 2 Albatrosz Aladin form teacher’s 9.a 1 … Csincsilla Csilla mathematics 9.x 2 …

The first entry shows that teacher Albatrosz Aladin will teach biology (biology) in form 9.a in 2 lessons per week. If the letter of the form is x, then it is a grade-level group. In our example teacher Csincsilla Csilla teaches a mathematics for grade 9 in 2 lessons per week. Form teachers can be identified by having a form teacher’s (form teacher’s) lesson.

In the solution you can assume that the file contains at most 1000 entries (that is, at most 4000 lines). There are at most 100 teachers and 50 forms at the school and each form has exactly one form teacher.

Create a program that uses the data in file lessons.txt to answer the following questions. Save the source code of the program as lessons. (When writing the program, you do not have to check the correctness or the validity of the data given by the user and you can assume that the available data correspond to the description.)

In the case of exercises that require displaying information on the screen display the exercise number (for example: Exercise 3:) and state the type of information displayed with contents similar to the shown example. When you request data from the user, display the nature of the requested data on the screen. In both cases displaying text without accents is acceptable.

1. Read and store the data available in file lessons.txt and solve the following exercises using them.

2. How many entries does the file contain? Display the result on the screen. 3. The total weekly number of lessons at the school is an important piece of information for

the maintainer. Determine this data and display it on the screen. 4. Request a teacher’s name from the user and display the teacher’s weekly number of lessons

on the screen.

Page 11: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 11 / 12 2019. május 13.

Azonosító jel:

5. Create file ft.txt, which contains the names of form teachers for each form in the following format (the order of forms may differ from the order shown in the example): 9.a - Albatrosz Aladin 9.b - Hangya Hanna 9.c - Zerge Zenina …

6. In some forms some subjects are taught in groups: in such cases the assignment of lessons contains two entries for the given subject and form. Request the identifier of a form and the name of a subject and display on the screen whether the given form studies the given subject in groups or as a whole class. (You may assume that the given subject is taught in the given form.)

7. The number of teachers who work at the school is also an important piece of information for the maintainer. Display this data on the screen.

Example for the layout of textual outputs: Exercise 2: The file contains 329 entries. Exercise 3: The weekly number of lessons at the school is 1016. Exercise 4: Teacher’s name= Albatrosz Aladin The teacher's weekly number of lessons is 24. Exercise 6: Form= 10.b Subject= chemistry The subject is taught in groups. Exercise 7: There are 49 teachers at the school.

Sources:

1. Chlorine and bromine

http://patikapedia.hu/media/image/klor.jpg Last access: 27.01.2017 http://m2.aimg.sk/tahaky/d_25432_2264.jpg Last access: 27.01.2017 Horváth Balázs – Rózsahegyi Márta Dr. – Siposné Dr. Kedves Éva Dr.: Kémia 11-12 (MS-3151) pages 85 and 87

2. Tennis

https://hu.wikipedia.org/wiki/Tenisz Last access: 04.01.2017 http://www.usopen.org/en_US/scores/stats/2701ms.html#top Last access: 04.01.2017

3. Markets

www.elotisza.hu/uploads/dokumentumtar/piacokweboldalra0119-1.xls Last access: 10.11.2016

45 marks

Page 12: INFORMATIKA ANGOL NYELVEN - dload.oktatas.educatio.hudload.oktatas.educatio.hu/erettsegi/feladatok_2019... · Informatika angol nyelven emelt szint 1711 gyakorlati vizsga 5 / 12 2019

Informatika angol nyelven emelt szint

1711 gyakorlati vizsga 12 / 12 2019. május 13.

Azonosító jel:

mark

maximum achieved Word processing, presentation, graphics, web page composition 1. Chlorine and bromine

30

Spreadsheet processing 2. Tennis 15

Database management 3. Markets 30

Algorithmization, data modelling 4. Lessons 45

Mark of the practical exam part 120

date examiner __________________________________________________________________________

pontszáma egész számra kerekítve

elért programba beírt

Szövegszerkesztés, prezentáció, grafika, weblapkészítés

Táblázatkezelés Adatbázis-kezelés Algoritmizálás, adatmodellezés

dátum dátum

javító tanár jegyző