KEMBAR78
19ITC08 - Julia Programming | PDF | Control Flow | Parameter (Computer Programming)
0% found this document useful (0 votes)
11 views20 pages

19ITC08 - Julia Programming

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views20 pages

19ITC08 - Julia Programming

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 20

B.E.

Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

COURSE DETAILS – 19ITC08 – JULIA PROGRAMMING

Course Code : 19ITC08

Course Name : Julia Programming

ACM Knowledge code : CE-SPE, CE-SWD

Semester : B.E. (CSE) [VII] Semester

Prepared By : Dr.S.T.Veena, Dr.M.Chengathir Selvi

Reviewed By : Dr. K.Thirumoorthy

Approved By : Dr. J. Raja Sekar

Effective Date : 30-06-2025

Revision No. : 1.1

Course Objectives:

1. To learn basic primitives of Julia


2. To study the basics of functions in Julia
3. To introduce control flow and collection types in Julia
4. To learn the database connectivity in Julia
5. To perform networking in Julia

Course Outcomes:

1. Devise programs using primitives in Julia


2. Develop simple programs in Julia using functions
3. Implement control flow and collection types in Julia
4. Apply database connectivity using Julia
5. Implement the networking concepts in Julia

Mode of Delivery:

1. Oral presentation / PPT


2. Hands-on / Demonstration
3. Seminar

Assessment Methods:

1. Internal Test
2. Assignment
3. CTT
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

Course Outcomes–Programme Outcomes mapping


(3- Substantially, 2-Moderately, 1-Slightly)
Highest Assessment POs PSOs
CO Weightage
Cognitive Mode of Delivery Components
No. for AC 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
Level (AC)
Internal Test 0.9 1 1
1. A 1,2 2 2 1
CTT 0.1
Internal Test 0.7 1 1
2. A 1,2 Assignment 0.2 3 2 1
CTT 0.1
Internal Test 0.7 1 1
3. A 1,2 Assignment 0.2 3 1 2 1
CTT 0.1
Internal Test 1 2 1
4. A 1,2,3 1 2 1 2 1
CTT 0.1
Internal Test 0.7 2 1
5. A 1,2,3 1 2 1 2 1
CTT 0.1

Concept Map

19ITC08 JULIA PROGRAMMING– SYLLABUS (As per MEPCO Autonomous Syllabus)

19ITC08 JULIA PROGRAMMING L T P C


B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

3 0 0 3

UNIT-I INTRODUCTION 9
Julia programming introduction –Variables, Types, and Operations - Naming conventions, and comments –
Types – Integers - Floating point numbers - Elementary mathematical functions and operations - Rational
and complex numbers – Characters – Strings - Formatting numbers and strings - Regular expressions -
Ranges and arrays - Other ways to create arrays - Converting array of chars to a string - Dates and times -
Scope and constants
UNIT-II FUNCTIONS 9
Functions - Defining functions - Optional and keyword arguments - Anonymous functions - First-class
functions and closures - Recursive functions - Map, filter, and list comprehensions - Generic functions and
multiple dispatch
UNIT-III CONTROL FLOW AND COLLECTION TYPES 9
Control Flow introduction - Conditional evaluation - Repeated evaluation - for loop - while loop - break
statement - continue statement - Exception handling - Collection Types – Matrices – Tuples – Dictionaries -
Keys and values – looping – Sets - Making a set of tuples - More on Types, Methods, and Modules - Type
annotations and conversions - Type conversions and promotions - The type hierarchy – subtypes and
supertypes - User-defined and composite types - Types and collections – inner constructors - Type unions -
Parametric types and methods - Standard modules and paths
UNIT-IV DATABASES 9
A basic view of databases - Interfacing to databases - Other considerations - Relational databases- Building
and loading - Native interfaces - ODBC - Other interfacing techniques – DBI - SQLite - MySQL - PostgreSQL -
PyCall - JDBC - NoSQL datastores - Key-value systems - Document datastores - RESTful interfacing - JSON -
Web-based databases - Graphic systems
UNIT-V NETWORKING 9
Sockets and servers - Well-known ports - UDP and TCP sockets in Julia - A "Looking-Glass World" echo server
- Named pipes - Working with the Web - A TCP web service - The JuliaWeb group - The quotes server - Web
Sockets - Messaging - E-mail - Twitter - SMS and esendex - Cloud services - Introducing Amazon Web
Services - The AWS.jl package - The Google Cloud
TOTAL: 45 PERIODS

TEXTBOOK:
1. Ivo Balbaert, “Getting Started with Julia Programming”, Packt Publishing, 2015
2. Malcolm Sherrington, “Mastering Julia”, Packt Publishing, 2015
REFERENCE BOOKS:
1. Sandeep Nagar, “Beginning Julia Programming for Engineers and Scientists”, APress, 2017
2. Jalem Raj Rohit, “Julia Cookbook”, Packt Publishing, 2016 3. Zacharias Voulgaris, “Julia for Data
Science”, Technics Publications, 2016

WEB REFERENCES:
1. https://en.wikibooks.org/wiki/Introducing_Julia
2. https://github.com/JuliaLang
3. https://juliacomputing.com/

Cognitive Level for Test Questions:

Cognitive Level Test1 Test2 Test3


Remember Up to 10 Up to 10 Up to 10
Understand Up to 60 Up to 60 Up to 60
Apply Min 30 Min 30 Min 30

COURSE SCHEDULE

S. No. of Mode of CO Date of


Topic Reference
No. Periods Delivery No. Coverage
Unit I INTRODUCTION
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

S. No. of Mode of CO Date of


