NiteSoft.org
 

Новости

NiteSoft RSS
04-05-2012

На сайте размещена online версия справки к NiteTest 2.0.


25-04-2012

Ключ к NiteTest 2.0 бесплатно!


09-04-2012

Добавлен пример для NiteEditor, в котором каталоги, статьи, тесты и файлы включены вместе


06-04-2012

Добавлено несколько автономных файлов с тестами.

Электронный журнал

Раздел "Электронный журнал" предназначен для создания электронных документов (ведомостей), в которых отображаются оценки пользователей за тестирования, оценки введенные вручную, а также оценки, расчитанные по формулам. Каждая ведомость представляется в виде таблицы.
Ведомости могут быть общедоступными, когда просмотр и/или редактирование разрешено другим пользователям (если они имеют сообветствующие права). Такие ведомости помечаются специальной пиктограммой (ведомость "Математика", рисунок 1).
 
 
Рисунок 1 – Список ведомостей электронного журнала
 
При нажатии на кнопку  открывается окно (рисунок 2), в котором можно корректировать название ведомости, ее описание, а также каталог, пользователи с оценками которого будут выводится сразу после открытия ведомости.
 
 
Рисунок 2 – Диалог редактирования параметров ведомости
 
Внешний вид ведомости приведен на рисунке 3. Страница содержит меню выбора и загрузки отчета по текущей ведомости и списку пользователей и саму таблицу оценок (в таблице возможна навигация по вложенным каталогам пользователей).
 
 
Рисунок 3 – Ведомость электронного журнала
 
Некоторые колонки, для которых не указана формула или тест, можно редактировать (рисунок 4). Для начала редактирования нужно нажать левой кнопкой мыши на ячейку. Завершить редактирование можно нажатием кнопки Enter. При групповом проставлении оценок за дату вместо нажатия кнопки Enter нужно нажимать кнопку "Стрелка вниз". В таком случае текущая оценка записывается и автоматически выделяется для редактирования ячейка снизу.
 
 
Рисунок 4 – Редактирование оценок пользователя
 
При нажатии левой кнопки мыши на какой-либо колонке таблицы открывается меню (рисунок 5), в котором можно добавить справа или слева колонку, мереместить колонку, отредактировать или удалить.
 
 
Рисунок 5 – Меню редактирования колонок ведомости
 
 
Рисунок 6 – Параметры столбца ведомости
 
Поле "Формула" предназначено для ввода формулы c Delphi-подобным синтаксисом. С помощью этого существует возможность создания колонок специального типа, в котором оценки вычисляются по какой-либо формуле на основании предыдущих оценок пользователя. Применяется формула для оценок пользователей независимо друг от друга, т.е. оценки разных пользователей не влияют друг на друга. Для рисунка 3 поле "Итого" вычисляется по формуле "MarkAvg()" (средний балл по всем оценкам от начала ведомости и до колонки "Итого"). В поле "Формула" доступны функции, которые так или иначе оперируют оценками пользователя:
 
Integer - целое число; Extended и Double - дробное число; Variant - любой тип данных; string и WideSring - текстовая строка.
 
function MarkCount: Integer
количество оценок у пользователя (пустые ячейки не учитываются)
function MarkCount(ColumnId_A, ColumnId_B: Integer): Integer
количество оценок у пользователя, начиная с колонки с кодом ColumnId_A по колонку с кодом ColumnId_B (все включительно). Пустые ячейки не учитываются
function MarkAvg(): Extended
среднее арифметическое оценок пользователя (пустые ячейки не учитываются)
function MarkAvg(ColumnId_A, ColumnId_B: Integer): Extended
среднее арифметическое оценок пользователя с колонки с кодом ColumnId_A по колонку с кодом ColumnId_B включительно (пустые ячейки не учитываются)
function MarkSum(): Integer
сумма оценок (баллов) пользователя  (пустые ячейки не учитываются)
function MarkSum(ColumnId_A, ColumnId_B: Integer): Integer;
сумма оценок (баллов) пользователя с колонки с кодом ColumnId_A по колонку с кодом ColumnId_B включительно  (пустые ячейки не учитываются)
function MarkMin(): Integer
минимальная оценка пользователя
function MarkMin(ColumnId_A, ColumnId_B: Integer): Integer
минимальная оценка пользователя с колонки с кодом ColumnId_A по колонку с кодом ColumnId_B включительно 
function MarkMax(): Integer;
максимальная оценка пользователя
function MarkMax(ColumnId_A, ColumnId_B: Integer): Integer
максимальная оценка пользователя с колонки с кодом ColumnId_A по колонку с кодом ColumnId_B включительно 
function GetMarkE(ColumnId: Integer):Extended
значение оценки пользователя для колонки с кодом ColumnId (дробное число)
function GetMarkI(ColumnId: Integer):Integer
значение оценки пользователя для колонки с кодом ColumnId (целое число)
function GetMarkS(ColumnId: Integer):string
значение оценки пользователя для колонки с кодом ColumnId (текстовая строка)

 
Также можно использовать общие математические функции:
 
