# DBT JRF 2022 — Question 122

Exam: DBT JRF 2022 · Section: B · Topic: Bioinformatics › Data Structures in R - Atomic Vectors · Difficulty: Medium

## Question

Which one of the following can be considered as an Atomic Vector?

## Options

- **A.** Your name
- **B.** Your thoughts
- **C.** Your marks in all subjects
- **D.** Your list of friends and their birthdays

## Answer

Option A

## Explanation

Atomic vector in R programming: In R, an atomic vector is the most basic data structure — a sequence of elements ALL of the SAME data type: • Numeric (double): e.g., heights, grades, prices • Integer: e.g., counts, ranks • Character: e.g., names, gene IDs • Logical (boolean): TRUE/FALSE values • Complex: complex numbers Examples from the options: • 'Your marks in all subjects': a set of NUMERIC values (e.g., 85, 90, 78, 92) → a NUMERIC ATOMIC VECTOR. ✔ • 'Your name': a SINGLE character value (length-1 character vector) • 'Your thoughts': not a data type at all • 'Your friends and their birthdays': a MIXED-type collection (names=character, dates) → better represented as a LIST, not an atomic vector. Answer: 'Your marks in all subjects' = numeric atomic vector in R.

Source: https://mypyqbuddy.com/questions/which-one-of-the-following-can-be-considered-6a104cd5920734408bc0c789