Topic Reference
No. Periods Delivery No. Coverage
Web
1. Julia programming introduction 1 1 1
Reference
Variables, Naming conventions and
2. 1 T1: Ch: 2 1 1
comments
3. Types: Integers, Floating point numbers 1 T1: Ch: 2 1 1
Elementary mathematical functions and
4. 1 T1: Ch: 2 1,2 1
operations, Rational and complex numbers
5. Characters, Strings 1 T1: Ch: 2 1,2 1
6. Formatting numbers and strings 1 T1: Ch: 2
7. Regular expressions 1 T1: Ch: 2 1,2 1
Ranges and arrays, other ways to create
8. 2 T1: Ch: 2 1,2 1
arrays, Converting array of chars to a string
9. Dates and times, Scope and constants 1 T1: Ch: 2 1,2 1
Total 10
Unit II FUNCTIONS
10. Functions, Defining functions 1 T1: Ch: 3 1,2 2
Optional and keyword arguments, Function
11. 1 T1: Ch: 3 1,2 2
call
12. Anonymous functions 1 T1: Ch: 3 1,2 2
13. First-class functions and closures 2 T1: Ch: 3 1,2 2
14. Recursive functions 1 T1: Ch: 3 1,2 2
15. Map 1 T1: Ch: 3 1,2 2
16. filter, and list comprehensions 1 T1: Ch: 3 1,2 2
17. Generic functions and multiple dispatch 1 T1: Ch: 3 1,2 2
Total 9
Unit III CONTROL FLOW AND
COLLECTION TYPES
Control Flow introduction, Conditional
18. 1 T1: Ch: 4 1,2 3
evaluation
Repeated evaluation: for loop, while loop
19. 1 T1: Ch: 4 1,2 3
Break statement - continue statement
20. Exception handling 1 T1: Ch: 4 1,2 3
21. Collection Types: Matrices, Tuples 1 T1: Ch: 5 1,2 3
22. Dictionaries: Keys and values, looping 1 T1: Ch: 5 1,2 3
23. Sets, Making a set of tuples 1 T1: Ch: 5 1,2 3
More on Types, Methods, and Modules: Type
24. annotations and conversions, Type 1 T1: Ch: 6 1,2 3
conversions and promotions
The type hierarchy, subtypes and
25. supertypes, User-defined and composite 1 T1: Ch: 6 1,2 3
types
26. Types and collections, inner constructors 1 T1: Ch: 6 1,2 3
Type unions, Parametric types and methods,
27. 1 T1: Ch: 6 1,2 3
Standard modules and paths
Total 10
Unit IV DATABASES
A basic view of databases, Interfacing to
28. databases, other considerations, Relational 1 T2: Ch:8 1,2 4
databases, Building and loading
Native interface, ODBC, Other interfacing
29. 1 T2: Ch:8 1,2 4
techniques
30. DBI, SQLite, MySQL 1 T2: Ch:8 1,2,3 4
31. PostgreSQL 1 T2: Ch:8 1,2,3 4
32. PyCall, JDBC 2 T2: Ch:8 1,2,3 4
NoSQL datastores, Key-value systems,
33. 1 T2: Ch:8 1,2,3 4
Document datastores
34. RESTful interfacing, JSON, 1 T2: Ch:8 1,2,3 4
35. Web-based databases, Graphic systems 1 T2: Ch:8 1,2,3 4
Total 9
Unit V NETWORKING
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

S. No. of Mode of CO Date of


Topic Reference
No. Periods Delivery No. Coverage
36. Sockets and servers, Well-known ports 1 T2: Ch:9 1,2,3 5
37. UDP and TCP sockets in Julia, 1 T2: Ch:9 1,2,3 5
A "Looking-Glass World" echo server Named
38. 1 T2: Ch:9 1,2,3 5
pipes
Working with the Web, A TCP web service,
39. 2 T2: Ch:9 1,2,3 5
The JuliaWeb group
40. The quotes server, Web Sockets 1 T2: Ch:9 1,2,3 5
41. Messaging, E-mail, Twitter, SMS and esendex 1 T2: Ch:9 1,2,3 5
Cloud services, Introducing Amazon Web
42. 1 T2: Ch:9 1,2,3 5
Services
43. The AWS.jl package 1 T2: Ch:9 1,2,3 5
44. The Google Cloud 1 T2: Ch:9 1,2,3 5
Total 10

Total hours: 54

BTL – Bloom’s Taxonomy Level


[R -Remember, U-Understand, A-Apply, L-Analyze, E-Evaluate, C-Create]

PI – Performance Indicator

DELIVERY PLAN FOR THE LEARNING UNITS (LU)


MODULE I – INTRODUCTION

This module introduces the term Julia Programming and its importance in detail. This module helps
to clearly understand the need of Julia Programming in the big data environment. This module also
focuses on the Variables, Types and Operations. This module discusses about the variables,
naming conventions and comments. This module discusses Integers, Floating point numbers,
Mathematical functions and Operations. It also discusses Rational and Complex Numbers,
characters, Regular Expressions, Ranges and arrays, Date and Times, Scope and Constants.

LU-1 Julia programming Introduction Period: 1


LU Outcome(s) Level: U CO Number:1
Identify the Scope of Julia and working in Julia environment
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Discuss the scope of Julia Programming language. U 13.1.1
2. List out the features of Julia Programming. R 1.1.1
3. Distinguish between Julia programming with MATLAB, R and Python. U 1.4.1
4. Write short notes on Julia’s Shell environment. R 5.1.1
5. List out the different packages available in Julia. U 13.1.1
6. Give a brief note on IJulia. R 13.1.1
7. How will you install Sublime-IJulia? U 5.2.1
8. Narrate the steps in installing Juno. U 1.4.1
9. List out other editors and IDEs for Julia. R 14.1.1
10. What makes Julia a better choice over other programming languages? U 5.3.1
11. Does Julia support web applications also? U 5.3.2
12. What are the top features you find in Julia? R 1.3.1
13. Who created Julia programming language? R 14.1.2

