These are the 10 AI in Health Care (AL-504-A) topics we chose from the RGPV syllabus for RGPV B.Tech CSE-AIML semester 5. No past paper of this subject is on this site yet, so we could not count repeats.
Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these
Chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.
AI in Health Care important questions with answers
Each answer starts with a short answer. Then come how often it was asked, the points to write, a diagram and an exam tip. The topics are chosen from the syllabus.
Q1. Medical image diagnosis with a CNN
Short answer.Medical image diagnosis uses a model, most often a convolutional neural network (CNN), to read a scan and give a score for each disease. The doctor uses the score as a second opinion.
From the syllabus · Unit 1
From the papers
“Unit 1: Disease detection with computer vision, Medical Image Diagnosis.” (Syllabus)
Write these points
How a CNN reads a scan
Convolution: small filters slide over the image and pick up edges, spots and textures.
Pooling: the feature map shrinks, so the network keeps strong signals and drops fine noise.
Deep layers: early layers find edges. Later layers find shapes such as a nodule, a fluid patch or an enlarged heart.
Output layer: a sigmoid gives one score from 0 to 1 for each disease. One X-ray can show more than one disease, so each label gets its own score.
Where it is used
Chest X-ray: pneumonia, fluid, a mass or an enlarged heart.
Skin photos: a mole that may be melanoma.
Eye photos: diabetic retinopathy. Breast scans: suspicious areas on a mammogram.
Size of the feature maps (from calc.py).
Input X-ray: 320 x 320 pixels, one grey channel.
A 3 x 3 filter with stride 1 and no padding gives 318 x 318. A 2 x 2 pool gives 159 x 159.
A second 3 x 3 filter gives 157 x 157. A second pool gives 78 x 78.
One layer of 32 such filters has 3 x 3 x 1 x 32 + 32 = 320 weights.
Remember. Most real models start from a network trained on everyday photos and then retrain it on scans. This is called transfer learning. It needs far fewer labelled scans.
Real-life example
A district hospital in Madhya Pradesh has many chest X-rays each day and one radiologist. A model reads every X-ray first and gives each a score for pneumonia. The radiologist opens the high scores first. The model does the sorting, while the doctor still writes the report.
Difference between CNN and a human radiologist
Point
CNN
Radiologist
Same or opposite
Learns from labelled images
Yes
Yes, during training
Same
Time per image
Under a second
Minutes
Opposite
Gets tired late at night
No
Yes
Opposite
Explains the reason
Weakly, with heat maps
Clearly
Opposite
Signs the final report
No
Yes
Opposite
Exam tip. Draw the CNN chain from input to sigmoid. Name the job of each layer. Then show the size steps from the worked example. Marks are lost when the output layer is left out.
Short answer.Class imbalance means one class, usually the disease, has far fewer examples than the other. A model trained on such data learns to say "normal" for nearly everything, so we fix it with weighted loss or resampling.
From the syllabus · Unit 1
From the papers
“Unit 1: Image Classification and Class Imbalance.” (Syllabus)
Write these points
Why imbalance hurts
In screening data only a small share of images show the disease.
The plain loss is mostly made of normal images, so the model learns them first.
A model that always says normal can show high accuracy and still miss every patient.
Fixes
Weighted loss: multiply the positive loss by w_pos = share of negatives. Multiply the negative loss by w_neg = share of positives.
With these weights both classes add the same amount to the total loss.
Oversampling: show the rare images more often, or make new ones by augmentation.
Undersampling: use only part of the normal images. This throws data away.
1,000 X-rays, 100 with disease (from calc.py).
Share of positives = 0.1, share of negatives = 0.9. A model that always says normal gets accuracy 0.9.
Weights: w_pos = 0.9 and w_neg = 0.1. Contribution of each class: 0.9 x 0.1 = 0.09 and 0.1 x 0.9 = 0.09, equal.
Model giving p = 0.1 to every image: plain loss = 0.3251, of which positives give 0.2303 and negatives 0.0948.
Weighted: positives give 0.2072 and negatives 0.0095. The loss now pushes hard on the missed positives.
Real-life example
A railway station has 100 ticket checkers' reports in a day and only a few show a real fraud. A new clerk who marks every report as fine is right most of the time. He still catches no fraud. The station tells him that each missed fraud counts nine times more than a false alarm. Now he studies the rare cases closely.
Fixing class imbalance
Difference between weighted loss and oversampling
Point
Weighted loss
Oversampling
Same or opposite
Goal
Balance the classes
Balance the classes
Same
Changes the data
No
Yes
Opposite
Changes the loss
Yes
No
Opposite
Risk of overfitting rare images
Low
Higher
Opposite
Easy to code
Yes
Yes
Same
Exam tip. Start with the trivial model that gets 90 percent accuracy. Then write w_pos and w_neg and show that both classes add 0.09. Draw the flow of the fix.
Q3. Sensitivity, specificity and accuracy as conditional probability
Short answer.Sensitivity is the share of sick people the test catches, P(+ | disease), while specificity is the share of healthy people it clears, P(- | normal). Accuracy is a mix of the two, weighted by prevalence.
From the syllabus · Unit 2
From the papers
“Unit 2: Sensitivity, Specificity and Evaluation Metrics, Accuracy in terms of conditional probability.” (Syllabus)
Write these points
Definitions
Sensitivity = TP / (TP + FN).
Specificity = TN / (TN + FP).
PPV (precision) = TP / (TP + FP): chance of disease when the test is positive.
NPV = TN / (TN + FN): chance of no disease when the test is negative.
Prevalence = share of people who have the disease.
Remember. With a rare disease most people are normal, so accuracy follows specificity. A high accuracy can hide a low sensitivity.
Real-life example
A blood sugar camp in a village tests 1,000 people. The test catches 9 of every 10 diabetics, which is its sensitivity. It clears 95 of every 100 healthy people, which is its specificity. Still, only two of three people with a positive result truly have diabetes. That is why a positive camp result is always followed by a lab test.
Four outcomes of a test
Difference between sensitivity and specificity
Point
Sensitivity
Specificity
Same or opposite
Conditional on
Disease present
Disease absent
Opposite
Formula uses
TP and FN
TN and FP
Opposite
Range
0 to 1
0 to 1
Same
Changes with threshold
Yes
Yes
Same
Raised by a lower threshold
Yes
No
Opposite
Exam tip. Write both formulas, then derive accuracy from conditional probability in one line. Fill one confusion matrix and compute all five numbers.
Short answer. The ROC curve plots sensitivity against the false positive rate (1 - specificity) for every threshold. Its area, the AUC, is the chance that a random sick patient gets a higher score than a random healthy one.
From the syllabus · Unit 2
From the papers
“Unit 2: ROC curve and Threshold.” (Syllabus)
Write these points
How to draw it
Sort patients by score from high to low.
Start at (0, 0) with the threshold above every score.
Lower the threshold past each score. A sick patient moves the point up. A healthy patient moves it right.
End at (1, 1) where everyone is called positive.
Reading it
A curve near the top left corner is a strong model.
The diagonal line is a coin toss, AUC = 0.5.
AUC = 1 means every sick patient scores above every healthy one.
The curve does not depend on prevalence, so it compares models fairly.
AUC of the 10-patient example (from calc.py).
4 sick and 6 healthy patients give 4 x 6 = 24 pairs.
In 21 pairs the sick patient has the higher score.
AUC = 21 / 24 = 0.875.
Real-life example
Think of a college entrance test used to pick students who will pass the final year. Take one student who later passed and one who failed. If the test score of the passing student is higher in most such pairs, the test ranks well. The AUC is that share of pairs.
Difference between ROC curve and confusion matrix
Point
ROC curve
Confusion matrix
Same or opposite
Number of thresholds
All
One
Opposite
Shows sensitivity
Yes
Yes
Same
Single summary number
AUC
Accuracy and others
Opposite
Depends on prevalence
No
Yes, for PPV and accuracy
Opposite
Built from model scores
Yes
Yes
Same
Exam tip. Draw the axes with labels, the diagonal and a stepped curve. Define AUC as a ranking chance and compute it by counting pairs.
Short answer.U-Net is a segmentation network shaped like a U: the encoder shrinks the image to learn what is in it. The decoder grows it back to say where it is, with skip connections carrying fine detail across.
From the syllabus · Unit 2
From the papers
“Unit 2: 2D U-Net and 3D U-Net.” (Syllabus)
Write these points
Parts
Encoder: repeated convolution and pooling. Size halves at each level and the number of filters grows.
Bottleneck: the smallest map, holding the most general features.
Decoder: up-convolution doubles the size at each level.
Skip connections: each decoder level joins the encoder map of the same size, so edges stay sharp.
Output: a 1 x 1 convolution with sigmoid or softmax gives a class score for every pixel.
2D U-Net and 3D U-Net
2D U-Net takes one slice at a time. It needs less memory, but it loses the link between slices.
3D U-Net takes a sub-volume with 3D filters. It keeps depth information but needs much more memory.
With 3D U-Net we split the MRI into small sub-volumes and stitch the masks back.
Level sizes for a 256 x 256 slice.
Encoder: 256, 128, 64, 32. Bottleneck: 16. Each step halves the side.
Decoder: 32, 64, 128, 256. The output mask is again 256 x 256.
Real-life example
A map maker first looks at a whole city from a hill to know where the river and the market are. Then she walks the streets to draw each lane exactly. She keeps her street notes beside the hill view while drawing. The hill view is the encoder, the street notes are the skip connections.
Difference between 2D U-Net and 3D U-Net
Point
2D U-Net
3D U-Net
Same or opposite
Input
One slice
Sub-volume
Opposite
U shape with skip links
Yes
Yes
Same
Memory needed
Lower
Higher
Opposite
Uses depth information
No
Yes
Opposite
Output
Mask per pixel
Mask per voxel
Opposite
Exam tip. Draw the U with sizes at each level and the skip links. State what encoder, decoder and skip links each do. Then give two differences between 2D and 3D.
Q6. Medical prognosis and linear prognostic models
Short answer.Medical prognosis predicts the future risk of an event, such as a stroke or death, for one patient. A linear prognostic model adds up weighted risk factors to make a score, often turned into a probability.
From the syllabus · Unit 3
From the papers
“Unit 3: Linear prognostic models, Medical Prognosis, Atrial fibrillation, Liver Disease Mortality, Risk of heart disease.” (Syllabus)
Write these points
Where prognosis is used
Atrial fibrillation: scores estimate the yearly risk of stroke. They guide who should get blood thinners.
Liver disease mortality: scores built from lab values estimate the short-term risk of death. They help rank patients for a transplant.
Heart disease risk: age, blood pressure, cholesterol, smoking and diabetes give a 10-year risk.
The common shape: risk = f(b0 + b1 x1 + b2 x2 + ...).
Building the model
Pick the outcome and the time window.
Collect risk factors, often transformed, such as log of a lab value.
Fit weights with logistic regression for a yes or no outcome.
Add interaction terms when one factor changes the effect of another.
Evaluate with the C-index (next answer).
Illustrative logistic model (from calc.py, made-up weights).
z = -7.0 + 0.05 age + 0.02 BP + 0.7 smoker. Risk = 1 / (1 + e^(-z)).
Age 60, BP 150, smoker: z = -0.3, risk = 0.4256.
Age 40, BP 120, non-smoker: z = -2.6, risk = 0.0691.
Smoking multiplies the odds by e^0.7 = 2.0138.
Remember. The weights above are made up to show the method. Real scores, such as the stroke score in atrial fibrillation or the liver disease score, have their own published items and points. They are not given here because we could not confirm them.
Real-life example
An insurance agent sets a premium from age, smoking and past illness. Each factor adds points and the total decides the price. A doctor's risk score works the same way, but the total is a chance of a heart attack. The doctor uses it to decide who gets medicine early.
Linear prognostic model
Difference between diagnosis and prognosis
Point
Diagnosis
Prognosis
Same or opposite
Question
What disease now?
What will happen later?
Opposite
Uses patient data
Yes
Yes
Same
Time window
Present
Future, such as 10 years
Opposite
Output
Disease label
Risk of an event
Opposite
Evaluated by
Sensitivity, AUC
C-index
Opposite
Exam tip. Define prognosis and give the three syllabus examples. Write the linear model formula and compute one risk with numbers. Say that real scores have fixed published items.
Q7. Evaluating prognostic models: concordant pairs, risk ties and the C-index
Short answer. The C-index (concordance index) checks whether a prognostic model ranks patients correctly. It is the share of permissible pairs in which the patient with the worse outcome got the higher risk score.
C = 1: perfect ranking. C = 0.5: random. Below 0.5: the model ranks the wrong way round.
For survival data, a pair is permissible only when we know who had the event first, so censoring is handled.
Four patients (from calc.py).
Scores and outcomes: A 0.8 event, B 0.6 no event, C 0.6 event, D 0.2 no event.
Permissible pairs: A-B, A-D, C-B, C-D = 4.
A-B, A-D and C-D are concordant = 3. C-B is a risk tie = 1.
C-index = (3 + 0.5 x 1) / 4 = 0.875.
Real-life example
A cricket selector ranks young players by a fitness score. A year later some made the state team and some did not. For each pair of one selected and one not selected player, we check if the selected one had the higher score. The share of correct pairs tells how good the score was.
Sorting every pair
Difference between C-index and AUC
Point
C-index
AUC
Same or opposite
Counts correctly ordered pairs
Yes
Yes
Same
Random model gives
0.5
0.5
Same
Handles censored time data
Yes
No
Opposite
Typical use
Prognosis, survival
Diagnosis
Opposite
Ties
Count as half
Count as half
Same
Exam tip. Define permissible, concordant and tie with one line each. Write the formula. Work a four-patient example and list every pair.
Q8. Survival function and the Kaplan-Meier estimate
Short answer. A survival model predicts the time until an event, such as death or relapse. The survival function S(t) = P(T > t) is the chance that a patient is still event-free after time t.
From the syllabus · Unit 4
From the papers
“Unit 4: Survival Model, Survival function, collecting time data, estimating the survival function.” (Syllabus)
Write these points
Collecting time data
For each patient record the start time, the end time and whether the event happened.
Censoring: a patient leaves the study or the study ends before the event. We only know the event came later than the last visit.
Censored patients must not be dropped or counted as events. Both choices bias the curve.
Kaplan-Meier estimate
At each event time t: S(t) = S(previous) x (1 - d / n).
d = events at t. n = patients still at risk just before t.
Censored patients leave the risk set without making a drop.
S(t) starts at 1 and never rises.
Eight patients (months; c = censored) (from calc.py).
Data: 2, 3c, 4, 4, 6c, 8, 9c, 10.
t = 2: n = 8, d = 1, S = 1 x 7/8 = 0.875.
t = 4: n = 6 (one censored at 3), d = 2, S = 0.875 x 4/6 = 0.5833.
t = 8: n = 3, d = 1, S = 0.3889. t = 10: n = 1, d = 1, S = 0.
Real-life example
A mobile shop sells 100 phones and tracks how many still work each month. Some buyers move to another city and stop reporting. The shop cannot say those phones broke, so it simply stops counting them. The share still working each month is a survival curve.
Difference between survival model and a classifier
Point
Survival model
Classifier
Same or opposite
Output
Probability over time
One yes or no score
Opposite
Handles censored patients
Yes
No
Opposite
Uses patient features
Yes
Yes
Same
Example
S(5 years)
Disease now or not
Opposite
Needs labelled data
Yes
Yes
Same
Exam tip. Define S(t) and censoring first. Then build the Kaplan-Meier table step by step and draw the step curve. Never treat a censored patient as an event.
Q9. Cox model: relative risk, individual and baseline hazard, survival trees
Short answer. The Cox proportional hazards model gives each patient a hazard h(t | x) = h0(t) exp(b x), where b x is the weighted sum of features. The baseline hazard h0(t) is shared, while exp(b x) is the patient's relative risk.
Baseline hazard h0(t): the hazard of a patient with all features at 0 or at the reference value.
Individual hazard: the baseline scaled by exp(b . x).
Hazard ratio: exp(b) for a one-unit rise in one feature, other features held fixed.
Proportional hazards: the ratio between two patients is the same at all times.
Survival trees
A survival tree splits patients like a decision tree, but each leaf holds its own survival curve.
It can find interactions and hazards that are not proportional.
A random survival forest averages many such trees. It is evaluated with the C-index for survival data.
Two patients (from calc.py, illustrative weights).
Weights: age 0.03 per year, smoker 0.6.
Patient 1: age 70, smoker. Patient 2: age 50, non-smoker.
Hazard ratio = exp(0.03 x 20 + 0.6) = exp(1.2) = 3.3201. Patient 1 is at 3.32 times the hazard at every time.
Smoking alone: exp(0.6) = 1.8221. Ten extra years: exp(0.3) = 1.3499.
Remember. The weights are made up to show the arithmetic. Real weights come from fitting the model to patient data.
Real-life example
Two families in the same colony face the same seasons: summer, rains and winter. One family has old wiring, so its fire risk is higher in every season by the same factor. The season pattern is the baseline hazard. The wiring factor is the relative risk.
Difference between Cox model and survival tree
Point
Cox model
Survival tree
Same or opposite
Assumes proportional hazards
Yes
No
Opposite
Gives a risk ranking
Yes
Yes
Same
Form
Formula with weights
Yes or no splits
Opposite
Finds interactions by itself
No
Yes
Opposite
Evaluated by C-index
Yes
Yes
Same
Exam tip. Write the Cox formula and name each part. Compute one hazard ratio with numbers. Add a short paragraph on survival trees as the non-linear option.
Q10. Randomized controlled trial and average treatment effect
Short answer. A randomized controlled trial (RCT) gives a treatment to a randomly chosen group and compares it with a control group. The average treatment effect (ATE) is the difference in outcome risk between the two groups.
From the syllabus · Unit 5
From the papers
“Unit 5: Analyse data from a randomized control trial, Average treatment effect.” (Syllabus)
Write these points
Why randomize
A coin toss decides who is treated, so the groups are alike on average in age, illness and habits.
Any difference in outcome can then be put down to the treatment.
Without randomization, doctors may give a drug to sicker patients and the drug looks harmful.
Measures from the trial
Risk in each arm = events / patients.
Absolute risk reduction (ARR) = control risk minus treatment risk.
Relative risk (RR) = treatment risk / control risk.
Number needed to treat (NNT) = 1 / ARR: patients to treat to prevent one event.
ATE as a risk difference = treatment risk minus control risk. A negative value means the treatment lowers risk.
Trial of 1,000 patients (from calc.py).
Treatment: 40 events in 500, risk 0.08. Control: 60 events in 500, risk 0.12.
A state wants to know if a free nutrition kit lowers anaemia in girls. A lottery picks half the schools for the kit. A year later both groups are tested. Because the lottery chose the schools, the difference in anaemia comes from the kit, not from richer or poorer areas.
Difference between ARR and RR
Point
ARR
RR
Same or opposite
Formula
Control risk minus treatment risk
Treatment risk / control risk
Opposite
Value in the example
0.04
0.6667
Opposite
Uses both arms
Yes
Yes
Same
Gives NNT directly
Yes
No
Opposite
From the same trial table
Yes
Yes
Same
Exam tip. Draw the trial with two arms. Compute risks, ARR, RR and NNT from one table. State why randomization makes the comparison fair.
What are the most important topics in AI in Health Care?
No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Medical image diagnosis with a CNN; Class imbalance and weighted loss; Sensitivity, specificity and accuracy as conditional probability; ROC curve and AUC; 2D U-Net and 3D U-Net.
How were these AI in Health Care important questions chosen?
Each topic was taken from the syllabus units. No past paper was available to count repeats, and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of AI in Health Care important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for AI in Health Care is free to download from this page.
The 10 topics of AI in Health Care (AL-504-A) for RGPV B.Tech CSE-AIML semester 5, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted. AI in Health Care is also searched for as AI-703-C.