Skip to main content

PROBLEM SOLVING AND PYTHON PROGRAMMING QUIZ

1) What is the first step in problem-solving? A) Writing code B) Debugging C) Understanding the problem D) Optimizing the solution Answer: C 2) Which of these is not a step in the problem-solving process? A) Algorithm development B) Problem analysis C) Random guessing D) Testing and debugging Answer: C 3) What is an algorithm? A) A high-level programming language B) A step-by-step procedure to solve a problem C) A flowchart D) A data structure Answer: B 4) Which of these is the simplest data structure for representing a sequence of elements? A) Dictionary B) List C) Set D) Tuple Answer: B 5) What does a flowchart represent? A) Errors in a program B) A graphical representation of an algorithm C) The final solution to a problem D) A set of Python modules Answer: B 6) What is pseudocode? A) Code written in Python B) Fake code written for fun C) An informal high-level description of an algorithm D) A tool for testing code Answer: C 7) Which of the following tools is NOT commonly used in pr...

Celebrity Quiz


1) Which pop singer is known as the "Queen of Pop"?
a) Beyoncé
b) Britney Spears
c) Madonna
d) Rihanna
Answer: c) Madonna

2) What is the real name of the rapper Cardi B?
a) Belcalis Almanzar
b) Cardi B
c) Onika Tanya Maraj
d) Kiari Kendrell Cephus
Answer: a) Belcalis Almanzar

3) What is the name of the actor who played the character of Harry Potter in the Harry Potter movie series?
a) Daniel Radcliffe
b) Rupert Grint
c) Tom Felton
d) Emma Watson
Answer: a) Daniel Radcliffe

4) Which rapper is known for his hits "God's Plan" and "In My Feelings"?
a) Drake
b) Kendrick Lamar
c) Post Malone
d) Travis Scott
Answer: a) Drake

5) What is the name of the actress who played the character of Katniss Everdeen in the Hunger Games movie series?
a) Emma Watson
b) Jennifer Lawrence
c) Kristen Stewart
d) Shailene Woodley
Answer: b) Jennifer Lawrence

6) Which pop singer is known for her hit songs "Shake It Off" and "Bad Blood"?
a) Ariana Grande
b) Taylor Swift
c) Selena Gomez
d) Katy Perry
Answer: b) Taylor Swift

7) What is the real name of the rapper Drake?
a) Aubrey Drake Graham
b) Jahseh Dwayne Ricardo Onfroy
c) Rakim Mayers
d) Symere Woods
Answer: a) Aubrey Drake Graham

8) Which actor played the role of Tony Stark/Iron Man in the Marvel Cinematic Universe?
a) Chris Hemsworth
b) Chris Evans
c) Robert Downey Jr.
d) Mark Ruffalo
Answer: c) Robert Downey Jr.

9) What is the name of the actress who played the character of Hermione Granger in the Harry Potter movie series?
a) Emma Watson
b) Bonnie Wright
c) Evanna Lynch
d) Katie Leung
Answer: a) Emma Watson

10) Which rapper is known for his hits "HUMBLE." and "DNA."?
a) Drake
b) Kendrick Lamar
c) Post Malone
d) Travis Scott
Answer: b) Kendrick Lamar

11) What is the name of the actress who played the character of Eleven in the TV series Stranger Things?
a) Millie Bobby Brown
b) Sadie Sink
c) Winona Ryder
d) Natalia Dyer
Answer: a) Millie Bobby Brown

12) Which pop singer is known for her hits "Love Story" and "You Belong With Me"?
a) Ariana Grande
b) Taylor Swift
c) Selena Gomez
d) Katy Perry
Answer: b) Taylor Swift

13) What is the real name of the rapper Kanye West?
a) Aubrey Drake Graham
b) Kanye West
c) Sean Combs
d) Jay-Z
Answer: b) Kanye West

14) Which actor played the role of Jack Dawson in the movie Titanic?
a) Leonardo DiCaprio
b) Brad Pitt
c) Tom Hanks
d) Johnny Depp
Answer: a) Leonardo DiCaprio

15) Which pop singer is known for her hits "Hello" and "Rolling in the Deep"?
a) Adele
b) Sia
c) Lady Gaga
d) Lorde
Answer: a) Adele

16) What is the name of the actor who played the character of Walter White in the TV series Breaking Bad?
a) Bryan Cranston
b) Aaron Paul
c) Dean Norris
d) RJ Mitte
Answer: a) Bryan Cranston