function RoundTo(AValue: Extended; ADigit: Integer): Extended;
function BoolToStr(B: Boolean): WideString;
function IfThen(AValue: Boolean; ATrue: Variant; AFalse: Variant): Variant;
 
function ArcCos(const X : Extended) : Extended;
function ArcSin(const X : Extended) : Extended;
function ArcTan2(const Y, X: Extended): Extended;
function Tan(const X: Extended): Extended;
function Cotan(const X: Extended): Extended;
function Secant(const X: Extended): Extended;
function Cosecant(const X: Extended): Extended;
function Hypot(const X, Y: Extended): Extended;
function RadToDeg(const Radians: Extended): Extended;
function RadToGrad(const Radians: Extended): Extended;
function RadToCycle(const Radians: Extended): Extended;
function DegToRad(const Degrees: Extended): Extended;
function DegToGrad(const Degrees: Extended): Extended;
function DegToCycle(const Degrees: Extended): Extended;
function GradToRad(const Grads: Extended): Extended;
function GradToDeg(const Grads: Extended): Extended;
function GradToCycle(const Grads: Extended): Extended;
function CycleToRad(const Cycles: Extended): Extended;
function CycleToDeg(const Cycles: Extended): Extended;
function CycleToGrad(const Cycles: Extended): Extended;
function Cot(const X: Extended): Extended;
function Sec(const X: Extended): Extended;
function Csc(const X: Extended): Extended;
function Cosh(const X: Extended): Extended;
function Sinh(const X: Extended): Extended;
function Tanh(const X: Extended): Extended;
function CotH(const X: Extended): Extended;
function SecH(const X: Extended): Extended;
function CscH(const X: Extended): Extended;
function ArcCot(const X: Extended): Extended;
function ArcSec(const X: Extended): Extended;
function ArcCsc(const X: Extended): Extended;
function ArcCosh(const X: Extended): Extended;
function ArcSinh(const X: Extended): Extended;
function ArcTanh(const X: Extended): Extended;
function ArcCotH(const X: Extended): Extended;
function ArcSecH(const X: Extended): Extended;
function ArcCscH(const X: Extended): Extended;
function LnXP1(const X: Extended): Extended;
function Log10(const X: Extended): Extended;
function Log2(const X: Extended): Extended;
function LogN(const Base, X: Extended): Extended;
function IntPower(const Base: Extended; const Exponent: Integer): Extended;
function Power(const Base, Exponent: Single): Single;
function Ldexp(const X: Extended; const P: Integer): Extended;
function Ceil(const X: Extended): Integer;
function Floor(const X: Extended): Integer;
function Poly(const X: Extended; const Coefficients: array of Extended): Extended;
function Mean(const Data: array of Extended): Extended;
function Sum(const Data: array of Extended): Extended;
function SumInt(const Data: array of Integer): Integer;
function SumOfSquares(const Data: array of Extended): Extended;
function MinValue(const Data: array of Extended): Extended;
function MinIntValue(const Data: array of Integer): Integer;
function Min(const A, B: Extended): Extended;
function MaxValue(const Data: array of Extended): Extended;
function MaxIntValue(const Data: array of Integer): Integer;
function Max(const A, B: Extended): Extended;
function StdDev(const Data: array of Extended): Extended;
function PopnStdDev(const Data: array of Extended): Extended;
function Variance(const Data: array of Extended): Extended;
function PopnVariance(const Data: array of Extended): Extended;
function TotalVariance(const Data: array of Extended): Extended;
function Norm(const Data: array of Extended): Extended;
function RandG(Mean, StdDev: Extended): Extended;
function IsNan(const AValue: Extended): Boolean;
function IsInfinite(const AValue: Extended): Boolean;
function Sign(const AValue: Extended): TValueSign;
function CompareValue(const A, B: Int64): TValueRelationship;
function SameValue(const A, B: Single; Epsilon: Single = 0): Boolean;
function IsZero(const A: Single; Epsilon: Single = 0): Boolean;
function RandomRange(const AFrom, ATo: Integer): Integer;
function RandomFrom(const AValues: array of Extended): Extended;
function InRange(const AValue, AMin, AMax: Extended): Boolean;
function EnsureRange(const AValue, AMin, AMax: Extended): Extended;
function RoundTo(const AValue: Extended; const ADigit: TRoundToEXRangeExtended): Extended;
function SimpleRoundTo(const AValue: Extended; const ADigit: TRoundToRange = -2): Extended;
function DoubleDecliningBalance(const Cost, Salvage: Extended;    Life, Period: Integer): Extended;
function FutureValue(const Rate: Extended; NPeriods: Integer; const Payment, PresentValue: Extended; PaymentTime: TPaymentTime): Extended;
function InterestPayment(const Rate: Extended; Period, NPeriods: Integer; const PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
function InterestRate(NPeriods: Integer; const Payment, PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
function InternalRateOfReturn(const Guess: Extended;    const CashFlows: array of Double): Extended;
function NumberOfPeriods(const Rate: Extended; Payment: Extended; const PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
function NetPresentValue(const Rate: Extended; const CashFlows: array of Double; PaymentTime: TPaymentTime): Extended;
function Payment(Rate: Extended; NPeriods: Integer; const PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
function PeriodPayment(const Rate: Extended; Period, NPeriods: Integer; const PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
function PresentValue(const Rate: Extended; NPeriods: Integer; const Payment, FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
function ArcCos(const X: Single) : Single;
function ArcSin(const X: Single) : Single;
function ArcTan2(const Y, X: Single): Single;
function Tan(const X: Extended): Extended;
function Cotan(const X: Extended): Extended;
function Secant(const X: Extended): Extended;
function Cosecant(const X: Extended): Extended;
function Hypot(const X, Y: Extended): Extended;
function RadToDeg(const Radians: Extended): Extended;
function RadToGrad(const Radians: Extended): Extended;
function RadToCycle(const Radians: Extended): Extended;
function DegToRad(const Degrees: Extended): Extended;
function DegToGrad(const Degrees: Extended): Extended;
function DegToCycle(const Degrees: Extended): Extended;
function GradToRad(const Grads: Extended): Extended;
function GradToDeg(const Grads: Extended): Extended;
function GradToCycle(const Grads: Extended): Extended;
function CycleToRad(const Cycles: Extended): Extended;
function CycleToDeg(const Cycles: Extended): Extended;
function CycleToGrad(const Cycles: Extended): Extended;
function Cot(const X: Extended): Extended;
function Sec(const X: Extended): Extended;
function Csc(const X: Extended): Extended;
function Cosh(const X: Extended): Extended;
function Sinh(const X: Extended): Extended;
function Tanh(const X: Extended): Extended;
function CotH(const X: Extended): Extended;
function SecH(const X: Extended): Extended;
function CscH(const X: Extended): Extended;
function ArcCot(const X: Extended): Extended;
function ArcSec(const X: Extended): Extended;
function ArcCsc(const X: Extended): Extended;
function ArcCosh(const X: Extended): Extended;
function ArcSinh(const X: Extended): Extended;
function ArcTanh(const X: Extended): Extended;
function ArcCotH(const X: Extended): Extended;
function ArcSecH(const X: Extended): Extended;
function ArcCscH(const X: Extended): Extended;
function LnXP1(const X: Extended): Extended;
function Log10(const X: Extended): Extended;
function Log2(const X: Extended): Extended;
function LogN(const Base, X: Extended): Extended;
function IntPower(const Base: Extended; const Exponent: Integer): Extended;
function Power(const Base, Exponent: Single): Single;
function Ldexp(const X: Extended; const P: Integer): Extended;
function Ceil(const X: Extended): Integer;
function Floor(const X: Extended): Integer;
function Poly(const X: Extended; const Coefficients: array of Extended): Extended;
function Mean(const Data: array of Extended): Extended;
function Sum(const Data: array of Extended): Extended;
function SumInt(const Data: array of Integer): Integer;
function SumOfSquares(const Data: array of Extended): Extended;
function MinValue(const Data: array of Extended): Extended;
function MinIntValue(const Data: array of Integer): Integer;
function Min(const A, B: Extended): Extended;
function MaxValue(const Data: array of Extended): Extended;
function MaxIntValue(const Data: array of Integer): Integer;
function Max(const A, B: Extended): Extended;
function StdDev(const Data: array of Extended): Extended;
function PopnStdDev(const Data: array of Extended): Extended;
function Variance(const Data: array of Extended): Extended;
function PopnVariance(const Data: array of Extended): Extended;
function TotalVariance(const Data: array of Extended): Extended;
function Norm(const Data: array of Extended): Extended;
function RandG(Mean, StdDev: Extended): Extended;
function IsNan(const AValue: Extended): Boolean;
function IsInfinite(const AValue: Extended): Boolean;
function Sign(const AValue: Extended): TValueSign;
function CompareValue(const A, B: Int64): TValueRelationship;
function SameValue(const A, B: Single; Epsilon: Single = 0): Boolean;
function IsZero(const A: Single; Epsilon: Single = 0): Boolean;
function RandomRange(const AFrom, ATo: Integer): Integer;
function RandomFrom(const AValues: array of Extended): Extended;
function InRange(const AValue, AMin, AMax: Extended): Boolean;
function EnsureRange(const AValue, AMin, AMax: Extended): Extended;
NiteSoft (c) 2005 - 2013