Johnson & Johnson Interview Questions

Johnson & Johnson Interview Guides

Click or hover over a slice to explore questions for that topic.
Machine Learning
(17)
Data Structures & Algorithms
(14)
SQL
(11)
Behavioral
(6)
Statistics
(4)

Johnson & Johnson Interview Questions

Practice for the Johnson & Johnson interview with these recently asked interview questions.

QuestionTopicDifficulty
SQL
Medium

A biomedical research lab is studying treatment effectiveness across different brain cancer categories. Each patient is associated with one cancer type and may undergo zero or more treatments. Write a query to perform an aggregated analysis across all cancer categories.

For each cancer type, compute:

  1. Total number of patients
  2. Percentage of patients who survived ≥ 12 months
    • Round to 2 decimal places
    • A “1-year survivor” is defined as survival_months >= 12
  3. Average number of treatments per patient
    • Round to 2 decimal places
    • Include patients with zero treatments

Sort the results in descending order by survival rate.

Example 1

Input :

Table patients

Column Type
patient_id INTEGER
cancer_type VARCHAR
survival_months INTEGER

Table treatments

Column Type
treatment_id INTEGER
patient_id INTEGER
treatment_name VARCHAR
treatment_date DATE

Output :

Column Type
cancer_type VARCHAR
total_patients INTEGER
pct_one_year_survivors DECIMAL
avg_treatments_per_patient DECIMAL

Example 2

Input:

patients table

patient_id cancer_type survival_months
1 Glioblastoma 10
2 Meningioma 24
3 Astrocytoma 15
4 Glioblastoma 14
5 Meningioma 7

treatments table

treatment_id patient_id treatment_name treatment_date
201 1 Radiation 2024-03-01
202 1 Chemotherapy 2024-06-01
203 2 Surgery 2024-02-01
204 4 Chemotherapy 2024-08-01

Output:

cancer_type total_patients pct_one_year_survivors avg_treatments_per_patient
Astrocytoma 1 100.00 0.00
Meningioma 2 50.00 0.50
Glioblastoma 2 50.00 1.00

Explanation:

Astrocytoma

  • Total patients: 1
  • Survivors: 11 → 100.00%
  • Treatments: 0 total → 0.00 per patient

Meningioma

  • Total patients: 2
  • Survivors: patient 2 (24 months) → 50.00%
  • Treatments: 1 total (patient 2) → 0.50 per patient

Glioblastoma

  • Total patients: 2
  • Survivors: patient 4 (14 months) → 50.00%
  • Treatments: 3 total (2 for patient 1, 1 for patient 4) → 1.00 per patient
Behavioral
Easy
Machine Learning
Easy
Loading pricing options

View all Johnson & Johnson questions

Challenge

Check your skills...
How prepared are you for working at Johnson & Johnson?

Johnson & Johnson Salaries by Position

ML Engineer*
$180K
ML Engineer
Median: $180K
Mean (Average): $180K
Data points: 1
$130K
$208K
Data Scientist
Median: $150K
Mean (Average): $163K
Data points: 6
Product Manager*
$140K
Product Manager
Median: $140K
Mean (Average): $140K
Data points: 1
$81K
$199K
Software Engineer
Median: $130K
Mean (Average): $135K
Data points: 13
Business Intelligence*
$115K
Business Intelligence
Median: $115K
Mean (Average): $115K
Data points: 1
$69K
$74K
Business Analyst
Median: $69K
Mean (Average): $71K
Data points: 3

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the ML Engineer role pays the most with a $180,000 base salary while the Business Analyst role on average pays the least with a $71,000 base salary.

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.