Examination Center logo Examination Center

Use case

Fortran Exams

Assess numerical Fortran for engineering and science in a controlled, AI-free workspace — no installs, no lost work.

Examination Center is in early access — we're onboarding institutions through our Early Access Program. The information here describes our current platform and direction and may evolve; it is not a contractual commitment.

For engineering and scientific computing

A sample Fortran exam task

Here is the kind of short numerical task that fits a timed Fortran exam. It tests real understanding of arrays, loops, and floating-point math without depending on any AI assistant or autocomplete.

Task: Write a Fortran program that reads an integer n and then n real numbers from standard input. Compute and print, on separate lines:

Print each result with 4 decimal places. You may assume n >= 2. Edit the starter below; the program compiles and runs in a secure server sandbox, and you see compiler messages and program output separately so you can debug as you go.

program stats
  implicit none
  integer :: n, i
  real :: x
  real :: total, mean, var
  real, allocatable :: vals(:)

  read *, n
  allocate(vals(n))
  do i = 1, n
     read *, vals(i)
  end do

  ! TODO: compute the mean of vals
  ! TODO: compute the sample standard deviation (denominator n - 1)

  print '(A, F0.4)', 'mean = ', mean
  print '(A, F0.4)', 'stddev = ', sqrt(var)
end program stats

See also C & C++ exams and engineering coding exams.

Related

See C & C++ exams and engineering coding exams.

Get started

Early Access scope: up to 40 students and 1 exam. Indicative pricing only — see pricing or apply for Early Access.

FAQ

Does Examination Center grade Fortran exams automatically?

No. Examination Center is not an autograder and keeps no grade book. It gives you a secure, AI-free exam environment plus integrity evidence for human review; grading stays in your own workflow. If you want automated scoring, you can run an autograder afterward on the exported code. See the autograder comparison.

Which Fortran standard is supported, and do students need to install a compiler?

Nothing is installed on the student side. Fortran compiles and runs in a secure server sandbox, so every student uses the same toolchain in the browser. Standard modern Fortran (free-form source, the kind used in most engineering and scientific courses) works for the array, loop, and floating-point tasks typical of timed exams.

What libraries are available for Fortran exams?

Tasks rely on the Fortran standard language and intrinsic functions (math intrinsics like sqrt and sum, array operations, I/O, and modules). The environment is built for short, self-contained exam problems rather than large external library stacks. If your course needs a specific capability, mention it in your Early Access application so we can confirm fit.

How does it support academic integrity without making accusations?

Every student gets the same plain editor with no AI assistant and no autocomplete. During the exam you get live monitoring, and signals such as paste, large or sudden edits, and cross-student code similarity are surfaced as evidence for human review. Examination Center never issues automated verdicts or accuses anyone; the academic judgment stays with you.

What happens if a student's browser freezes or closes mid-exam?

Work is autosaved continuously, and the session can be recovered, so a frozen or closed browser does not cost a student their Fortran code. Combined with scheduled auto-close, this keeps large lab sittings fair and reduces disputes. To see it in practice, try the student demo or apply for Early Access.

Apply for Early Access Book a demo →