17) Which rapper is known for his hits "Lose Yourself" and "Rap God"?
a) Eminem
b) Jay-Z
c) Nas
d) 50 Cent
Answer: a) Eminem

18) What is the name of the actress who played the character of Daenerys Targaryen in the TV series Game of Thrones?
a) Lena Headey
b) Emilia Clarke
c) Maisie Williams
d) Sophie Turner
Answer: b) Emilia Clarke

19) Which pop singer is known for her hits "Roar" and "Firework"?
a) Ariana Grande
b) Taylor Swift
c) Selena Gomez
d) Katy Perry
Answer: d) Katy Perry

20) What is the real name of the rapper Lil Wayne?
a) Dwayne Michael Carter Jr.
b) Kiari Kendrell Cephus
c) Symere Woods
d) Belcalis Almanzar
Answer: a) Dwayne Michael Carter Jr.

21) Which actor played the role of the Joker in the movie The Dark Knight?
a) Heath Ledger
b) Joaquin Phoenix
c) Jared Leto
d) Jack Nicholson
Answer: a) Heath Ledger

22) What is the name of the actress who played the character of Rey in the Star Wars sequel trilogy?
a) Daisy Ridley
b) Felicity Jones
c) Carrie Fisher
d) Natalie Portman
Answer: a) Daisy Ridley

23) Which rapper is known for his hits "Go Flex" and "White Iverson"?
a) Drake
b) Kendrick Lamar
c) Post Malone
d) Travis Scott
Answer: c) Post Malone

24) What is the name of the actress who played the character of Hermione Lodge in the TV series Riverdale?
a) Camila Mendes
b) Lili Reinhart
c) Madelaine Petsch
d) Marisol Nichols
Answer: d) Marisol Nichols

25) Which pop singer is known for her hits "The Edge of Glory" and "Born This Way"?
a) Adele
b) Sia
c) Lady Gaga
d) Lorde
Answer: c) Lady Gaga



Popular posts from this blog

Introduction to C Programs

INTRODUCTION The programming language ‘C’ was developed by Dennis Ritchie in the early 1970s at Bell Laboratories. Although C was first developed for writing system software, today it has become such a famous language that a various of software programs are written using this language. The main advantage of using C for programming is that it can be easily used on different types of computers. Many other programming languages such as C++ and Java are also based on C which means that you will be able to learn them easily in the future. Today, C is mostly used with the UNIX operating system. Structure of a C program A C program contains one or more functions, where a function is defined as a group of statements that perform a well-defined task.The program defines the structure of a C program. The statements in a function are written in a logical series to perform a particular task. The most important function is the main() function and is a part of every C program. Rather, the execution o...

Performance

Performance ( Optional ) * The I/O system is a main factor in overall system performance, and can place heavy loads on other main components of the system ( interrupt handling, process switching, bus contention, memory access and CPU load for device drivers just to name a few. ) * Interrupt handling can be relatively costly ( slow ), which causes programmed I/O to be faster than interrupt driven I/O when the time spent busy waiting is not excessive. * Network traffic can also loads a heavy load on the system. Consider for example the sequence of events that occur when a single character is typed in a telnet session, as shown in figure( And the fact that a similar group of events must happen in reverse to echo back the character that was typed. ) Sun uses in-kernel threads for the telnet daemon, improving the supportable number of simultaneous telnet sessions from the hundreds to the thousands.   fig: Intercomputer communications. * Rather systems use front-end processor...

Mathematics

MATHEMATICS           Mathematics is the science that deals with shapes, quantities and arrangements. Archmedes is known as the father of Mathematics (287BC-212BC). Mathematics seek and use patterns to formulates new conjuctures.They resove truth or false by using mathematical proof. Mathematics developed by counting, calculation, Measurements, Shapes and motion of physical objects.  Definition Mathematics has no general accepted definition. Until 18th century Aristotle defined mathematics as "the science of quantity". Many mathematicans take no interest in definition they simply say "Mathematics is what Mathematican do". Three leading definition of mathematics today are logicist, intutionist, and formalist. Logicist - In terms of Benjamin peirce, the definition of mathematics in terms of logic are "the science that draws necessary conclusion" and also said that " All mathematics is symbolic logic" by Mathematician Rusell. Intutionist - L.E.J.Bro...