LU-2 Variables, Naming conventions and comments Period: 1


LU Outcome(s) Level: U CO Number:1
Use variables, naming conventions and comments
Possible Assessment Questions:
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

S.
Sample Questions BTL PI
No.
1. U 1.4.1
In Julia, is it possible to use the variables which are not constant?
2. U 13.1.1
Is it possible that you can use type declarations anywhere you want?
3. What is the file extension for a Julia program? R 13.1.1
4. What is the command to run a Julia program in the terminal? R 1.4.1
5. What is the syntax for declaring a variable in Julia? R 1.3.1
6. What is the syntax for a multi-line comment in Julia? R 1.3.1
7. List out the rules for naming a variable in Julia. R 1.3.1
8. What is the output of the following code? A 15.2.3
# Using Operator as variable name
+ = "a"
9. Write a syntax for getting data type of a variable. U 1.3.1
10. What do you mean by scope of the variable? U 1.3.1
11. What is the output of the following code? x, ___ = size([2 2; 1 1]) A 15.2.3
12. What is the output of the b? a = (b = 2+2) +3 A 15.2.3
13. Write notes on stylistic conventions. U 1.3.1

Period
LU-3 Types: Integers, Floating point numbers 1
:
LU Outcome(s) Level: U CO Number:1
Handle integer and floating point numbers
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How do you declare an integer variable in Julia? U 1.4.1
2. What is the difference between the Int and Int64 types in Julia? R 1.3.1
3. How will you explicitly specify the size of an integer type in Julia? U 1.4.1
4. Write a code to convert an integer to a different integer type in Julia? R 1.3.1
5. What is the maximum value that can be represented by the Int type in Julia? U 1.4.1
6. How can you perform arithmetic operations on integers in Julia? U 1.4.1
7. Is there a way to check if an integer is even or odd in Julia? U 1.4.1
8. How do you declare a floating-point variable in Julia? U 1.4.1
9. What are the different floating-point types available in Julia? R 1.3.1
10. How will you perform arithmetic operations on floating-point numbers in Julia? U 1.4.1
11. Is there a way to check if a floating-point number is NaN (Not a Number) in U 1.4.1
Julia?

Elementary mathematical functions and operations, Rational and Period


LU-4 1
complex numbers :
LU Outcome(s) Level: A CO Number:1
1. Working with mathematical functions and operations
2. Creating Rational and complex numbers
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Write a code to calculate the square root of a number in Julia? U 1.4.1
2. Write a code to compute the absolute value of a number in Julia? U 1.4.1
3. Write a code to raise a number to a specific power in Julia. U 1.4.1
4. What is the function in Julia to calculate the exponential of a number? R 15.1.1
5. Is there a built-in function in Julia to round a number to the nearest integer? U 1.4.1
6. How will you generate a random number between two specified values in Julia? A 1.4.1
7. What is the difference between a Complex number and a Rational number in U 1.3.1
Julia?
8. Write a Julia function that calculates the factorial of a given Rational number. A 13.1.1
9. Write a Julia function that takes two Complex numbers as input and returns A 13.1.1
their product.
10. Write a Julia function that takes a Rational number as input and returns its A 13.1.1
decimal approximation with a specified number of digits.
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

Period
LU-5 Characters, Strings 2
:
LU Outcome(s) Level: A CO Number:1
Perform Characters and strings processing
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Is there a built-in function in Julia to check if a character is a letter or a digit? U 1.4.1
2. How can you convert an ASCII value to its corresponding character in Julia? U 1.4.1
3. Check if a character is a vowel or consonant. A 13.1.1
4. Find the number of occurrences of a specific character in a string. A 13.1.1
5. Write Julia code to convert a string to uppercase. A 13.1.1
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

6. Write a code to concatenate two strings in Julia. U 15.1.1


7. How can you check if a specific substring exists within a string in Julia? U 1.4.1
8. Write a program to split a string into an array of substrings in Julia? U 13.1.1

Period
LU-6 Formatting numbers and strings 1
:
LU Outcome(s) Level: A CO Number:1
Formatting numbers and strings
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Can you format a string with placeholders for variables in Julia? If so, how? U 13.1.1
2. Is there a built-in function in Julia to left-justify or right-justify a string? U 1.4.1
3. How can you pad a string with leading zeros in Julia? U 1.4.1
4. State the need for Formatting numbers and strings U 1.4.1

Period
LU-7 Regular expressions 1
:
LU Outcome(s) Level: A CO Number:1
Work with regular expression
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How do you create a regular expression pattern in Julia? U 1.4.1
2. How can you replace occurrences of a pattern in a string with another value U 13.1.2
using regular expressions in Julia?
3. What are some commonly used special characters and symbols in regular R 1.4.1
expressions in Julia?
4. Validate an email address using a regular expression in Julia. A 13.1.2
5. Extract all phone numbers from a given text using regular expressions in Julia. A 15.2.1
6. Replace all occurrences of a specific word in a given text using regular A 13.1.2
expressions in Julia.

Ranges and arrays, other ways to create arrays, Converting


LU-8 Period: 2
array of chars to a string
LU Outcome(s) Level: A CO Number:1
Create arrays and working with arrays
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How do you create a range of numbers in Julia? R 15.3.1
2. How can you concatenate two arrays in Julia? U 13.1.1
3. Write a code to resize an array in Julia. U 1.4.1
4. Find the sum of all numbers in a given range in Julia. A 13.1.2
5. Find the maximum and minimum values in an array of numbers in Julia. A 13.1.2
6. Concatenate two arrays and sort the resulting array in Julia. A 13.1.2
7. Convert an array of characters to a string in Julia. A 13.1.1
8. Convert an array of characters to a string in Julia without using the join A 13.1.1
function.

