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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Lines of code

  • 364 views
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
364
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
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?