dMAT Computer Science Section (RWTH Battery Science): Syllabus and Practice

By Swastika GhoshDestination Counsellor for Germany

Last checked Reviewed by LeapScholar's Germany admissions expert 5 min read

dMAT Computer Science Practice Questions with Answers (Free)

The 12 questions below cover data types and bit widths, numeric precision and representation limits, combinational logic and truth tables, and linear discriminant analysis on high-dimensional data. They are original, built to test the same concepts as the official materials with different numbers and wording, and each one includes a full solution path. Work through them without notes and without a calculator, exactly as the real exam requires.

How it works: Questions follow the format of the official preparatory materials for this module. Answer, then compare your route with the solution path.

0 of 12 done
Time yourself: aim for an even pace across the set

INPUT 1 · READ THIS FIRST

📄 Input 1 · Data Types, Bit Widths and Value Ranges

A variable is a named location in memory. In a typed language, declaring a variable fixes how much memory is reserved for it and what range of values it can hold. Declaring a variable with a value both reserves the memory and initialises it in one step; declaring without a value only reserves the memory. The table below lists representative widths. Questions 1 to 3 refer to this input.

TypeWidthApproximate range
boolean1 bittrue or false
short16 bitintegers
int32 bitintegers
float32 bitup to roughly 1038
double64 bitup to roughly 10308
stringvariabledepends on character count

Question 1 EasySolved example

A programmer declares a variable as boolean without assigning it a value. What has happened to memory at that point?

Worked solution

Answer: a. Declaring a variable reserves the memory its type needs, here a single bit for a boolean. Only declaring it together with a value also initialises that memory. Since no value was given, the bit is reserved but not yet set.

Question 2 MediumSolved example

Which pair of variables together uses the same total memory as a single double?

Worked solution

Answer: b. A double is 64 bits. An int (32 bits) plus a float (32 bits) also totals 64 bits. Two shorts total 32 bits, a boolean plus an int totals 33 bits, and a short plus an int totals 48 bits, so none of the others match.

High difficulty · 3 questions

Question 3 Hard

A developer needs to store a numeric value of approximately 1050 for use in arithmetic. Which type from the table is the smallest one able to hold it, and why?

View Solution Path

Answer: c. A value of 1050 is well beyond the roughly 1038 reach of a float, so a float cannot hold it. A double, reaching roughly 10308, is the smallest listed type that comfortably covers it. Overflow wrapping does not extend range, it corrupts the value, so option a is wrong for the opposite reason it claims to be right.

Low difficulty · 3 questions

INPUT 2 · READ THIS FIRST

📄 Input 2 · Numeric Precision and Representation Limits

Floating-point types trade an enormous representable range for limited precision: only a fixed number of significant digits is stored, so a value near the edge of that range is rounded to the nearest representable value. Repeated arithmetic on such approximations accumulates a representation error. Moving from float to double extends both the representable range and the number of significant digits carried, which reduces this error without removing it entirely. Questions 4 to 6 refer to this input.

Question 4 Easy

What is the main trade-off a programmer accepts when choosing a float over a double to save memory?

View Solution Path

Answer: d. The passage states that floating types trade range for precision. A float carries fewer significant digits than a double, so values are rounded more coarsely. Memory saving is real, but it comes at the cost of precision, not for free.

Medium difficulty · 4 questions

Question 5 Medium

A long sequence of oscillation readings is repeatedly summed and averaged using float variables, and the final result drifts noticeably from the value obtained by repeating the same calculation with double variables. What best explains the drift?

View Solution Path

Answer: a. Each float addition rounds to the nearest representable value. Over a long sequence, those small roundings do not cancel out perfectly, and the accumulated representation error becomes large enough to separate the float result from the more precise double result.

Original questions modelled on official preparatory materials. There are no dMAT past papers.

Next moduleElectrical Engineering

Key facts

  • Computer Science is one of five disciplines in the dMAT Battery Science module, not a standalone test, tested in the Basic Task plus two Advanced Tasks if you choose it as your field
  • Basic Task: data types and memory. Advanced Tasks: combinational logic, and linear transformations of high-dimensional data (LDA)
  • Format: technical reading passage + four-option single-choice questions, 90 minutes for the whole subject test
  • Both advanced topics map to real battery engineering: logic gates to protective circuit decisions, LDA to catching a degrading cell early
  • Method: read the passage as your reference sheet first, work logic questions one gate at a time, anchor precision questions to the passage’s stated ranges
  • Attempt 12 free practice questions above using this method
On this page
  1. dMAT Computer Science Practice Questions with Answers (Free)
  2. What Is the dMAT Computer Science Section?
  3. How to Solve dMAT Computer Science Questions
  4. dMAT Computer Science Syllabus: Basic and Advanced Tasks
  5. dMAT Computer Science Study Plan Before the 2027 Sittings
  6. Related dMAT topics
  7. Frequently Asked Questions About the dMAT Computer Science Section