Period
LU-9 Dates and times, Scope and constants 1
:
LU Outcome(s) Level: U CO Number:1
1. Work with Date and times
2. Find scope and constants
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How do you create a Date object representing a specific date in Julia? U 1.4.1
2. Create a DateTime object representing a specific date and time in Julia? U 13.1.1
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

3. Write a code to extract specific components (year, month, day, hour, etc.) U 13.1.1
from a DateTime object in Julia.
4. Is there a way to calculate the difference between two DateTime objects in U 1.3.1
Julia?
5. Get the current date and time in Julia. R 14.1.1
6. Calculate the number of days between two given dates in Julia. U 13.1.2
7. Format a DateTime object as a string in a specific format in Julia. A 13.1.1
8. What is the difference between global scope and local scope in Julia? U 1.3.1
9. How can you access a global variable within a function in Julia? U 1.4.1
10. Write a code to modify a global variable from within a function in Julia. U 13.1.1

11. Create a constant array or constant structure in Julia. U 15.2.1

12. What are the advantages of using constants in Julia programming? R 1.4.1

MODULE II – FUNCTIONS

This module discuss functions, defines functions in Julia. This module helps to clearly
understand functions, defining functions, anonymous functions. This module is used to work with
first-class functions and closures. This module helps to work with recursive functions. It also deals
with map, filter and list comprehensions. Also, this module discusses about the generic functions
and multiple dispatch.

Period
LU-10 Functions, Defining functions 1
:
LU Outcome(s) Level: A CO Number:2
Create and use user defined functions
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Define function in Julia. R 1.3.1
2. What is the syntax for defining a function with multiple arguments in Julia? U 1.4.1
3. Can you have optional arguments in Julia functions? If yes, how do you define U 5.1.2
them?
4. How do you call a function in Julia? U 14.1.1
5. Write short notes on default argument values in Julia functions. U 5.1.2
6. What is the difference between a function and a method in Julia? U 13.1.1

Period
LU- 11 Optional and keyword arguments, Function Call 1
:
LU Outcome(s) Level: A CO Number:2
Explore optional keyword arguments and function call
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How do you specify the return type of a function in Julia? U 15.1.1
2. How to handle multiple return values in Julia functions? A 13.2.5
3. How do you pass arguments by reference to a function in Julia? R 3.1.1
4. Is it possible to define anonymous functions in Julia? If yes, how? A 13.2.4

Period
LU-12 Anonymous functions 1
:
LU Outcome(s) Level: A CO Number:2
Work with Anonymous functions.
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is an anonymous function in Julia? R 1.3.1
2. How do you define an anonymous function in Julia? R 1.3.1
3. Can an anonymous function have multiple arguments? A 5.1.2
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

4. How do you call an anonymous function in Julia? U 1.4.1


5. How will you assign an anonymous function to a variable in Julia? U 1.4.1
6. Are anonymous functions first-class citizens in Julia? U 5.1.2
7. How will you pass an anonymous function as an argument to another function A 13.2.5
in Julia?

LU- 13 First-class functions and closures Period: 2


LU Outcome(s) Level: A
Create First-class functions and closures
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What does it mean for functions to be first-class citizens in Julia? U 13.1.1
2. How can you assign a function to a variable in Julia? R 3.1.1
3. Can you pass a function as an argument to another function in Julia? A 5.1.2
4. How do you return a function from another function in Julia? A 5.1.2
5. What are closures in Julia? U 3.1.1
6. How do you create a closure in Julia? A 1.4.1

LU- 14 Recursive functions Period: 1


LU Outcome(s) Level: A CO Number:2
Work with recursive functions

Possible Assessment Questions:


S.
Sample Questions BTL PI
No.
1. What is a recursive function in Julia? U 1.3.1
2. How do you define a recursive function in Julia? R 1.4.1
3. Can you provide an example of a simple recursive function in Julia? U 5.2.2
4. What is the base case in a recursive function, and why is it important? A 1.3.1
5. How does a recursive function terminate its execution? R 1.4.1
6. What are the advantages of using recursion in certain problems? A 1.3.1
7. Are there any limitations or considerations when using recursive functions in U 1.4.1
Julia?

LU-15 Map Period: 1


LU Outcome(s) Level: A CO Number:2
Practice with Map

S.
Sample Questions BTL PI
No.
1. What is the purpose of the map function in Julia? R 1.3.1
How do you use the map function to apply a transformation to each element of R
2. 1.4.1
a collection in Julia?
3. Provide an example of using map to transform a list of numbers in Julia. A 14.1.1
4. Write Code to solve finding sum of N number problem using Map U 1.4.1

LU-16 Filter and list comprehensions Period: 1


LU Outcome(s) Level: A CO Number:2
Use Filter and List comprehensions

S.
Sample Questions BTL PI
No.
1. What is the purpose of the filter function in Julia? A 1.3.1
How do you use the filter function to selectively keep elements from a A
2. 5.1.2
collection in Julia?
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

3. Give an example of using filter to keep only even numbers from a list in Julia U 15.2.1
4. Write to solve finding sum of N number problem using filter U 13.2.4

LU-17 Generic functions and multiple dispatch Period: 1


LU Outcome(s) Level: A CO Number:2
Practice with Generic functions and multiple dispatch
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is a generic function in Julia? U 1.3.1
2. How do you define a generic function in Julia? U 5.2.2
3. Give an example of a simple generic function in Julia. U 5.2.2
4. What is multiple dispatch in Julia? R 1.3.1
5. How does multiple dispatch differ from single dispatch? U 1.4.1

MODULE III – CONTROL FLOW AND COLLECTION TYPES

