Your SlideShare is downloading. ×
Lines of code
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Lines of code

369
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
369
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Lines of Code<br />AIM: Determining the executable lines of code of a program<br />Pre-experiment viva questions<br />
    • What is the size of software?
    • 2. Distinguish between executable lines of code and comments
    • 3. Why do we measure software?
    Experiment<br />
    • Locate the program that has to be measured
    • 4. Format the program properly, as per syntax
    • 5. Read the file line by line
    • 6. If the starting character is a comment such as ‘ or // or an empty line, then move to the next line
    • 7. Increment the counter if the line is not commented.
    • 8. If EOF encountered, display the total count of lines
    Post-experiment viva question<br />
    • What are logical source code lines?
    • 9. Why is size an important measure of software?
    • 10. Why are comments important for a program?