This topic-based on Compiler Design Subject, III B.Tech-CSE Students, Intermediate Code Generation is the 3rd module of compiler design subject, these topics totally related to the second subjective assignment of Academic Writing in Swayam online course.
A presentation on Intermediate Code generation in Compiler System. Provides introduction, types of intermediate code representation and commonly used intermediate code representation.
COURSE TITLE: SOFTWARE DEVELOPMENT VI
COURSE CODE: VIT 351
TOPICS COVERED:
ARRAYS
TYPES OF ARRAYS
MULTIDIMENSIONAL ARRAYS
CHARACTER HANDLING IN C
STRING HANDLING IN C
QUIZ SET 2
Structure Computer Programming with C-02 by Alamgir Hossain
Topics Covered: Introduction of a C program with Proper Exam. From this slide you will learn all about a c program.
This topic-based on Compiler Design Subject, III B.Tech-CSE Students, Intermediate Code Generation is the 3rd module of compiler design subject, these topics totally related to the second subjective assignment of Academic Writing in Swayam online course.
A presentation on Intermediate Code generation in Compiler System. Provides introduction, types of intermediate code representation and commonly used intermediate code representation.
COURSE TITLE: SOFTWARE DEVELOPMENT VI
COURSE CODE: VIT 351
TOPICS COVERED:
ARRAYS
TYPES OF ARRAYS
MULTIDIMENSIONAL ARRAYS
CHARACTER HANDLING IN C
STRING HANDLING IN C
QUIZ SET 2
Structure Computer Programming with C-02 by Alamgir Hossain
Topics Covered: Introduction of a C program with Proper Exam. From this slide you will learn all about a c program.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
2. Programming language: It is an artificial language
designed to communicate to a machine, particularly
a computer.
Programs: These are set of instructions written in
any programming language to serve some purpose &
are written by following the syntax of the
programming language.
C++: It was developed in 1980s at Bell Laboratory by
Bjarn Stroustrup as an Object Oriented Programming
Language.
OOP Programming: This approach views a problem in
terms of objects involved rather than procedure for
doing it.
3. Character set: A set of valid characters that a
language can recognize.
Letters: A to Z, a-z.
Digits: 0 to 9
Special Symbols: Space + - * / ^ ( ) { } [ ] = < > ,
‘ “ $ . ; : % ! & ? _(Underscore) # <= >= @
White Spaces: Blank Space, Horizontal Tab (à),
Carriage return(J), Newline, Form Feed
Other Characters: C++ can process any of the
256 ASCII characters as data or as literals
4. Tokens: The smallest unit of a program. They are
a. Keywords
b. Identifier
c. Literals(constants)
d. Operators
e. Punctuators
Keywords : they are reserved words meant for
specific purpose. They can not be used for giving
names to variables, arrays, functions etc.
For e.g, If , if else , int , float , case, switch
Identifiers: a name given to program elements such
as variables, arrays, functions etc.
Rule for giving a name to variable :
1. It must start with an alphabet or a character(_).
2. It cannot contain any other character other
than (_) but can contain numbers only after first
character.
5. Literals : (Often referred to as constants) are data
items that never change their values during a
program run.
Operators: Operators are tokens that trigger some
computation when applied to variables and other
object in an expression. They are
I/o : << and >>
Arithmetic : +, - , * , / , %
Increment/Decrement : ++ , - -
Relational : ==, <, >, <=, >=, !=
Logical : &&, ||, !
Conditional : ?
Punctuators : Also known as separators. They
enhance a program’s readability. For eg
[ ] , { } , ( ) , ; , : , * , = , #
6.
7. A graphic outline of a simplistic approach to show how programs
get developed.
Define the problem to be solvedSTEP1::
Design a solutionSTEP2::
Write a program that implements the solutionSTEP3::
Compile the programSTEP4::
Link object filesSTEP5::
Test & Debug programSTEP6::
8. /*Program to display area & perimeter of rectangle*/
#include<iostream.h>
void main()
{
int L,B,A,P;
L=6;
cout<<“Enter Length”<<endl;
cin>>L;
cout<<“Enter Breadth”<<endl;
cin>>B;
A=L*B;
P=2*(L+B);
cout<<“Area is ”<<A<<endl;
cout<<“Perimeter is ”<<P<<endl;
}
Preprocessor Directives
Comments
Function Declarator
Variable Declaration
Variable Initialisation
Displaying text on screen
Assigning entered value to L
Formula
Displaying result
Function Begin
Function ends
9. To save a file: F2
To run a program: Ctrl+F9
To view the output screen: Alt+F5
To exit from the TC++ editor: Alt+x
To exit from DOS prompt: Type exit
10. Next you have a summary of the basic fundamental data types in C++, as
well as the range of values that can be represented with each one:
Name Description Size Range*
char
Character or small
integer.
1
signed: -128 to 127
unsigned: 0 to 255
int Integer. 4
signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295
long int
(long)
Long integer. 4
signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295
float
Floating point
number.
4 +/- 3.4e +/- 38 (~7 digits)
11. Comments: are statements which are not compiled & are
used for programmer’s reference to describe the purpose of
statements or block of statements. It can be done by using
single line comment(//) and multi line comment(/*…..*/).
Header files: files that are included in C++ program to
incorporate the use of functions as required. for e.g.,
iostream.h : cin & cout are used to input value through
keyboard & display the message on display device.
Data Types: are the means to identify the type of data &
associated operations of handling it. They are of two types:
fundamental & derived data types.
Fundamental data types are:
char (stores single character) , int ( stores whole numbers) &
float/double (stores real numbers). declaration of
variable(syntax) :
data_type variable_name;
12. INPUT AND OUTPUT
cout (to be read as “SEE OUT”): Output Operator(<<) also
called insertion operator. It is used to direct a value to
standard output generally a Monitor.
cin (to be read as “SEE IN”): input operator(>>) also known as
extraction operator. It is used to read a value from standard
input generally a Keyboard.
//PROGRAM TO CALCULATE AREA OF TRIANGLE
#include<iostream.h>
#include<math.h>
void main ( )
{
float S1 ,S2 ,S3, S, area, perimeter;
cout<<“Enter sides of the triangle”<<endl;
cin>>S1>>S2>>S3;
S=(S1+S2+S3)/2.0;
area=sqrt(S*(S-S1)*(S-S2)*(S-S3));
perimeter=S1+S2+S3;
cout<<“Area=“<<Area;
cout<<“ Perimeter=“<<Perimeter;
}
13. Write a program to :
1. Calculate area & circumference of circle
2. Calculate Sum & Product of two numbers and display them.
3. Input a number in Meters and convert it in Centimeters
4. Calculate the square and cube of a number input by the user
// Area & Circumference of circle
#include<iostream.h>
#include<conio.h>
void main ( )
{
clrscr();
float pi=3.14 ,r , area, cir;
cout<<“Enter radius : ”<<endl;
cin>>r;
area=pi*r*r;
cir=2*pi*r;
cout<<“Area=“<<area;
cout<<“circumference=“<<cir;
getch();
}
//Sum & Product of 2 Numbers
#include<iostream.h>
#include<conio.h>
void main ( )
{
clrscr();
float a, b, sum, pr;
cout<<“Enter a and b: ”<<endl;
cin>>a>>b;
sum=a+b;
pr=a*b;
cout<<“sum=“<<sum;
cout<<“product =“<<pr;
getch();
}
14. // Input a number in Meters and convert it in Centimeters
#include<iostream.h>
#include<conio.h>
void main ( )
{
clrscr();
float num, cm;
cout<<“Enter a number in meters : ”<<endl;
cin>>num;
cm = num*100;
cout<<“The Entered number is”<<cm << “centimeters”;
getch();
}
15. To Find Errors in a C++ Program
/* A program to add two numbers
#include<iosteam.h>
void main ( );
{
clrscr();
int a, b, sum;
cout<<“Enter Value for a”<<endl;
cin>>A;
cout<<“Enter Value for b”;
cin>>b;
Sum=a+b;
cout<<“ Sum is =“<<sum
}
Errors are:
Comment not terminated / closed
Spelling of iosteam.h
‘ ; ’ not to used at the end of main
Header (conio.h) is not included
Variable is ‘a’ and not ‘A’
Variable is ‘sum’ and not ‘Sum’
End of Statement should be ‘ ; ’
16. PRACTICE QUESTIONS
Write a program to Convert the following:
1. Meter to Kilometer (1 Km = 1000 Meter)
2. Centigrade to Fahrenheit (F = C*(9/5)+32)
3. Feet into Meters(1 Meter = 3.28 Feet)
4. Hours into Minutes, Seconds (1 Hr = 60 Min = 3600 Sec)
17. ACTIVITY QUESTIONS 9A( Oct 13)
Write a program to
Get temperature in Centigrade to Fahrenheit
(F = C*9/5+32)
OR
Input three values from the user. Add & multiply them and
then display the output
Save it with your roll no and class. For Eg: 9A424
18. ACTIVITY QUESTIONS 9B( Oct 13)
Write a program to
Get temperature in Centigrade to Fahrenheit
(F = C*9/5+32)
OR
Input three values from the user. Add & multiply them and
then display the output
Save it with your roll no and class. For Eg: 9B255
19. ACTIVITY QUESTIONS 9C( Oct 13)
Write a program to
Get length in feet and then convert it into meters
(1 Meter = 3.28 Feet)
OR
Input two values from the user. Add & multiply them and
then display the output
Save it with your roll no and class. For Eg: 9A245
20. ACTIVITY QUESTIONS 9D( Oct 13)
Write a program to
Get length in feet and then convert it into meters
(1 Meter = 3.28 Feet)
OR
Input two values from the user. Add & multiply them and
then display the output
Save it with your roll no and class. For Eg: 9A245
21. ACTIVITY QUESTIONS 9E( Oct 13)
Write a program to
Get temperature in Centigrade to Fahrenheit
(F = C*9/5+32)
OR
Input three values from the user. Add & multiply them and
then display the output
Save it with your roll no and class. For Eg: 9B255