This module defines and describe control flow and conditional evaluation. It deals with handling
loop and while loop, break and continue statement. This module also handles exception. This
module deals with Collection Types such as matrices, tuples, Dictionaries, sets, making a set of
tuples. This module focuses on types, methods and modules: type annotations and conversions,
type conversions and promotions. This module mainly focuses with the type hierarchy – subtypes
and supertypes, user-defined and composite types. It also explains types and collections – inner
constructors, type unions, parametric types and methods, standard modules and paths.

LU-18 Control Flow introduction, Conditional evaluation Period: 1


LU Outcome(s) Level: A CO Number:3
Work with control flow statements and Conditional evaluation

Possible Assessment Questions:


S.
Sample Questions BTL PI
No.
1. How do you write an if statement in Julia? U 1.3.1
2. Write syntax for multiple conditions in an if statement in Julia. U 1.3.1
3. What is the syntax for an if-else statement in Julia? R 1.3.1
4. How can you nest if statements within each other in Julia? U 1.4.1
5. What is the elseif keyword used for in Julia? R 14.2.1
6. Is there a way to write concise conditional expressions in Julia? If so, how? U 1.4.1
7. How do you use the ?: ternary operator for conditional evaluation in Julia? U 13.1.1
Determine if a given number is positive, negative, or zero using conditional A
8. 13.1.2
evaluation in Julia.
Determine the largest of three given numbers using conditional evaluation in A
9. 13.1.2
Julia.
10. Determine if a given year is a leap year using conditional evaluation in Julia. A 13.1.1

Repeated evaluation: for loop, while loop, Break statement -


LU-19 Period: 1
continue statement
LU Outcome(s) Level: A CO Number:3
Work with looping statements, break and continue

Possible Assessment Questions:


S.
Sample Questions BTL PI
No.
1. Print numbers from 1 to 10 using a for loop in Julia. A 13.1.2
2. Calculate the sum of numbers from 1 to a given limit using a for loop in Julia. U 13.1.1
Iterate over elements of an array and print their squares using a for loop in U
3. 13.1.1
Julia.
4. program counts from 1 to 5 using a while loop and prints each number. A 5.1.2
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

5. program repeatedly asks the user for input until they enter the word "quit". U 5.1.2
6. program generates and prints the Fibonacci series up to a given number. A 15.1.2
program iterates through numbers from 1 to 10 using a for loop, but breaks A
7. 13.1.1
out of the loop when it encounters the number 5.
program iterates through numbers from 1 to 10 using a for loop, but skips A
8. 13.1.1
printing the number 5 using the continue statement.
program prompts the user to enter a positive number and keeps asking until a A
9. valid input is provided. It uses a while loop with a break statement to exit the 15.1.2
loop when a valid number is entered.

LU-20 Exception handling Period: 1


LU Outcome(s) Level: A CO Number:3
Work with Exception Handling
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is exception handling in Julia? R 5.1.2
2. What is the purpose of the finally block in exception handling? R 13.1.1
3. Can we handle multiple exceptions in a single catch block in Julia? U 5.1.2
4. Can we define custom exceptions in Julia? U 1.3.1
5. What is the difference between throw and error in Julia? R 1.3.1
6. What is the purpose of the @assert macro in Julia? A 1.4.1
program attempts to divide two numbers entered by the user and handles the A
7. 13.1.1
DivideError exception if a division by zero occurs.
program demonstrates handling multiple exceptions by catching different A
8. 13.1.2
types of errors.
program demonstrates creating a custom exception and handling it in the A
9. 13.1.1
catch block.

LU-21 Collection Types: Matrices, Tuples Period: 1


LU Outcome(s) Level: A CO Number:3
Practice with matrices, tuples
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Write a code Create a matrix in Julia. A 13.1.1
2. Write syntax to access elements of a matrix in Julia. R 14.1.1
3. Write a code to perform matrix multiplication in Julia. A 5.1.2
4. What is the difference between a tuple and an array in Julia? U 5.2.2
5. Can the elements in a tuple have different data types? U 14.1.1
6. Write a code to concatenate two tuples in Julia. A 1.3.1
7. How can you iterate over a tuple in Julia? U 1.4.1
8. Can tuples be used as keys in dictionaries? U 1.4.1
9. Write a program to perform addition of two matrices. A 13.1.1
10. Write a program to calculate the transpose of a matrix. A 13.1.1
11. Write a program to access and print specific elements of a tuple. A 13.1.2
12. Write a program to concatenate two tuples into a single tuple. A 13.1.1
13. Write a program to iterate over a tuple using a for loop. A 13.1.1

LU-22 Dictionaries: Keys and values, looping Period: 1


LU Outcome(s) Level: A CO Number:3
Work with Dictionaries
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Write a code to create an empty dictionary in Julia. A 5.1.2
2. How will you add or update key-value pairs in a dictionary in Julia? U 3.1.1
3. Write a code to check if a key exists in a dictionary in Julia? U 5.2.2
4. How will you iterate over the keys and values of a dictionary in Julia? U 3.1.1
Write a program to create a dictionary with key-value pairs and prints its A
5. 13.1.1
contents.
6. Write a program to access the values in a dictionary using keys. A 13.1.1
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

7. Write a program to add and update key-value pairs in a dictionary. A 13.1.2


8. Write a program to remove a key-value pair from a dictionary. A 13.1.1
Write a program to iterate over the keys and values of a dictionary using a for A
9. 13.1.1
loop.

LU-23 Sets, Making a set of tuples Period: 1


LU Outcome(s) Level: A CO Number:3
Practice with sets and making set of tuples
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How will you create a set in Julia? U 1.3.1
2. Write a program to add elements to a set in Julia. A 13.1.1
3. Write a program to remove elements from a set in Julia. A 13.1.1
Write a program to perform set operations like union, intersection, and A
4. 13.1.1
difference in Julia.
5. Write a program check if an element exists in a set in Julia. A 13.1.1

More on Types, Methods, and Modules: Type annotations and


