Skip to content
IT-406 · Introduction to MATLAB/SciLab/Web Design/Important Questions

Introduction to MATLAB/SciLab/Web Design (IT-406) - Important Questions

  1. Unit 17 Marks High Priority

    Explain the MATLAB environment and write a sample script that demonstrates variable assignment, basic arithmetic operations, workspace management (using clear and who), and how to access help for built-in functions.

    Core fundamentals: frequently tested basics of MATLAB environment, variables and simple scripting.

  2. Unit 110 Marks High Priority

    Demonstrate array indexing and common matrix operations in MATLAB/Scilab (transpose, inverse, determinant) with short examples.

    Core array/matrix operations frequently examined; covers indexing and standard linear-algebra operations.

  3. Unit 17 Marks High Priority

    Write MATLAB programs to do the following:

    • Use a for-loop to compute the factorial of a positive integer $n$.

    • Use a while-loop to compute the sum of integers from 1 to $n$.

    • Demonstrate use of $break$ and $continue$ within loops with short examples.

    Standard programming constructs: iterative constructs and flow-control are commonly asked.

  4. Unit 114 Marks High Priority

    Write a MATLAB/Scilab function that reads a numeric data file, computes mean and standard deviation by column, and plots the results with appropriate labels.

    Integrates file I/O, array processing and plotting — appears as a model comprehensive programming question.

  5. Unit 17 Marks High Priority

    Demonstrate how to create 2-D plots in MATLAB: plot multiple curves on the same axes, use subplot to place multiple plots in one figure, add title, legend, xlabel and ylabel, and show how to save the figure to a file.

    Plotting and output formatting — standard plotting operations and figure handling.

  6. Unit 17 Marks High Priority

    Explain the difference between scripts and functions in MATLAB. Write a MATLAB function that accepts a numeric vector as input and returns the vector normalized to unit length.

    Scripts vs functions and modular programming — core topic for Unit 1 practicals and exams.

  7. Unit 110 Marks High Priority

    Write a MATLAB script that reads a numeric matrix from a text file, replaces any NaN entries with the mean of their respective columns, and writes the cleaned matrix to a new text file. Provide the MATLAB code and brief explanation of each step.

    File handling and data cleaning — common practical question combining I/O and array manipulation.

  8. Unit 17 Marks Low Priority

    What is Simulink? Describe the basic Simulink interface and outline steps to create a simple model to simulate a first-order system. Demonstrate how to obtain and plot the step response from the model.

    Introductory Simulink question: basic modelling and simulation tasks are less frequent but important.

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in