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

Lines of code

on

  • 668 views

 

Statistics

Views

Total Views
668
Views on SlideShare
668
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 Lines of code Document Transcript

  • 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?
    • Distinguish between executable lines of code and comments
    • Why do we measure software?
    Experiment<br />
    • Locate the program that has to be measured
    • Format the program properly, as per syntax
    • Read the file line by line
    • If the starting character is a comment such as ‘ or // or an empty line, then move to the next line
    • Increment the counter if the line is not commented.
    • If EOF encountered, display the total count of lines
    Post-experiment viva question<br />
    • What are logical source code lines?
    • Why is size an important measure of software?
    • Why are comments important for a program?