LU-24 Period: 1
conversions, Type conversions and promotions
LU Outcome(s) Level: A CO Number:3
Explore more on types, methods and modules
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is the type of a variable in Julia? R 1.3.1
2. What is the difference between static and dynamic typing in Julia? R 1.4.1
3. How will you perform type conversions in Julia without losing precision? U 1.4.1
4. Specify the type of function arguments and return values in Julia. U 1.3.1
5. Convert an array of one type to another type in Julia. A 13.1.1
6. Convert a variable to a different type in Julia. A 1.4.1
7. What is type promotion in Julia? R 1.3.1
8. How does type promotion work for mathematical operations in Julia? U 13.1.1
9. How can I convert a value to a specific string type in Julia? U 1.3.1
10. What happens if I perform operations on values of different types in Julia? A 13.1.1
11. What are the common type promotion rules for arrays in Julia? U 1.3.1

The type hierarchy – subtypes and supertypes, User-defined and


LU-25 Period: 1
composite types
LU Outcome(s) Level: A CO Number:3
Create and use hierarchy of types
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is the type hierarchy in Julia? R 3.1.1
2. What is the root type in Julia and how is it related to other types? R 3.1.1
3. How will you define a subtype of an existing type in Julia? U 5.1.2
4. Can a type have multiple subtypes in Julia? U 1.4.1
5. How does multiple dispatch work in Julia and how is it related to subtyping? A 13.1.1
6. Create a hierarchy of abstract types in Julia. R 1.3.1
How does the type hierarchy affect method dispatch and function overloading U
7.
in Julia?
8. How can you define a new type in Julia? U 14.1.1
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

9. What is a composite type in Julia? U 5.1.2


10. Can a user-defined type have fields of different types? U 5.1.2
11. How can you access the fields of a composite type in Julia?
12. Modify the fields of a composite type in Julia.
13. What is the difference between mutable and immutable types in Julia? U 4.1.1
14. How can I define an immutable composite type in Julia? U 3.1.1

Period: 1
LU-26 Types and collections, inner constructors
LU Outcome(s) Level: A CO Number:3
Use types, collections, inner constructors
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is an inner constructor in Julia? R 3.1.1
2. What is the purpose of an inner constructor in Julia? A 15.1.2
3. Can an inner constructor have arguments? U 5.2.2
How can you call an inner constructor to create an instance of a user-defined U
4. 3.1.1
type in Julia?
How does Julia determine which constructor to call when creating an instance U
5. 4.1.1
of a user-defined type with inner constructors?

Type unions, Parametric types and methods, Standard modules and


LU-27 Period: 1
paths
LU Outcome(s) Level: A CO Number:3
1. Practice with type unions, parametric types and methods
2. Explore standard modules and paths

Possible Assessment Questions:


S.
Sample Questions BTL PI
No.
1. How can you define a type union in Julia? U 13.2.5
2. What is a parametric type in Julia? R 13.2.5
3. How can you define a parametric type in Julia? U 15.2.2
How can use a parametric type to create a specialized version of a function in U
4. 3.1.1
Julia?
5. What are type parameters in Julia and how are they used? R 5.2.2
6. How can you restrict the types that a parametric function can accept in Julia? U 3.1.1
7. What are standard modules in Julia and how can I use them? R 4.1.1
8. How can you import and use functions from a standard module in Julia? U 5.2.2
9. What is the difference between absolute and relative paths in Julia? R 3.1.1
10. How can you manipulate and work with file paths in Julia? U 1.4.1

MODULE – IV (DATABASES)
This module introduces the basic view of databases. This module discuss how will you interface to
databases. Relational databases are discussed in this module. This module explains how to build
and load relational databases, native interfaces. This module helps to work on ODBC and other
interfacing techniques such as SQLite, MYSQL, PostgreSQL, PyCall. This module also discusses
JDBC, NoSQL datastores, key-value systems, Document datastores, RESTful interfacing. This
module helps to deal with JSON, web-based databases and graphic systems.

A basic view of databases, Interfacing to databases, other


LU-28 Period: 1
considerations, Relational databases, Building and loading
LU Outcome(s) Level: A CO Number:4
Recognize database, interface to database
Possible Assessment Questions:
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

S.
Sample Questions BTL PI
No.
1. How can you establish a connection to a database in Julia? A 3.1.1
2. What are the common database interfaces or packages available in Julia? U 5.2.2
3. How will you execute SQL queries on a database using Julia? A 3.1.1
4. Narrate how will use Julia to work with both SQL and NoSQL databases. U 5.2.2
What are the common error handling mechanisms when interfacing with U
5. 3.1.1
databases in Julia?
6. How can you optimize database operations and query performance using Julia? A 15.1.2
7. Can you create and manage database schemas or tables using Julia? A 5.2.2

LU-29 Native interfaces - ODBC - Other interfacing techniques Period: 1


LU Outcome(s) Level: A CO Number:4
Work with native interface, ODBC and other interfacing techniques
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
How can you use native interfaces in Julia to connect to external systems or U
1. 3.1.1
APIs?
What are the advantages of using native interfaces over other interfacing U
2. 14.1.1
techniques?
How can you utilize the ODBC (Open Database Connectivity) standard to A
3. 5.1.2
connect to databases in Julia?
What are the common ODBC drivers available in Julia for different database A
4. 15.1.2
systems?
5. Configure and set up ODBC connections in Julia. A 3.1.1
6. Are there any limitations or considerations when using ODBC in Julia? A 13.1.1
What other interfacing techniques are available in Julia for interacting with A
7. 1.4.1
external systems or APIs?
How can you handle authentication and security when using native interfaces A
8. 3.1.1
or other interfacing techniques in Julia?
How can you utilize Julia's built-in networking capabilities to interface with A
9. 5.1.2
external systems or APIs?
What are some best practices or tips for effective and efficient interfacing A
10. 13.1.1
using native interfaces or other techniques in Julia?

