Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

1 CF(Lab)

Format Specifiers:
Format specifiers define the type of data to be printed on standard output. Format specifiers
are used whether you're printing formatted output with printf() or accepting input with
scanf().
Specifiers Used for
%c A single character
%d A decimal integer
%e or %E A floating point number in scientific notation
%f Floating point number for floats
%n Prints nothing
%s A string
%p An adress or pointer
%x 0r %X A hexadecimal integer
%o An octal
%% The % symbol
%u Integer unsigned decimal
%hi,%hu Short(signed),Short(unsigned)

Mechanical Engineering and CF:


In a mechanical engineering, the learning objectives of a course on computer fundamentals
aim to equip students with knowledge and skills related to the use of computers in
engineering practice. Here are some common learning objectives.
Understanding Computer Basics:Fundamental concepts such as hardware components (CPU,
memory, storage devices), software (operating systems, applications), input/output devices,
and basic computer operations.
Computer Programming: Introduce students to programming concepts and languages relevant
to mechanical engineering, such as MATLAB, Python, or C/C++. Develop skills in writing
simple programs to solve engineering problems.
Numerical Methods and Simulation: Learn how to use computational tools and numerical
methods to model, simulate, and analyze mechanical systems. Understand the limitations,
accuracy, and applicability of numerical techniques in solving engineering problems.
Computer-Aided Design (CAD): Familiarize students with CAD software packages like
AutoCAD and SolidWorks. Learn how to create 2D and 3D models, perform geometric
modeling, assembly design, and engineering drawings.
Computer-Aided Engineering (CAE): Introduce concepts of CAE software for analysis and
simulation of mechanical systems, including finite element analysis (FEA), computational
fluid dynamics (CFD), and thermal analysis. Understand how to interpret simulation results
and optimize designs.
2 CF(Lab)

Data Analysis and Visualization: Develop skills in processing, analyzing, and visualizing
engineering data using spreadsheet software (e.g., Excel) and data analysis tools (e.g.,
MATLAB, Python libraries like NumPy and Pandas). Interpret data trends and present
findings effectively.
Communication and Collaboration: Learn how to use communication and collaboration tools,
such as email, document sharing platforms, and project management software, to collaborate
with team members, share information, and manage engineering projects efficiently.
Integration with Mechanical Engineering Applications: Explore how computer fundamentals
intersect with various aspects of mechanical engineering, including design, analysis,
manufacturing, and automation.
3 CF(Lab)

Lab Task 1:
4 CF(Lab)

Lab Task 2
5 CF(Lab)

Lab Task 3:

You might also like