MATLAB, Simulink & Movie Trivia Quiz

A mixed quiz covering MATLAB/Simulink technical concepts and popular movie trivia including films like The Hangover, Fast & Furious, Pirates of the Caribbean, and Ice Age

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The MATLAB output on Command Window for the last command entered is syms A a=3 B=A*4

  1. 3
  2. 4*A
  3. Undefined function or variable ‘A'
  4. 12
Question 2 Multiple Choice (Single Answer)

Which one is an illegal variable name in MATLAB?

  1. dog1
  2. under_dog
  3. underdog
  4. 1dog
Question 3 Multiple Choice (Single Answer)

The MATLAB command ‘rand’ gives you a value between these two numbers

  1. 0 to 1
  2. 0 to 10
  3. 0 and infinity
  4. 0 to 100
Question 4 Multiple Choice (Single Answer)

You can simulate a Simulink model in certain modes such as Normal, Accelerator,etc. How many such modes are available in Simulink?

  1. 2
  2. 4
  3. 1
  4. 3
Question 5 Multiple Choice (Single Answer)

In MATLAB, floor(5.3) gives an output of

  1. 6
  2. 5
  3. 5.0001
  4. None of these
Question 6 Multiple Choice (Single Answer)

The MATLAB output on Command Window for the last command entered is syms x f=3*x^2 subs(f,x,5)

  1. 50
  2. 85
  3. 60
  4. 75
Question 7 Multiple Choice (Single Answer)

To solve a set of eqns 2x+3y=5;3x+15y=8, the correct Matlab input is

  1. [2 3 ; 3 15] / [5 ; 8]
  2. [2 3 ; 3 15] \ [5 ; 8]
  3. [2 3;3 15] / [5 8]
  4. [2 3;3 15] \ [5 8]
Question 8 Multiple Choice (Single Answer)

The proper syntax to find the value of f at x=5 is syms x f=3*x^2

  1. subs(F,x,,5)
  2. subs(f,5,x)
  3. subs(5,f,x)
  4. subs(f,x,5)
Question 9 Multiple Choice (Single Answer)

To calculate the value of sine of 90 degrees, the correct Matlab expression is

  1. sin(Pi/2)
  2. sin(90)
  3. Sin(pi/2)
  4. sin(pi/2)
Question 10 Multiple Choice (Single Answer)

The MATLAB statement for e raised to 5x is

  1. exp(5x)
  2. exp^(5*x)
  3. e^(5*x)
  4. exp(5*x)
Question 11 Multiple Choice (Single Answer)

If your Simulink model has coninuous signal but no continuous states, which solver should be preferred to be used?

  1. Fixed-step discrete solver
  2. Fixed-step ODE type solver
  3. Variable-step discrete solver
  4. Variable-step ODE type solver
Question 12 Multiple Choice (Single Answer)

Which solver would be preferred for a model containing continuous signals and continuous states?

  1. Fixed-step discrete solver
  2. Fixed-step ODE type solver
  3. Variable-step discrete solver
  4. Variable-step ODE type solver
Question 13 Multiple Choice (Single Answer)

A SuperState in Stateflow can have a single state within itself

  1. True
  2. False
  3. NA
  4. N.A.
Question 14 Multiple Choice (Single Answer)

Punch line of ice age 4

  1. The Coolest Event In 16000 Years
  2. The Meltdown
  3. Continental Drift
  4. Dawn of the Dinosaurs
Question 15 Multiple Choice (Single Answer)

tag line of Pirates of the Caribbean 4?

  1. Dead Man's Chest
  2. At World's End
  3. On Stranger Tides
  4. The Curse of the Black Pearl
Question 16 Multiple Choice (Single Answer)

Fast and furious 5 tagline?

  1. Loser walks home
  2. new model original parts
  3. Rio Heist
  4. How fast do you like it
Question 17 Multiple Choice (Single Answer)

Hangover tagline

  1. the lost boys in vegas
  2. wat happens in vegas stays in vegas
  3. drunk and lost in vegas
  4. Some guys just can't handle Vegas
Question 18 Multiple Choice (Single Answer)

Who was STU in hangover 2?

  1. The guy wit bald head
  2. The guy wit tatoo on his face like mike tyson
  3. the guy wit lost finger
  4. the guy wit lost tooth
Question 19 Multiple Choice (Single Answer)

Name of the monkey in hangover 2?

  1. Jack
  2. Crystal
  3. Lilo
  4. lola
Question 20 Multiple Choice (Single Answer)

Quality is remembered long after the price is forgotten

  1. Louis Vuitton
  2. Versace
  3. Dolce and gabbana
  4. Gucci