Files

703 lines
23 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 0 -->
<question type="category">
<category>
<text>top/По умолчанию для 26-10-5</text>
</category>
<info format="moodle_auto_format">
<text>Категория по умолчанию для общих вопросов в контексте «26-10-5».</text>
</info>
<idnumber></idnumber>
</question>
<!-- question: 0 -->
<question type="category">
<category>
<text>top/По умолчанию для 26-10-5/S01 Рациональные числа</text>
</category>
<info format="html">
<text></text>
</info>
<idnumber></idnumber>
</question>
<!-- question: 329470 -->
<question type="coderunner">
<name>
<text>E01</text>
</name>
<questiontext format="html">
<text><![CDATA[Даны числа <span lang="en-US">X</span> и <span lang="en-US">Y</span>.
Рота солдат прошла на север <span lang="en-US">X</span>
км, затем солдаты повернули на восток
и прошли еще <span lang="en-US">Y</span> км. Выведите
путь и модуль перемещения солдат за
все время движения с точностью 4 знака
после десятичной запятой.]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<coderunnertype>java_program</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>1</allornothing>
<penaltyregime>0, 0, 10, 20, ...</penaltyregime>
<precheck>0</precheck>
<hidecheck>0</hidecheck>
<showsource>0</showsource>
<answerboxlines>18</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload>import java.util.Locale;
import java.util.Scanner;
class prog {
public static void main(String[] args){
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
}
}</answerpreload>
<globalextra></globalextra>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer><![CDATA[import java.util.Locale;
import java.util.Scanner;
class prog {
public static void main(String[] args){
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
double X, Y, r1, r2;
X = sc.nextDouble();
Y = sc.nextDouble();
r1 = X+Y;
r2 = Math.hypot(X, Y);
System.out.println(String.format("%.4f", r1));
System.out.println(String.format("%.4f", r2));
}
}]]></answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>1</hoisttemplateparams>
<extractcodefromjson>1</extractcodefromjson>
<templateparamslang>None</templateparamslang>
<templateparamsevalpertry>0</templateparamsevalpertry>
<templateparamsevald>{}</templateparamsevald>
<twigall>0</twigall>
<uiplugin></uiplugin>
<uiparameters></uiparameters>
<attachments>0</attachments>
<attachmentsrequired>0</attachmentsrequired>
<maxfilesize>10240</maxfilesize>
<filenamesregex></filenamesregex>
<filenamesexplain></filenamesexplain>
<displayfeedback>1</displayfeedback>
<giveupallowed>0</giveupallowed>
<prototypeextra></prototypeextra>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>3.
4.</text>
</stdin>
<expected>
<text>7.0000
5.0000</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>5.
17.</text>
</stdin>
<expected>
<text>22.0000
17.7200</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>1246721.
5327869.</text>
</stdin>
<expected>
<text>6574590.0000
5471791.4190</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 329466 -->
<question type="coderunner">
<name>
<text>E02</text>
</name>
<questiontext format="html">
<text><![CDATA[<p>Даны числа <span lang="en-US">X</span>, <span lang="en-US">Y</span>&gt;0,
<span lang="en-US">Z</span>. В начальный момент
времени координата материальной точки,
движущейся равномерно вдоль оси <span lang="en-US">OX</span>,
равна <span lang="en-US">X</span> м, через <span lang="en-US">Y</span>
мин ее координата равна <span lang="en-US">Z</span>
м. Выведите скорость движения точки в
м/с с точностью 4 знака после десятичной
запятой.</p><br><p></p>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<coderunnertype>java_program</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>1</allornothing>
<penaltyregime>0, 0, 10, 20, ...</penaltyregime>
<precheck>0</precheck>
<hidecheck>0</hidecheck>
<showsource>0</showsource>
<answerboxlines>18</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<globalextra></globalextra>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer><![CDATA[import java.util.Locale;
import java.util.Scanner;
class prog {
public static void main(String[] args){
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
double X, Y, Z, r1;
X = sc.nextDouble();
Y = sc.nextDouble();
Z = sc.nextDouble();
r1 = (Z-X)/60/Y;
System.out.println(String.format("%.4f", r1));
}
}]]></answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>1</hoisttemplateparams>
<extractcodefromjson>1</extractcodefromjson>
<templateparamslang>None</templateparamslang>
<templateparamsevalpertry>0</templateparamsevalpertry>
<templateparamsevald>{}</templateparamsevald>
<twigall>0</twigall>
<uiplugin></uiplugin>
<uiparameters></uiparameters>
<attachments>0</attachments>
<attachmentsrequired>0</attachmentsrequired>
<maxfilesize>10240</maxfilesize>
<filenamesregex></filenamesregex>
<filenamesexplain></filenamesexplain>
<displayfeedback>1</displayfeedback>
<giveupallowed>0</giveupallowed>
<prototypeextra></prototypeextra>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>5.
2.
365.</text>
</stdin>
<expected>
<text>3.0000</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>100.
200.
400.</text>
</stdin>
<expected>
<text>0.0250</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>15
25
283945</text>
</stdin>
<expected>
<text>189.2867</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 329467 -->
<question type="coderunner">
<name>
<text>E03</text>
</name>
<questiontext format="html">
<text><![CDATA[<p>Даны числа <span lang="en-US">X</span>, <span lang="en-US">Y</span>
(<span lang="en-US">X</span>&gt;<span lang="en-US">Y</span>), <span lang="en-US">Z</span>.
Моторная лодка, скорость которой в
спокойной воде <span lang="en-US">X</span> км/ч,
переплывает реку по прямой, перпендикулярной
к направлению течения. Скорость течения
<span lang="en-US">Y</span> км/ч, ширина реки <span lang="en-US">Z</span>
метров. Выведите время в минутах, за
которое лодка достигнет противоположного
берега, с точностью 4 знака после
десятичной запятой.</p><br><p></p>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<coderunnertype>java_program</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>1</allornothing>
<penaltyregime>0, 0, 10, 20, ...</penaltyregime>
<precheck>0</precheck>
<hidecheck>0</hidecheck>
<showsource>0</showsource>
<answerboxlines>18</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<globalextra></globalextra>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer><![CDATA[import java.util.Locale;
import java.util.Scanner;
class prog {
public static void main(String[] args){
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
double v = sc.nextDouble();
double v2 = sc.nextDouble();
double s = sc.nextDouble();
double v3 = Math.sqrt(v*v-v2*v2);
s = s/1000;
double r = s/v3*60;
System.out.println(String.format("%.4f", r));
}
}]]></answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>1</hoisttemplateparams>
<extractcodefromjson>1</extractcodefromjson>
<templateparamslang>None</templateparamslang>
<templateparamsevalpertry>0</templateparamsevalpertry>
<templateparamsevald>{}</templateparamsevald>
<twigall>0</twigall>
<uiplugin></uiplugin>
<uiparameters></uiparameters>
<attachments>0</attachments>
<attachmentsrequired>0</attachmentsrequired>
<maxfilesize>10240</maxfilesize>
<filenamesregex></filenamesregex>
<filenamesexplain></filenamesexplain>
<displayfeedback>1</displayfeedback>
<giveupallowed>0</giveupallowed>
<prototypeextra></prototypeextra>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>5.
3.
1000.</text>
</stdin>
<expected>
<text>15.0000</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>25
15
200</text>
</stdin>
<expected>
<text>0.6</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="0" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>62346
2545
12765623</text>
</stdin>
<expected>
<text>12.2955</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 329469 -->
<question type="coderunner">
<name>
<text>E04</text>
</name>
<questiontext format="html">
<text><![CDATA[<p>Автомобиль движется прямолинейно и
равномерно со скоростью <span lang="en-US">X
</span><span lang="ru-RU">км/ч</span><span lang="en-US">. </span><span lang="ru-RU">Впереди
него в том же направлении прямолинейно
и равномерно движется мотороллер со
скоростью </span><span lang="en-US">Y </span><span lang="ru-RU">км/ч.
В начальный момент времени </span><span lang="en-US">t₀
= 0 </span><span lang="ru-RU">расстояние между ними
</span><span lang="en-US">Z </span><span lang="ru-RU">км. За
какое время в минутах автомобиль догонит
мотороллер? Ответ выведите с точностью
4 знака после десятичной запятой.</span></p><br><p></p>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<coderunnertype>java_program</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>1</allornothing>
<penaltyregime>0, 0, 10, 20, ...</penaltyregime>
<precheck>0</precheck>
<hidecheck>0</hidecheck>
<showsource>0</showsource>
<answerboxlines>18</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<globalextra></globalextra>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer><![CDATA[import java.util.Locale;
import java.util.Scanner;
class prog {
public static void main(String[] args){
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
double v = sc.nextDouble();
double v2 = sc.nextDouble();
double s = sc.nextDouble();
double v3 = v-v2;
double r = s/v3*60;
System.out.println(String.format("%.4f", r));
}
}]]></answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>1</hoisttemplateparams>
<extractcodefromjson>1</extractcodefromjson>
<templateparamslang>None</templateparamslang>
<templateparamsevalpertry>0</templateparamsevalpertry>
<templateparamsevald>{}</templateparamsevald>
<twigall>0</twigall>
<uiplugin></uiplugin>
<uiparameters></uiparameters>
<attachments>0</attachments>
<attachmentsrequired>0</attachmentsrequired>
<maxfilesize>10240</maxfilesize>
<filenamesregex></filenamesregex>
<filenamesexplain></filenamesexplain>
<displayfeedback>1</displayfeedback>
<giveupallowed>0</giveupallowed>
<prototypeextra></prototypeextra>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>54
36
18</text>
</stdin>
<expected>
<text>60.0000</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>200
150
400</text>
</stdin>
<expected>
<text>480.0000</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
</testcases>
</question>
<!-- question: 329468 -->
<question type="coderunner">
<name>
<text>E05</text>
</name>
<questiontext format="html">
<text><![CDATA[<p>У Васи в квартире установлен двухтарифный электрический счетчик.<br>Он измеряет потребление электроэнергии в дневное время по тарифу Т1 и в ночное время по тарифу Т2.<br>Вася снял показания счетчика:<br>в начале месяца по каждому тарифу (Т1н и Т2н) и в конце месяца (Т1к и Т2к).<br>Вася знает, что стоимость киловатт-часа электроэнергии составляет по дневному тарифу cT1, а по ночному тарифу cT2.</p><p>На вход программе подается:<br>в первой строке: Т1н&nbsp;(в кВт·ч), Т2н (в кВт·ч),<br>во второй строке: Т1к&nbsp;(в кВт·ч), Т2к (в кВт·ч),<br>в третьей строке: cT1&nbsp;(в рублях), cT2 (в рублях).</p><p>Ваша программа должна вывести на экран:<br>в первой строке: количество потребленной электроэнергии по каждому тарифу (в кВт·ч),<br>во второй строке: сумму, которую нужно заплатить по каждому тарифу (в рублях),<br>в третьей строке — общую сумму счета за электроэнергию (в рублях).<br>Числа в строках выводить через пробел, с точностью 2 знака после десятичной точки.</p><p><br></p><p></p><br><p></p>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
<penalty>0.0000000</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<coderunnertype>java_program</coderunnertype>
<prototypetype>0</prototypetype>
<allornothing>1</allornothing>
<penaltyregime>0, 0, 10, 20, ...</penaltyregime>
<precheck>0</precheck>
<hidecheck>0</hidecheck>
<showsource>0</showsource>
<answerboxlines>18</answerboxlines>
<answerboxcolumns>100</answerboxcolumns>
<answerpreload></answerpreload>
<globalextra></globalextra>
<useace></useace>
<resultcolumns></resultcolumns>
<template></template>
<iscombinatortemplate></iscombinatortemplate>
<allowmultiplestdins></allowmultiplestdins>
<answer></answer>
<validateonsave>1</validateonsave>
<testsplitterre></testsplitterre>
<language></language>
<acelang></acelang>
<sandbox></sandbox>
<grader></grader>
<cputimelimitsecs></cputimelimitsecs>
<memlimitmb></memlimitmb>
<sandboxparams></sandboxparams>
<templateparams></templateparams>
<hoisttemplateparams>1</hoisttemplateparams>
<extractcodefromjson>1</extractcodefromjson>
<templateparamslang>None</templateparamslang>
<templateparamsevalpertry>0</templateparamsevalpertry>
<templateparamsevald>{}</templateparamsevald>
<twigall>0</twigall>
<uiplugin></uiplugin>
<uiparameters></uiparameters>
<attachments>0</attachments>
<attachmentsrequired>0</attachmentsrequired>
<maxfilesize>10240</maxfilesize>
<filenamesregex></filenamesregex>
<filenamesexplain></filenamesexplain>
<displayfeedback>1</displayfeedback>
<giveupallowed>0</giveupallowed>
<prototypeextra></prototypeextra>
<testcases>
<testcase testtype="0" useasexample="1" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>786.6 265.1
821.3 293.7
3.54 2.27</text>
</stdin>
<expected>
<text>34.70 28.60
122.84 64.92
187.76</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>159.3 268.7
267.1 305.8
1.89 1.24</text>
</stdin>
<expected>
<text>107.80 37.10
203.74 46.00
249.75</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
<testcase testtype="0" useasexample="0" hiderestiffail="1" mark="1.0000000" >
<testcode>
<text></text>
</testcode>
<stdin>
<text>284.7 32.8
328.9 51.3
8.56 4.79</text>
</stdin>
<expected>
<text>44.20 18.50
378.35 88.62
466.97</text>
</expected>
<extra>
<text></text>
</extra>
<display>
<text>SHOW</text>
</display>
</testcase>
</testcases>
</question>
</quiz>