LU-30 DBI, SQLite Period: 1


LU Outcome(s) Level: A CO Number:4
Practice with DBI, SQLite
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How can you use the DBI package in Julia for database interactions? U 3.1.1
2. What are the advantages of using DBI for database operations in Julia? U 5.2.2
How can you connect to an SQLite database in Julia using the SQLite.jl A
3. 3.1.1
package?
How can you execute SQL queries and retrieve data from an SQLite database U
4. 14.1.1
in Julia?
Narrate the steps in performing transactions and handle database locks when A
5. 15.1.2
working with SQLite in Julia.

LU-31 MySQL, PostgreSQL Period: 1


LU Outcome(s) Level: A CO Number:4
Practice with DBI, SQLite, MySQL, PostgreSQL
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
How can you connect to a MySQL database in Julia using the MySQL.jl A
1. 5.1.2
package?
What are the common operations and functions available in the MySQL.jl A
2. 3.1.1
package for querying and manipulating data?
Narrate the steps in handle connection pooling and connection management A
3. 14.1.1
when working with MySQL in Julia.
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

Steps to connect to a PostgreSQL database in Julia using the PostgreSQL.jl A


4. 3.1.2
package.
What are the specific features and functionalities provided by the A
5. 5.1.2
PostgreSQL.jl package for PostgreSQL database interactions in Julia?

LU-32 PyCall, JDBC Period: 2


LU Outcome(s) Level: A CO Number:4
Work with Pycall, JDBC
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How can you use PyCall in Julia to call Python functions or libraries? U 3.1.1
2. Install and configure PyCall in Julia to work with Python. A 3.1.1
3. Write steps to pass data between Julia and Python using PyCall. U 5.1.2
4. What is JDBC (Java Database Connectivity) and how can I use it in Julia? U 3.1.1
5. Write steps to connect to a database using JDBC in Julia? A 15.1.2
How will JDBC in Julia to perform database transactions and handle connection A
6. 4.1.1
pooling?

LU-33 NoSQL datastores, Key-value systems, Document datastores Period: 1


LU Outcome(s) Level: A CO Number:4
1. Practice with NoSQL datastores
2. Work with key-value system and document datastores
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
What are the advantages of using NoSQL datastores over traditional relational R
1. 5.2.2
databases?
2. How can you connect to and interact with a key-value system in Julia? U 5.1.2
How can you perform basic operations such as storing and retrieving data in a U
3. 5.1.1
key-value system using Julia?
4. How can you work with document datastores in Julia? U 5.1.1
5. What are the common document datastores that can be used with Julia? U 3.1.2
Steps to perform advanced operations such as indexing and aggregation in A
6. 3.1.2
NoSQL datastores using Julia
What are the advantages of using NoSQL datastores over traditional relational U
7. 15.1.1
databases?

LU-34 RESTful interfacing, JSON Period: 1


LU Outcome(s) Level: A CO Number:4
Work with RESTful interfacing, JSON
Possible Assessment Questions:
S.
No Sample Questions BTL PI
.
1. How can you interface with RESTful APIs using Julia? U 5.2.2
What are the common packages or libraries available in Julia for working with A
2. 15.1.2
RESTful APIs?
How can you send HTTP requests and handle responses in Julia when A
3. 3.1.1
interfacing with RESTful APIs?
4. Steps to parse and generate JSON data in Julia. A 3.1.1
5. What are the packages or libraries available in Julia for JSON manipulation? U 3.1.1

LU-35 Web-based databases, Graphic systems Period: 1


LU Outcome(s) Level: A CO Number:4
B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

Practice with web-based databases, graphic systems


Possible Assessment Questions:
S.
No Sample Questions BTL PI
.
1. Work with web-based databases in Julia. A 5.12
2. What are the common web-based databases that can be used with Julia? R 3.1.1
Establish connections and perform database operations on web-based A
3. 15.1.2
databases using Julia?
4. Work with graphic systems in Julia. A 3.1.1
What are the packages or libraries available in Julia for creating and U
5. 5.1.1
manipulating graphics?

MODULE – V (NETWORKING)

This module discussed the basics of sockets and servers and well-known ports. This module
explains UDP, TDP sockets in Julia. It also deals with looking glass world echo server names pipes.
This module looks into working with the web, TCP web service and JuliaWeb group. This module
helps to work on quotes server and web sockets. This module describes about messaging, email-
twitter ad SMS and esendex. This module discusses different cloud services such as Amazon and
google cloud.

LU-36 Sockets and servers - Well-known ports Period: 1


LU Outcome(s) Level: A CO Number:5
use sockets and server, ports
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Use sockets in Julia to establish network connections. R 3.1.1
2. What are the common socket-related functions and APIs available in Julia? R 5.1.2
3. Steps to create a server in Julia to listen for incoming network connections. A 5.1.2
4. Steps involved in setting up a server using sockets in Julia? A 5.2.2
How can you handle incoming client requests and send responses from a A
5. 3.1.1
server in Julia?
6. What are well-known ports and how are they used in networking? U 3.1.1
7. Can you specify a specific port number when creating a server in Julia? U 5.1.2
What are the commonly used well-known ports for specific services or U
8. 5.2.2.
protocols?
9. How can you bind a socket to a specific port in Julia.? A 13.1.1
Steps to handle multiple simultaneous client connections in a server using A
10. 13.1.1
Julia's socket programming?

LU-37 UDP and TCP sockets in Julia Period: 2