This guide sets out what the Computer Science module covers, who it rewards, and how to prepare and closes with 12 original practice questions in the same passage-plus-multiple-choice format you will see on exam day.

What Is the dMAT Computer Science Section?

Battery management systems run on embedded software that reads cell voltage, temperature, and current in real time, then decides how to charge, discharge, and protect the pack. The three CS topics map directly onto that pipeline: sized data types for sensor readings, logic for rapid protective decisions, and data-driven methods to catch a degrading cell early.

Basic Task: Data Types and Memory:

TypeWidthRange
Boolean1 bittrue or false
Short16 bits−32,768 to 32,767
Int32 bitsabout ±2.1 billion
Float32 bits~10³⁸
Double64 bits~10³⁰⁸
StringNo fixed widthAny length

Advanced Task 1: Combinational Logic

AND, OR, NOT gates; truth tables; simplifying an expression once you can trace it through a small circuit.

Advanced Task 2: Linear Transformations (LDA)

Linear Discriminant Analysis finds the directions in a data set that best separate predefined classes, exactly what a cell-diagnostics pipeline needs to distinguish a healthy cell from a degrading one across several variables at once.

How to Solve dMAT Computer Science Questions

Read the passage before you look at the questions, and treat it as your reference sheet. Note where the type-and-width table, the gate definitions, or the description of what LDA optimizes for sits. You will not have your own notes, but the passage gives you nearly everything you need, so look up a stated value range rather than recalling one from your degree.

Work logic questions one gate at a time

A question that chains two or three gates together is not hard if you evaluate it in order: find the output of the first gate for the given inputs, then feed that output into the next. Trying to hold the whole circuit in your head at once is where marks are lost.

For data type and precision questions, anchor on the actual numbers

Compare the magnitude in the question against the ranges given in the passage rather than guessing from memory, since exact widths can vary slightly between passages.

For LDA questions, separate what the technique optimizes for from how it is applied. Many wrong options describe a real but different technique, such as general variance reduction or file compression. Reread what the passage says LDA specifically searches for before choosing it.

dMAT Computer Science Syllabus: Basic and Advanced Tasks

TaskTopicWhat it involves
Basic TaskData types and memoryVariable declaration, memory widths, representable ranges, precision
Advanced Task 1Combinational logicBoolean AND, OR, NOT; logic gates; truth tables; simplifying expressions
Advanced Task 2Linear transformations of high-dimensional data setsLinear Discriminant Analysis; separating classes in multivariate data

As with the other four disciplines, every question here is passage-based. You are given a short technical passage, sometimes with a table, and the question tests whether you can apply undergraduate-level reasoning to it quickly, not whether you can recall a fact from memory. That distinction matters more for how you prepare than almost anything else in this guide.

dMAT Computer Science Study Plan Before the 2027 Sittings

Registration for the 16 January 2027 and 13 March 2027 exams is open now (deadlines 4 January and 1 March 2027). A four-week plan that treats Computer Science as one part of a five-discipline subject module works well.

WeekFocus
1: DiagnoseAttempt the 12 CS practice questions plus a handful from each of the other four disciplines. Note whether data types, combinational logic, or LDA costs the most time
2: Refresh Basic TaskRe-read variable declaration, memory width, and value-range definitions until you can state them without a source
3: Go deepIf your discipline is CS, focus on combinational logic and LDA. If not, your own two Advanced Task areas
4: Rehearse conditionsNo notes, no calculator on screen. Watch the official d-mat.de videos

Frequently Asked Questions About the dMAT Computer Science Section

Do I need real programming experience to answer this section well?

No. The Basic Task tests data types and memory at the first-year level, and the passage supplies the specific widths and ranges you need.

Is the Computer Science section only relevant if I studied computer science?

Not for the Basic Task, which every candidate answers. It matters most if you choose Computer Science as your Advanced Task field, typically because your Bachelor's degree is in computer science, IT, or a closely related field.

Why is there a computer science topic in a battery science exam at all?

Because battery management systems are built on exactly these foundations: sized data types for sensor readings, digital logic for protective decisions, and methods like LDA for diagnosing cell health.

Can I use a calculator for the numeric questions?

No. No calculator and no notes are allowed anywhere in the dMAT. Questions are designed to be answerable through reasoning and simple arithmetic.

What if I believe I have been assigned the wrong subject module?

Contact g.a.s.t. at kontakt@gast.de , since they handle registration and module assignment. APS India handles the separate APS procedure and any exemptions.

Plan your Germany Master's with an expert

Free 1:1 call on APS, the dMAT and your university shortlist.

Talk to a Germany counsellor

Official sourcesd-mat.degast.deaps-india.deanabin

LeapScholar is not affiliated with g.a.s.t. Facts on this page were last checked on 18 Nov 2026.