Lines of code
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Lines of code

on

  • 698 views

 

Statistics

Views

Total Views
698
Views on SlideShare
698
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Lines of code Document 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?