LU Outcome(s) Level: A CO Number:5
Work with UDP and TCP sockets
S.
Sample Questions BTL PI
No.
1. Steps to create and use UDP sockets in Julia for network communication. A 3.1.1
What are the common functions and APIs available in Julia for working with R
2. 3.1.1
UDP sockets?
3. How can you send and receive UDP packets using Julia? A 5.1.2
How will you handle packet loss and retransmission in UDP socket A
4. 3.1.1
programming using Julia?

LU-38 A "Looking-Glass World" echo server Named pipes Period: 2


LU Outcome(s) Level: A CO Number:5
Work with UDP and TCP sockets
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

S.
Sample Questions BTL PI
No.
What is a "Looking-Glass World" echo server and how can I implement it using A
1. 5.1.2
Julia?
Narrate the steps to create and use TCP sockets in Julia for reliable, A
2. 13.1.1
connection-oriented communication.
What are the common functions and APIs available in Julia for working with U
3. 3.1.1
TCP sockets?

LU-39 Working with the Web - A TCP web service - The JuliaWeb group Period: 2
LU Outcome(s) Level: A CO Number:5
Work with web, TCP service and Juliaweb group
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How can you work with web technologies and protocols in Julia? A 3.1.1
What are the common packages or libraries available in Julia for web U
2. 3.1.1
development?
3. Create a TCP web service using Julia. A 5.1.2
4. What are the steps involved in setting up a TCP web service in Julia? A 3.1.1
How can you handle incoming HTTP requests and send responses from a TCP A
5. 3.1.1
web service in Julia?
Steps to handle different HTTP methods (GET, POST, etc.) in a TCP web A
6. 5.1.2
service using Julia?
What is the JuliaWeb group and what are its contributions to web development U
7. 3.1.1
in Julia?
How can you utilize the packages or tools developed by the JuliaWeb group in U
8. 4.1.1
my web projects?
What are some best practices or tips for building efficient and secure web U
9. 5.1.2
applications using Julia?
How can you integrate other web technologies, such as HTML, CSS, and A
10. 5.1.1
JavaScript, into my Julia web applications?

LU-40 The quotes server - Web Sockets Period: 1


LU Outcome(s) Level: A CO Number:5
Practice with quotes server and web sockets
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. What is the quotes server and how can you implement it using Julia? U 3.1.1
2. How can you create a WebSocket server in Julia? U 3.1.1
What are the common packages or libraries available in Julia for working with U
3. 5.1.2
WebSocket’s?
What are some common use cases or applications of WebSocket technology in U
4. 5.1.2
web development?
Steps to implement bidirectional communication between a Julia WebSocket A
5. 5.1.2
server and clients?
What are some best practices for scaling and managing WebSocket A
6. 3.1.1
connections in Julia?
7. Integrate WebSocket functionality into my existing Julia web applications. A 5.1.2

LU-41 Messaging - E-mail - Twitter - SMS and esendex Period: 2


B.E. Computer Science and Engineering –VII Semester - Instructional System Design (2025-26)

LU Outcome(s) Level: A CO Number:5


Work with messaging, email, twitter, SMS and esendex
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How can you send and receive messages using Julia? R 3.1.1
What are the common packages or libraries available in Julia for messaging A
2. 15.1.2
functionality?
3. Steps to send emails programmatically using Julia? A 5.1.2
4. What are the steps involved in configuring and sending emails from Julia? A 3.1.1
5. How can you integrate with Twitter to send and receive tweets using Julia? U 3.1.1
What are the common Twitter APIs or packages available in Julia for U
6. 5.1.2
interacting with the Twitter platform?
How can I integrate with the Esendex API to send and receive SMS messages A
7. 3.1.1
using Julia?
What are the specific features and functionalities provided by the Esendex U
8. 5.1.2
package for SMS messaging in Julia?

LU-42 Cloud services, Introducing Amazon Web Services Period: 1


LU Outcome(s) Level: A CO Number:5
Use cloud services and Amazon web services
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Steps to interact with cloud services using Julia. R 3.1.1
2. How can you integrate Julia with Amazon Web Services (AWS)? U 3.1.1
3. Authenticate and authorize access to AWS services from Julia. U 14.1.1
Steps to perform common operations such as creating and managing EC2 R
4. 5.1.2
instances using Julia and AWS.
5. How can you deploy Julia applications or services on AWS? 14.1.1

LU-43 The AWS.jl package Period: 1


LU Outcome(s) Level: A CO Number:5
Practice with AWS.jl package
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. Write the steps to install and import the AWS.jl package in Julia. R 13.1.1
What are the main functionalities provided by the AWS.jl package for U
2. 5.1.1
interacting with AWS services?
How can you create and manage AWS resources such as EC2 instances or S3 A
3. 1.4.1
buckets using the AWS.jl package?
Can you perform operations like uploading, downloading, or listing objects in A
4. 15.1.2
an S3 bucket using the AWS.jl package?
What are the available APIs or functions in the AWS.jl package for different U
5. 5.1.2
AWS services?
Can you make use of AWS SDKs or libraries directly within the AWS.jl package U
6. 3.1.1
in Julia?

LU-44 The Google Cloud Period: 1


LU Outcome(s) Level: A CO Number:4
Work with Google Cloud
Possible Assessment Questions:
S.
Sample Questions BTL PI
No.
1. How can you interact with Google Cloud services using Julia? A 5.1.1
Are there any specific packages or libraries available in Julia for working with U
2. 5.1.2
Google Cloud?
Steps to perform operations such as creating and managing Compute Engine A
3. 13.1.1
instances using Julia and Google Cloud.
How can you work with Google Cloud Pub/Sub for message-based A
4. 13.1.1
communication in Julia?
MEPCO Schlenk Engineering College (Autonomous), Sivakasi

Are there any specific APIs or functions available in Julia for interacting with U
5. 1.4.1
Google Cloud services?
6. How can you deploy Julia applications or services on Google Cloud? A 5.1.1

You might also like