Discussly

Computer Trivia Questions

402 trivia questions with answers, all ages. Multiple-choice trivia with answers, sorted by topic and level. Reveal the answers below, pick one at random, or present them full-screen.

All agesTriviaPage 1 of 9
  1. 1.

    Statement 1| For a continuous random variable x and its probability distribution function p(x), it holds that 0 ≤ p(x) ≤ 1 for all x. Statement 2| Decision tree is learned by minimizing information gain.

    • ATrue, True
    • BTrue, False
    • CFalse, True
    • DFalse, False
    Answer: False, False
  2. 2.

    A 3-way, set-associative cache is

    • Aeffective only if 3 or fewer processes are running alternately on the processor
    • Bfaster to access than a direct-mapped cache
    • Cpossible only with write-back
    • Done in which each main memory word can be stored at any of 3 cache locations
    Answer: one in which each main memory word can be stored at any of 3 cache locations
  3. 3.

    Let f(X) = if x = 1 then 0 else [x * f(x - 1) + x**2]. The value of f(4) is

    • A53
    • B100
    • C29
    • D50
    Answer: 100
  4. 4.

    The color of a pixel can be represented using the RGB (Red, Green, Blue) color model, which stores values for red, green, and blue, each ranging from 0 to 255. How many bits (binary digits) would be needed to represent a color in the RGB model?

    • A24
    • B8
    • C16
    • D32
    Answer: 24
  5. 5.

    A packet filter firewall filters at the

    • APhysical Layer
    • BData link layer
    • CNetwork or transport layer
    • DApplication or transport
    Answer: Network or transport layer
  6. 6.

    For Kernel Regression, which one of these structural assumptions is the one that most affects the trade-off between underfitting and overfitting:

    • AWhether we use Euclidian versus L1 versus L∞ metrics
    • BWhether kernel function is Gaussian versus triangular versus box-shaped
    • CThe kernel width
    • DThe maximum height of the kernel function
    Answer: The kernel width
  7. 7.

    What does EXE do when the STP solver times out on a constraint query for a particular path?

    • ARemove a subset of the constraints and retry the query.
    • BAssume that the query is not satisfiable and stop executing the path
    • CRestart STP and retry the query, up to a limited number of retries.
    • DAssume that the query is satisfiable and continue executing the path.
    Answer: Assume that the query is not satisfiable and stop executing the path
  8. 8.

    Which operating system was released first?

    • AWindows
    • BOS/2
    • CMac OS
    • DLinux
    Answer: Mac OS
  9. 9.

    The K-means algorithm:

    • AConverges to the global optimum if and only if the initial means are chosen as some of the samples themselves
    • BRequires the dimension of the feature space to be no bigger than the number of samples
    • CMinimizes the within class variance for a given number of clusters
    • DHas the smallest value of the objective function when K = 1
    Answer: Minimizes the within class variance for a given number of clusters
  10. 10.

    Which of these programming languages is a low-level language?

    • APython
    • BPascal
    • CAssembly
    • DC#
    Answer: Assembly
  11. 11.

    What does the 'S' in the RSA encryption algorithm stand for?

    • ASchottky
    • BSecure
    • CShamir
    • DStable
    Answer: Shamir
  12. 12.

    What is the name of Layer 7 of the OSI model?

    • ANetwork
    • BApplication
    • CPresent
    • DSession
    Answer: Application
  13. 13.

    Message authentication is a service beyond

    • AMessage Integrity
    • BMessage Condentiality
    • CMessage Sending
    • DMessage Splashing
    Answer: Message Integrity
  14. 14.

    Which of the following is a Wireless traffic Sniffing tool?

    • AMaltego
    • BNessus
    • CWireshark
    • DBurpSuit
    Answer: Wireshark
  15. 15.

    Which of the following is a personal computer made by the Japanese company Fujitsu?

    • APC-9801
    • BXmillennium
    • CFM-7
    • DMSX
    Answer: FM-7
  16. 16.

    Statement 1| The F1 score can be especially useful for datasets with class high imbalance. Statement 2| The area under the ROC curve is one of the main metrics used to assess anomaly detectors.

    • AFalse, False
    • BFalse, True
    • CTrue, True
    • DTrue, False
    Answer: True, True
  17. 17.

    What is the value of this python expression: 1 + 3 % 3?

    • A1
    • B0
    • C3
    • D4
    Answer: 1
  18. 18.

    Which of the following comes closest to being a perfectly secure encryption scheme?

    • AEnigma, a transposition cipher
    • BThe Caesar Cipher, a substitution cipher
    • CDES (Data Encryption Standard), a symmetric-key algorithm
    • DOne-time pad
    Answer: One-time pad
  19. 19.

    Adding more basis functions in a linear model, pick the most probably option:

    • ADoesn't affect bias and variance
    • BDecreases model bias
    • CDecreases variance
    • DDecreases estimation bias
    Answer: Decreases model bias
  20. 20.

    Sometimes the object module produced by a compiler includes information (from the symbol table) mapping all source program names to their addresses. The most likely purpose of this information is

    • Afor the reduction of the symbol-table space needed by the compiler
    • Bfor use as input to a debugging aid
    • Cto tell the loader where each variable belongs
    • Dto increase the run-time efficiency of the program
    Answer: for use as input to a debugging aid
  21. 21.

    In computing terms, typically what does CLI stand for?

    • AControl Line Interface
    • BCommon Language Interface
    • CCommon Language Input
    • DCommand Line Interface
    Answer: Command Line Interface
  22. 22.

    Which of the following is correct about Python?

    • AIt can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
    • BBoth of the above.
    • CIt supports automatic garbage collection.
    • DNone of the above.
    Answer: Both of the above.
  23. 23.

    Which form of encryption does WPA use?

    • AShared key
    • BLEAP
    • CTKIP
    • DAES
    Answer: TKIP
  24. 24.

    What tool can be used to perform SNMP enumeration?

    • AIP Network Browser
    • BWhois
    • CNslookup
    • DDNSlookup
    Answer: IP Network Browser
  25. 25.

    Statement 1| CIFAR-10 classification performance for convolution neural networks can exceed 95%. Statement 2| Ensembles of neural networks do not improve classification accuracy since the representations they learn are highly correlated.

    • ATrue, False
    • BTrue, True
    • CFalse, True
    • DFalse, False
    Answer: True, False
  26. 26.

    Three of the following are classic security properties; which one is not?

    • AConfidentiality
    • BIntegrity
    • CCorrectness
    • DAvailability
    Answer: Availability
  27. 27.

    A large list of numbers is to be sorted into ascending order. Assuming that a "data movement" is a swap or reassignment of an element, which of the following is a true statement?

    • AIf the array is initially sorted in descending order, then insertion sort will be more efficient than selection sort.
    • BThe number of comparisons for insertion sort is independent of the initial arrangement of elements.
    • CThe number of data movements in selection sort depends on the initial arrangement of elements.
    • DThe number of comparisons for selection sort is independent of the initial arrangement of elements.
    Answer: The number of comparisons for selection sort is independent of the initial arrangement of elements.
  28. 28.

    Which of the following statements about Naive Bayes is incorrect?

    • AAttributes can be nominal or numeric
    • BAttributes are equally important.
    • CAttributes are statistically independent of one another given the class value.
    • DAttributes are statistically dependent of one another given the class value.
    Answer: Attributes are statistically dependent of one another given the class value.
  29. 29.

    What does the Prt Sc button do?

    • ANothing
    • BCaptures what's on the screen and copies it to your clipboard
    • CCloses all windows
    • DSaves a .png file of what's on the screen in your screenshots folder in photos
    Answer: Captures what's on the screen and copies it to your clipboard
  30. 30.

    Which of the following best describes the joint probability distribution P(X, Y, Z) for the given Bayes net. X <- Y -> Z?

    • AP(X, Y, Z) = P(X) * P(Y) * P(Z)
    • BP(X, Y, Z) = P(Y) * P(X|Y) * P(Z|Y)
    • CP(X, Y, Z) = P(Z) * P(X|Z) * P(Y|Z)
    • DP(X, Y, Z) = P(X) * P(Y|X) * P(Z|Y)
    Answer: P(X, Y, Z) = P(Y) * P(X|Y) * P(Z|Y)
  31. 31.

    What kind of memory is used on memory cache?

    • AROM
    • BDRAM
    • CFlash
    • DSRAM
    Answer: SRAM
  32. 32.

    Lenovo acquired IBM's personal computer division, including the ThinkPad line of laptops and tablets, in what year?

    • A2002
    • B1999
    • C2008
    • D2005
    Answer: 2005
  33. 33.

    For a neural network, which one of these structural assumptions is the one that most affects the trade-off between underfitting (i.e. a high bias model) and overfitting (i.e. a high variance model):

    • AThe number of hidden nodes
    • BThe initial choice of weights
    • CThe use of a constant-term unit input
    • DThe learning rate
    Answer: The number of hidden nodes
  34. 34.

    Public key encryption is advantageous over Symmetric key Cryptography because of

    • AKey exchange
    • BKey length
    • CSpeed
    • DSpace
    Answer: Key exchange
  35. 35.

    A proxy rewall lters at the

    • APhysical layer
    • BData link layer
    • CApplication layer
    • DNetwork layer
    Answer: Application layer
  36. 36.

    Which of the following can only be used when training data are linearly separable?

    • ALinear Logistic Regression.
    • BLinear hard-margin SVM.
    • CLinear Soft margin SVM.
    • DThe centroid method.
    Answer: Linear hard-margin SVM.
  37. 37.

    Nvidia's headquarters are based in which Silicon Valley city?

    • ASanta Clara
    • BPalo Alto
    • CCupertino
    • DMountain View
    Answer: Santa Clara
  38. 38.

    How fast is USB 3.1 Gen 2 theoretically?

    • A1 Gb/s
    • B10 Gb/s
    • C8 Gb/s
    • D5 Gb/s
    Answer: 10 Gb/s
  39. 39.

    Generally, which component of a computer draws the most power?

    • AVideo Card
    • BProcessor
    • CHard Drive
    • DPower Supply
    Answer: Video Card
  40. 40.

    The C programming language was created by this American computer scientist.

    • AWillis Ware
    • BTim Berners Lee
    • Cal-Khwārizmī
    • DDennis Ritchie
    Answer: Dennis Ritchie
  41. 41.

    What are the port states determined by Nmap?

    • AOpen, filtered, unfiltered
    • BOpen, half-open, closed
    • CActive, closed, unused
    • DActive, inactive, standby
    Answer: Open, filtered, unfiltered
  42. 42.

    Which of the following activities poses the greatest personal cybersecurity risk?

    • APaying a bill using a secure electronic payment system
    • BMaking a purchase at an online store that uses public key encryption to transmit credit card information
    • CReserving a hotel room by e~mailing a credit card number to a hotel
    • DWithdrawing money from a bank account using an automated teller machine (ATM)
    Answer: Reserving a hotel room by e~mailing a credit card number to a hotel
  43. 43.

    In computing, how many bits are in a nibble?

    • A2
    • B32
    • C16
    • D4
    Answer: 4
  44. 44.

    Who invented the "Spanning Tree Protocol"?

    • AVint Cerf
    • BPaul Vixie
    • CMichael Roberts
    • DRadia Perlman
    Answer: Radia Perlman
  45. 45.

    Consider the Bayesian network given below. How many independent parameters would we need if we made no assumptions about independence or conditional independence H -> U <- P <- W?

    • A15
    • B4
    • C3
    • D7
    Answer: 15
  46. 46.

    Which of the following spreadsheet functions would be most useful for detecting improbably high or low values that have become part of a data set as a result of data entry errors?

    • AA function that rounds a numeric value
    • BA function that averages numeric values in a column or row
    • CA function that sorts values in a column or row
    • DA function that counts the values in a column or row
    Answer: A function that sorts values in a column or row
  47. 47.

    Statement 1| Industrial-scale neural networks are normally trained on CPUs, not GPUs. Statement 2| The ResNet-50 model has over 1 billion parameters.

    • ATrue, True
    • BTrue, False
    • CFalse, True
    • DFalse, False
    Answer: False, False
  48. 48.

    How many bits are commonly in a single byte?

    • ASix bits
    • BTwelve bits
    • CEight bits
    • DFifteen bits
    Answer: Eight bits
  49. 49.

    When the data must arrive at the receiver exactly as they were sent, its called

    • AMessage Integrity
    • BMessage Condentiality
    • CMessage Splashing
    • DMessage Sending
    Answer: Message Integrity
  50. 50.

    What does "LCD" stand for?

    • ALast Common Difference
    • BLiquid Crystal Display
    • CLong Continuous Design
    • DLanguage Control Design
    Answer: Liquid Crystal Display

How to use these trivia questions

  • Warm-up. Open a lesson or meeting with 3–5 questions — enough to wake the room, short enough to keep the agenda.
  • Review game. Pick 10 questions on the topic you just taught and play them in teams; discuss every wrong answer.
  • Quiz night. Mix two or three topics, read each question twice, and give 20 seconds before revealing the answer.

Run them live

Want every person to answer on their own phone, with a timer and a live leaderboard? Use these questions in an EngageSlide Quiz with a live leaderboard — free to start.

Tick questions on any page — your set is kept while you browse (or take the first 10 here) — and they become ready-to-play slides. What is EngageSlide?

More question collections

Questions adapted from MMLU (Hendrycks et al.) (MIT), Open Trivia Database (CC BY-SA 4.0), edited for clarity. This collection may be reused under the same terms — see sources & licenses.