CS441 – Big Data Concepts: Midterm Important MCQs (65 Solved Questions)
Virtual University of Pakistan • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · CS441 Course Page · CS441 Subjective Pack (22 Q&As)
-
Big Data refers to data sets that are:
Topic: Introduction to Big Data
- Small and easy to manage in a spreadsheet
- So large and complex that traditional data processing tools cannot capture, store and process them efficiently ✓ Correct answer
- Always stored on a single computer
- Made up of only numbers
-
Which of the following is NOT one of the main characteristics (Vs) of Big Data?
Topic: Introduction to Big Data
- Volume
- Velocity
- Variety
- Visibility ✓ Correct answer
-
In Big Data, "Volume" refers to:
Topic: Introduction to Big Data
- The speed at which data is generated
- The huge amount of data generated and stored ✓ Correct answer
- The different formats of data
- The quality of data
-
In Big Data, "Velocity" refers to:
Topic: Introduction to Big Data
- The total size of the data
- The speed at which data is generated and must be processed ✓ Correct answer
- The accuracy of the data
- The business value of the data
-
In Big Data, "Variety" refers to:
Topic: Introduction to Big Data
- The different types and formats of data ✓ Correct answer
- The amount of data
- The speed of data
- The cost of storing data
-
In Big Data, "Veracity" refers to:
Topic: Introduction to Big Data
- The trustworthiness and quality of data ✓ Correct answer
- The size of data
- The speed of data
- The number of data sources
-
In Big Data, "Value" refers to:
Topic: Introduction to Big Data
- The price of the storage devices
- Extracting useful insights and benefits from the data ✓ Correct answer
- The number of files in a system
- The age of the data
-
Which of the following is an example of structured data?
Topic: Introduction to Big Data
- Photos shared on social media
- Rows and columns in a relational database table ✓ Correct answer
- Video recordings
- Voice messages
-
Which of the following is an example of unstructured data?
Topic: Introduction to Big Data
- A database table
- Video files ✓ Correct answer
- A JSON file
- A CSV file
-
Which of the following is an example of semi-structured data?
Topic: Introduction to Big Data
- A relational database table
- A JSON file ✓ Correct answer
- A printed book
- An audio clip
-
Which of the following is a major source of Big Data?
Topic: Introduction to Big Data
- A single handwritten diary
- Social media platforms ✓ Correct answer
- One printed newspaper
- A single desktop document
-
The size of Big Data is commonly measured in:
Topic: Introduction to Big Data
- Only kilobytes
- Terabytes, petabytes and exabytes ✓ Correct answer
- Only bytes
- Number of words
-
Scalability in a Big Data system means:
Topic: Introduction to Big Data
- The system slows down as data grows
- The ability of the system to handle growing amounts of data by adding resources ✓ Correct answer
- Deleting old data regularly
- Using only one powerful computer
-
Horizontal scaling means:
Topic: Introduction to Big Data
- Adding more machines or nodes to a system ✓ Correct answer
- Adding more RAM to a single machine
- Reducing the amount of data
- Restarting the system
-
Vertical scaling means:
Topic: Introduction to Big Data
- Adding more machines to a system
- Increasing the resources (CPU, RAM) of a single machine ✓ Correct answer
- Adding more users to a system
- Copying data to another city
-
Traditional database systems struggle with Big Data mainly because they:
Topic: Introduction to Big Data
- Are too fast for small data
- Are not designed to store and process massive, fast-growing and varied data ✓ Correct answer
- Can store unlimited data easily
- Are always free of cost
-
Which of the following is an application of Big Data in healthcare?
Topic: Introduction to Big Data
- Printing patient reports
- Disease prediction and better patient care through data analysis ✓ Correct answer
- Playing games in hospitals
- Typing documents
-
The main benefit of Big Data for a business is:
Topic: Introduction to Big Data
- Better and faster decision making based on data analysis ✓ Correct answer
- More paperwork
- Slower business processes
- Less information for managers
-
Which of the following is a major challenge of Big Data?
Topic: Introduction to Big Data
- Too little data is produced in the world
- Data privacy and security ✓ Correct answer
- Computers have become too cheap
- Data has no practical uses
-
Which technology is widely used for distributed storage and processing of Big Data?
Topic: Big Data Technologies and Analytics
- MS Word
- Hadoop ✓ Correct answer
- Notepad
- Paint
-
HDFS (Hadoop Distributed File System) is used to:
Topic: Big Data Technologies and Analytics
- Edit images
- Store large files distributed across many machines ✓ Correct answer
- Send emails
- Create presentations
-
MapReduce is:
Topic: Big Data Technologies and Analytics
- A programming model used to process large data sets in parallel across a cluster ✓ Correct answer
- A type of hard disk
- An email protocol
- A chart used in reports
-
NoSQL databases are preferred for Big Data because they:
Topic: Big Data Technologies and Analytics
- Support only fixed tables
- Provide a flexible schema and can scale across many servers ✓ Correct answer
- Work on only one machine
- Store only very small data
-
Descriptive analytics mainly answers the question:
Topic: Big Data Technologies and Analytics
- What happened? ✓ Correct answer
- What will happen?
- What should we do?
- Where is the data stored?
-
Predictive analytics mainly answers the question:
Topic: Big Data Technologies and Analytics
- What happened?
- What will happen? ✓ Correct answer
- What is data?
- Who created the data?
-
Prescriptive analytics mainly answers the question:
Topic: Big Data Technologies and Analytics
- What happened?
- What will happen?
- What should we do? ✓ Correct answer
- Where is the data stored?
-
Which of the following is an example of high-velocity data?
Topic: Big Data Technologies and Analytics
- A monthly printed report
- A live stock market data stream ✓ Correct answer
- A book in a library
- An annual census record
-
Big Data analytics is the process of:
Topic: Big Data Technologies and Analytics
- Deleting large data sets
- Examining large data sets to find patterns and useful insights ✓ Correct answer
- Printing all available data
- Hiding data from users
-
Which symbol is used to start a comment in Python?
Topic: Python Programming Basics
- //
- # ✓ Correct answer
- /*
- --
-
Which function is used to display output in Python?
Topic: Python Programming Basics
- show()
- display()
- print() ✓ Correct answer
- write()
-
Which keyword is used to define a function in Python?
Topic: Python Programming Basics
- func
- define
- def ✓ Correct answer
- function
-
What is the output of the following code? print(3 + 4 * 2)
Topic: Python Programming Basics
- 14
- 11 ✓ Correct answer
- 24
- 7
-
What is the output of the following code? def my_func(x, y): return x * y print(my_func(3, 4))
Topic: Python Programming Basics
- 7
- 12 ✓ Correct answer
- 34
- Error
-
What is the output of the following code? def my_func(x): return x * 3 print(my_func(7))
Topic: Python Programming Basics
- 10
- 21 ✓ Correct answer
- 73
- Error
-
The function range(2, 6) generates the sequence:
Topic: Python Programming Basics
- 2, 3, 4, 5, 6
- 2, 3, 4, 5 ✓ Correct answer
- 1, 2, 3, 4, 5
- 6, 5, 4, 3, 2
-
The function range(5) generates the sequence:
Topic: Python Programming Basics
- 1, 2, 3, 4, 5
- 0, 1, 2, 3, 4 ✓ Correct answer
- 0, 1, 2, 3, 4, 5
- 5, 4, 3, 2, 1
-
What is the output of the following code? print(list(range(1, 5)))
Topic: Python Programming Basics
- [1, 2, 3, 4, 5]
- [0, 1, 2, 3, 4]
- [1, 2, 3, 4] ✓ Correct answer
- [1, 5]
-
The function range(10, 0, -2) generates the sequence:
Topic: Python Programming Basics
- 10, 8, 6, 4, 2 ✓ Correct answer
- 10, 8, 6, 4, 2, 0
- 0, 2, 4, 6, 8, 10
- Error
-
In range(start, stop), the stop value is:
Topic: Python Programming Basics
- Included in the sequence
- Not included in the sequence ✓ Correct answer
- Doubled in the sequence
- Always zero
-
What is the output of the following code? for i in range(3): print(i)
Topic: Python Programming Basics
- 1, 2, 3
- 0, 1, 2 ✓ Correct answer
- 0, 1, 2, 3
- 3, 2, 1
-
In the following code, how many times is "Pakistan" printed? i = 1 while i <= 2: print("Pakistan") i = i + 1
Topic: Python Programming Basics
- One time
- Two times ✓ Correct answer
- Three times
- Infinite times
-
Which data type is used to store a whole number in Python?
Topic: Python Programming Basics
- float
- str
- int ✓ Correct answer
- list
-
What is the data type of 4.5 in Python?
Topic: Python Programming Basics
- int
- float ✓ Correct answer
- str
- bool
-
Which of the following is a valid variable name in Python?
Topic: Python Programming Basics
- 2total
- total-sales
- total_sales ✓ Correct answer
- class
-
What is the output of the following code? print("Total: " + str(50))
Topic: Python Programming Basics
- Total: 50 ✓ Correct answer
- Total:50
- 50
- Error
-
What is the output of the following code? print(len("BigData"))
Topic: Python Programming Basics
- 6
- 7 ✓ Correct answer
- 8
- 5
-
In Python, a list is written using:
Topic: Python Programming Basics
- Curly braces { }
- Square brackets [ ] ✓ Correct answer
- Round brackets ( )
- Angle brackets < >
-
Which method adds an item at the end of a list in Python?
Topic: Python Programming Basics
- add()
- insert()
- append() ✓ Correct answer
- push()
-
A dictionary in Python stores data in the form of:
Topic: Python Programming Basics
- Only keys
- Only values
- Key-value pairs ✓ Correct answer
- Rows and columns
-
What is the output of the following code? d = {"a": 1, "b": 2} print(d["b"])
Topic: Python Programming Basics
- 1
- 2 ✓ Correct answer
- b
- Error
-
Which operator gives the remainder of a division in Python?
Topic: Python Programming Basics
- /
- % ✓ Correct answer
- //
- **
-
What is the output of the following code? print(10 % 3)
Topic: Python Programming Basics
- 3
- 1 ✓ Correct answer
- 0
- 2
-
What is the output of the following code? print(2 ** 3)
Topic: Python Programming Basics
- 6
- 8 ✓ Correct answer
- 9
- 5
-
Which function converts a value into an integer in Python?
Topic: Python Programming Basics
- str()
- float()
- int() ✓ Correct answer
- bool()
-
Which strftime format code displays a date as 25-04-2025 (day-month-year)?
Topic: Python Programming Basics
- %d/%m/%Y
- %d-%m-%Y ✓ Correct answer
- %Y-%m-%d
- %m-%d-%Y
-
Which Python module is commonly used for working with dates and times?
Topic: Python Programming Basics
- math
- random
- datetime ✓ Correct answer
- os
-
What is the output of the following code? x = [1, 2, 3] print(x[0])
Topic: Python Programming Basics
- 0
- 1 ✓ Correct answer
- 3
- Error
-
In Python, indexing of a list or string starts from:
Topic: Python Programming Basics
- 1
- 0 ✓ Correct answer
- -1
- Any number
-
What is the output of the following code? print(10 / 2)
Topic: Python Programming Basics
- 5
- 5.0 ✓ Correct answer
- 2
- 10
-
What is the output of the following code? print(10 // 3)
Topic: Python Programming Basics
- 3.33
- 3 ✓ Correct answer
- 4
- 1
-
Which keyword is used to send a value back from a function in Python?
Topic: Python Programming Basics
- send
- give
- return ✓ Correct answer
- output
-
What is the output of the following code? total = 0 for n in [10, 20, 30]: total = total + n print(total)
Topic: Python Programming Basics
- 30
- 50
- 60 ✓ Correct answer
- 100
-
Which function is used to take input from the user in Python?
Topic: Python Programming Basics
- get()
- input() ✓ Correct answer
- read()
- scan()
-
The two Boolean values in Python are:
Topic: Python Programming Basics
- true and false
- True and False ✓ Correct answer
- yes and no
- on and off
-
What is the output of the following code? print(len([5, 10, 15, 20]))
Topic: Python Programming Basics
- 3
- 4 ✓ Correct answer
- 5
- 50